import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates Assured Workload. */ export declare class OrganizationWorkload extends pulumi.CustomResource { /** * Get an existing OrganizationWorkload resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OrganizationWorkload; /** * Returns true if the given object is an instance of OrganizationWorkload. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OrganizationWorkload; /** * Required. Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. */ readonly billingAccount: pulumi.Output; /** * Required. Immutable. Compliance Regime associated with this workload. */ readonly complianceRegime: pulumi.Output; /** * Immutable. The Workload creation timestamp. */ readonly createTime: pulumi.Output; /** * Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload */ readonly displayName: pulumi.Output; /** * Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations. */ readonly etag: pulumi.Output; /** * Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes. */ readonly kmsSettings: pulumi.Output; /** * Optional. Labels applied to the workload. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only. */ readonly name: pulumi.Output; /** * Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id} */ readonly provisionedResourcesParent: pulumi.Output; /** * The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only. */ readonly resources: pulumi.Output; /** * Create a OrganizationWorkload resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OrganizationWorkloadArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrganizationWorkload resource. */ export interface OrganizationWorkloadArgs { /** * Required. Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. */ readonly billingAccount?: pulumi.Input; /** * Required. Immutable. Compliance Regime associated with this workload. */ readonly complianceRegime?: pulumi.Input; /** * Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload */ readonly displayName?: pulumi.Input; /** * Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations. */ readonly etag?: pulumi.Input; /** * Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes. */ readonly kmsSettings?: pulumi.Input; /** * Optional. Labels applied to the workload. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; readonly locationsId: pulumi.Input; /** * Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only. */ readonly name?: pulumi.Input; readonly organizationsId: pulumi.Input; /** * Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id} */ readonly provisionedResourcesParent?: pulumi.Input; readonly workloadsId: pulumi.Input; }