Class DomainGovernance
The model for a domain governance entity.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class DomainGovernance
Properties
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. Example: {"foo-namespace": {"bar-key": "value"}} |
DomainId
Declaration
[Required(ErrorMessage = "DomainId is required.")]
[JsonProperty(PropertyName = "domainId")]
public string DomainId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the domain associated with this domain governance entity. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the domain governance entity. |
Remarks
Required
IsGovernanceEnabled
Declaration
[JsonProperty(PropertyName = "isGovernanceEnabled")]
public bool? IsGovernanceEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether governance is enabled for this domain. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DomainGovernance.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DomainGovernance.LifecycleStateEnum? | Lifecycle state of the domain governance entity. |
Remarks
Required
OnsSubscriptionId
Declaration
[Required(ErrorMessage = "OnsSubscriptionId is required.")]
[JsonProperty(PropertyName = "onsSubscriptionId")]
public string OnsSubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The ONS subscription associated with this domain governance entity. |
Remarks
Required
OnsTopicId
Declaration
[Required(ErrorMessage = "OnsTopicId is required.")]
[JsonProperty(PropertyName = "onsTopicId")]
public string OnsTopicId { get; set; }
Property Value
Type | Description |
---|---|
string | The ONS topic associated with this domain governance entity. |
Remarks
Required
OwnerId
Declaration
[Required(ErrorMessage = "OwnerId is required.")]
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy that owns this domain governance entity. |
Remarks
Required
SubscriptionEmail
Declaration
[JsonProperty(PropertyName = "subscriptionEmail")]
public string SubscriptionEmail { get; set; }
Property Value
Type | Description |
---|---|
string | Email address to be used to notify the user, and that the ONS subscription will be created with. |
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
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date-time when this domain governance was created. An RFC 3339-formatted date and time string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date-time when this domain governance was last updated. An RFC 3339-formatted date and time string. |