Workload class

Creates Assured Workload.

Constructors

Workload(String name, {WorkloadArgs? args, CustomResourceOptions? options})
Creates a new Workload. name The Pulumi resource name. args Arguments used to configure this Workload. The set of arguments for Workload. options Resource options controlling this resource's behavior.

Properties

billingAccount ↔ Output<String>
Optional. 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.
latefinal
childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
complianceRegime ↔ Output<String>
Immutable. Compliance Regime associated with this workload.
latefinal
complianceStatus ↔ Output<GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse>
Count of active Violations in the Workload.
latefinal
compliantButDisallowedServices ↔ Output<List<String>>
Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.
latefinal
createTime ↔ Output<String>
Immutable. The Workload creation timestamp.
latefinal
displayName ↔ Output<String>
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
latefinal
ekmProvisioningResponse ↔ Output<GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse>
Represents the Ekm Provisioning State of the given workload.
latefinal
enableSovereignControls ↔ Output<bool>
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
latefinal
etag ↔ Output<String>
Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.
latefinal
externalId ↔ Output<String?>
Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected → bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote → bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference → bool
Whether this instance represents a resource value returned over RPC.
finalinherited
kajEnrollmentState ↔ Output<String>
Represents the KAJ enrollment state of the given workload.
latefinal
kmsSettings ↔ Output<GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse>
Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
latefinal
labels ↔ Output<Map<String, String>>
Optional. Labels applied to the workload.
latefinal
location ↔ Output<String>
latefinal
name ↔ Output<String>
Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
latefinal
organizationId ↔ Output<String>
latefinal
partner ↔ Output<String>
Optional. Partner regime associated with this workload.
latefinal
partnerPermissions ↔ Output<GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse>
Optional. Permissions granted to the AW Partner SA account for the customer workload
latefinal
provisionedResourcesParent ↔ Output<String>
Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
latefinal
resourceMonitoringEnabled ↔ Output<bool>
Indicates whether resource monitoring is enabled for workload or not. It is true when Resource feed is subscribed to AWM topic and AWM Service Agent Role is binded to AW Service Account for resource Assured workload.
latefinal
resources ↔ Output<List<Map<String, dynamic>>>
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.
latefinal
resourceSettings ↔ Output<List<Map<String, dynamic>>>
Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saaEnrollmentResponse ↔ Output<GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse>
Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
latefinal
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
urn ↔ Output<String>
latefinalinherited
violationNotificationsEnabled ↔ Output<bool>
Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
latefinal

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() → String
Returns this resource's logical name.
inherited
getResourceType() → String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) → Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited