Class CreateWorkloadMappingRequest
Implements
Inherited Members
Namespace: Oci.ContainerengineService.Requests
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class CreateWorkloadMappingRequest : IOciRequest
Examples
Click here to see an example of how to use CreateWorkloadMapping request.
Properties
ClusterId
Declaration
[Required(ErrorMessage = "ClusterId is required.")]
[HttpConverter(TargetEnum.Path, "clusterId")]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the cluster. |
Remarks
Required
CreateWorkloadMappingDetails
Declaration
[Required(ErrorMessage = "CreateWorkloadMappingDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public CreateWorkloadMappingDetails CreateWorkloadMappingDetails { get; set; }
Property Value
Type | Description |
---|---|
CreateWorkloadMappingDetails | The details of the workloadMapping to be create. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }
Property Value
Type | Description |
---|---|
string | A token you supply to uniquely identify the request and provide idempotency if the request is retried. Idempotency tokens expire after 24 hours. |