Class WorkloadMapping
The properties that define an workloadMapping.
Inherited Members
Namespace: Oci.ContainerengineService.Models
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class WorkloadMapping
Properties
ClusterId
Declaration
[Required(ErrorMessage = "ClusterId is required.")]
[JsonProperty(PropertyName = "clusterId")]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the cluster. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The ocid of the workloadMapping. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkloadMappingLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
WorkloadMappingLifecycleState? | The state of the workloadMapping. |
Remarks
Required
MappedCompartmentId
Declaration
[Required(ErrorMessage = "MappedCompartmentId is required.")]
[JsonProperty(PropertyName = "mappedCompartmentId")]
public string MappedCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the mapped customer compartment. |
Remarks
Required
MappedTenancyId
Declaration
[Required(ErrorMessage = "MappedTenancyId is required.")]
[JsonProperty(PropertyName = "mappedTenancyId")]
public string MappedTenancyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the mapped customer tenancy. |
Remarks
Required
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type | Description |
---|---|
string | The namespace of the workloadMapping. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the cluster was created. |
Remarks
Required