Assured Workloads v1 API - Class CreateWorkloadRequest (2.2.0)

public sealed class CreateWorkloadRequest : IMessage<CreateWorkloadRequest>, IEquatable<CreateWorkloadRequest>, IDeepCloneable<CreateWorkloadRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Assured Workloads v1 API class CreateWorkloadRequest.

Request for creating a workload.

Inheritance

Object > CreateWorkloadRequest

Namespace

Google.Cloud.AssuredWorkloads.V1

Assembly

Google.Cloud.AssuredWorkloads.V1.dll

Constructors

CreateWorkloadRequest()

public CreateWorkloadRequest()

CreateWorkloadRequest(CreateWorkloadRequest)

public CreateWorkloadRequest(CreateWorkloadRequest other)
Parameter
NameDescription
otherCreateWorkloadRequest

Properties

ExternalId

public string ExternalId { get; set; }

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.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Workload

public Workload Workload { get; set; }

Required. Assured Workload to create

Property Value
TypeDescription
Workload