Show / Hide Table of Contents

Class Domain

The domain model that is associated with a tenancy.

Inheritance
object
Domain
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class Domain

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"}}

DomainName

Declaration
[Required(ErrorMessage = "DomainName is required.")]
[JsonProperty(PropertyName = "domainName")]
public string DomainName { get; set; }
Property Value
Type Description
string

The domain name.

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.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Domain.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Domain.LifecycleStateEnum?

Lifecycle state of the domain.

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 has started the registration process for this domain.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Domain.StatusEnum? Status { get; set; }
Property Value
Type Description
Domain.StatusEnum?

Status of the domain.

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
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Date-time when this domain 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 was last updated. An RFC 3339-formatted date and time string.

TxtRecord

Declaration
[Required(ErrorMessage = "TxtRecord is required.")]
[JsonProperty(PropertyName = "txtRecord")]
public string TxtRecord { get; set; }
Property Value
Type Description
string

The code that the owner of the domain will need to add as a TXT record to their domain.

Remarks

Required

In this article
Back to top