public sealed class CreateWorkloadRequest : IMessage<CreateWorkloadRequest>, IEquatable<CreateWorkloadRequest>, IDeepCloneable<CreateWorkloadRequest>, IBufferMessage, IMessageReference documentation and code samples for the Assured Workloads v1 API class CreateWorkloadRequest.
Request for creating a workload.
Implements
IMessage<CreateWorkloadRequest>, IEquatable<CreateWorkloadRequest>, IDeepCloneable<CreateWorkloadRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.AssuredWorkloads.V1Assembly
Google.Cloud.AssuredWorkloads.V1.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 |
|