Assured Workloads v1beta1 API - Class Workload.Types.ResourceSettings (2.0.0-beta07)

public sealed class Workload.Types.ResourceSettings : IMessage<Workload.Types.ResourceSettings>, IEquatable<Workload.Types.ResourceSettings>, IDeepCloneable<Workload.Types.ResourceSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Assured Workloads v1beta1 API class Workload.Types.ResourceSettings.

Represent the custom settings for the resources to be created.

Inheritance

object > Workload.Types.ResourceSettings

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

ResourceSettings()

public ResourceSettings()

ResourceSettings(ResourceSettings)

public ResourceSettings(Workload.Types.ResourceSettings other)
Parameter
NameDescription
otherWorkloadTypesResourceSettings

Properties

DisplayName

public string DisplayName { get; set; }

User-assigned resource display name. If not empty it will be used to create a resource with the specified name.

Property Value
TypeDescription
string

ResourceId

public string ResourceId { get; set; }

Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.

Property Value
TypeDescription
string

ResourceType

public Workload.Types.ResourceInfo.Types.ResourceType ResourceType { get; set; }

Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)

Property Value
TypeDescription
WorkloadTypesResourceInfoTypesResourceType