Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateZoneDetails

The body for defining a new zone.

*Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Properties

compartmentId

compartmentId: string

The OCID of the compartment containing the zone.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {@code {"Operations": {"CostCenter": "42"}}}

Optional externalDownstreams

externalDownstreams: Array<ExternalDownstream>

External secondary servers for the zone. This field is currently not supported when {@code zoneType} is {@code SECONDARY} or {@code scope} is {@code PRIVATE}.

Optional externalMasters

externalMasters: Array<ExternalMaster>

External master servers for the zone. {@code externalMasters} becomes a required parameter when the {@code zoneType} value is {@code SECONDARY}.

Optional freeformTags

freeformTags: undefined | object

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {@code {"Department": "Finance"}}

Const migrationSource

migrationSource: string = "NONE"

name

name: string

The name of the zone.

Global zone names must be unique across all other zones within the realm. Private zone names must be unique within their view.

Unicode characters will be converted into punycode, see [RFC 3492](https://tools.ietf.org/html/rfc3492).

Optional scope

scope: model.Scope

The scope of the zone.

Optional viewId

viewId: undefined | string

This value will be null for zones in the global DNS.

Optional zoneType

zoneType: ZoneType

The type of the zone. Must be either {@code PRIMARY} or {@code SECONDARY}. {@code SECONDARY} is only supported for GLOBAL zones.

Methods

getDeserializedJsonObj

getJsonObj