Assured Workloads v1beta1 API - Class CreateWorkloadRequest (2.0.0-beta07)

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

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

Request for creating a workload.

Inheritance

object > CreateWorkloadRequest

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

CreateWorkloadRequest()

public CreateWorkloadRequest()

CreateWorkloadRequest(CreateWorkloadRequest)

public CreateWorkloadRequest(CreateWorkloadRequest other)
Parameter
Name Description
other CreateWorkloadRequest

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
Type Description
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
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Workload

public Workload Workload { get; set; }

Required. Assured Workload to create

Property Value
Type Description
Workload