Class SubscriptionMappingSummary
Subscription mapping information.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class SubscriptionMappingSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the compartment. Always a tenancy OCID. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the mapping between subscription and compartment identified by the tenancy. |
Remarks
Required
IsExplicitlyAssigned
Declaration
[Required(ErrorMessage = "IsExplicitlyAssigned is required.")]
[JsonProperty(PropertyName = "isExplicitlyAssigned")]
public bool? IsExplicitlyAssigned { get; set; }
Property Value
Type | Description |
---|---|
bool? | Denotes if the subscription is explicity assigned to the root compartment or tenancy. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public SubscriptionMapping.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SubscriptionMapping.LifecycleStateEnum? | Lifecycle state of the subscription mapping. |
Remarks
Required
SubscriptionId
Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the subscription. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date-time when subscription mapping was created. |
Remarks
Required
TimeTerminated
Declaration
[JsonProperty(PropertyName = "timeTerminated")]
public DateTime? TimeTerminated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date-time when subscription mapping was terminated. |
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date-time when subscription mapping was updated. |
Remarks
Required