Show / Hide Table of Contents

Class CreateDomainDetails

The parameters for creating a domain.

Inheritance
object
CreateDomainDetails
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 CreateDomainDetails

Properties

CompartmentId

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

OCID of the tenancy.

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

IsGovernanceEnabled

Declaration
[JsonProperty(PropertyName = "isGovernanceEnabled")]
public bool? IsGovernanceEnabled { get; set; }
Property Value
Type Description
bool?

Indicates whether governance should be enabled for this domain. Defaults to false.

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.

In this article
Back to top