Class TenancyAttachmentSummary
Summary of the tenancy attachment.
Inherited Members
Namespace: Oci.GovernancerulescontrolplaneService.Models
Assembly: OCI.DotNetSDK.Governancerulescontrolplane.dll
Syntax
public class TenancyAttachmentSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle ID (OCID) of the root compartment containing the tenancy attachment. |
Remarks
Required
GovernanceRuleId
Declaration
[Required(ErrorMessage = "GovernanceRuleId is required.")]
[JsonProperty(PropertyName = "governanceRuleId")]
public string GovernanceRuleId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle ID (OCID) of the governance rule. Every tenancy attachment is associated with a governance rule. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle ID (OCID) of the tenancy attachment. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public TenancyAttachment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
TenancyAttachment.LifecycleStateEnum? | The current state of the tenancy attachment. |
Remarks
Required
TenancyId
Declaration
[Required(ErrorMessage = "TenancyId is required.")]
[JsonProperty(PropertyName = "tenancyId")]
public string TenancyId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle ID (OCID) of the tenancy to which the governance rule is attached. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the tenancy attachment was created. An RFC3339 formatted datetime string.
|
Remarks
Required
TimeLastAttempted
Declaration
[JsonProperty(PropertyName = "timeLastAttempted")]
public DateTime? TimeLastAttempted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the tenancy attachment was last attempted. An RFC3339 formatted datetime string.
|
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the tenancy attachment was updated. An RFC3339 formatted datetime string.
|
Remarks
Required