Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace DhcpOptions

A set of DHCP options. Used by the VCN to automatically provide configuration information to the instances when they boot up. There are two options you can set:

- DhcpDnsOption: Lets you specify how DNS (hostname resolution) is handled in the subnets in your VCN.

- DhcpSearchDomainOption: Lets you specify a search domain name to use for DNS queries.

For more information, see [DNS in Your Virtual Cloud Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) and [DHCP Options](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm).

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

Properties

compartmentId

compartmentId: string

The OCID of the compartment containing the set of DHCP options.

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 displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Optional domainNameType

domainNameType: DomainNameType

The search domain name type of DHCP options

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

id

id: string

Oracle ID (OCID) for the set of DHCP options.

lifecycleState

lifecycleState: LifecycleState

The current state of the set of DHCP options.

options

options: Array<DhcpOption>

The collection of individual DHCP options.

timeCreated

timeCreated: Date

Date and time the set of DHCP options was created, in the format defined by RFC3339.

Example: {@code 2016-08-25T21:10:29.600Z}

vcnId

vcnId: string

The OCID of the VCN the set of DHCP options belongs to.

Functions

getDeserializedJsonObj

getJsonObj