Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

DhcpOptionsSet

Provides a VPC Dhcp Options Set resource.

For information about VPC Dhcp Options Set and how to use it, see What is Dhcp Options Set.

NOTE: Available in v1.134.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.Vpc.DhcpOptionsSet("example", new AliCloud.Vpc.DhcpOptionsSetArgs
        {
            DhcpOptionsSetDescription = "example_value",
            DhcpOptionsSetName = "example_value",
            DomainName = "example.com",
            DomainNameServers = "100.100.2.136",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewDhcpOptionsSet(ctx, "example", &vpc.DhcpOptionsSetArgs{
			DhcpOptionsSetDescription: pulumi.String("example_value"),
			DhcpOptionsSetName:        pulumi.String("example_value"),
			DomainName:                pulumi.String("example.com"),
			DomainNameServers:         pulumi.String("100.100.2.136"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.DhcpOptionsSet;
import com.pulumi.alicloud.vpc.DhcpOptionsSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new DhcpOptionsSet("example", DhcpOptionsSetArgs.builder()        
            .dhcpOptionsSetDescription("example_value")
            .dhcpOptionsSetName("example_value")
            .domainName("example.com")
            .domainNameServers("100.100.2.136")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.vpc.DhcpOptionsSet("example",
    dhcp_options_set_description="example_value",
    dhcp_options_set_name="example_value",
    domain_name="example.com",
    domain_name_servers="100.100.2.136")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.vpc.DhcpOptionsSet("example", {
    dhcpOptionsSetDescription: "example_value",
    dhcpOptionsSetName: "example_value",
    domainName: "example.com",
    domainNameServers: "100.100.2.136",
});
resources:
  example:
    type: alicloud:vpc:DhcpOptionsSet
    properties:
      dhcpOptionsSetDescription: example_value
      dhcpOptionsSetName: example_value
      domainName: example.com
      domainNameServers: 100.100.2.136

Create a DhcpOptionsSet Resource

new DhcpOptionsSet(name: string, args?: DhcpOptionsSetArgs, opts?: CustomResourceOptions);
@overload
def DhcpOptionsSet(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   associate_vpcs: Optional[Sequence[DhcpOptionsSetAssociateVpcArgs]] = None,
                   dhcp_options_set_description: Optional[str] = None,
                   dhcp_options_set_name: Optional[str] = None,
                   domain_name: Optional[str] = None,
                   domain_name_servers: Optional[str] = None,
                   dry_run: Optional[bool] = None)
@overload
def DhcpOptionsSet(resource_name: str,
                   args: Optional[DhcpOptionsSetArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewDhcpOptionsSet(ctx *Context, name string, args *DhcpOptionsSetArgs, opts ...ResourceOption) (*DhcpOptionsSet, error)
public DhcpOptionsSet(string name, DhcpOptionsSetArgs? args = null, CustomResourceOptions? opts = null)
public DhcpOptionsSet(String name, DhcpOptionsSetArgs args)
public DhcpOptionsSet(String name, DhcpOptionsSetArgs args, CustomResourceOptions options)
type: alicloud:vpc:DhcpOptionsSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DhcpOptionsSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DhcpOptionsSetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DhcpOptionsSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DhcpOptionsSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DhcpOptionsSetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DhcpOptionsSet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DhcpOptionsSet resource accepts the following input properties:

AssociateVpcs List<Pulumi.AliCloud.Vpc.Inputs.DhcpOptionsSetAssociateVpcArgs>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

DhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

DhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

DomainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

DomainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

DryRun bool

Specifies whether to precheck this request only. Valid values: true or false.

AssociateVpcs []DhcpOptionsSetAssociateVpcArgs

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

DhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

DhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

DomainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

DomainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

DryRun bool

Specifies whether to precheck this request only. Valid values: true or false.

associateVpcs List<DhcpOptionsSetAssociateVpcArgs>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription String

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName String

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName String

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers String

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun Boolean

Specifies whether to precheck this request only. Valid values: true or false.

associateVpcs DhcpOptionsSetAssociateVpcArgs[]

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun boolean

Specifies whether to precheck this request only. Valid values: true or false.

associate_vpcs Sequence[DhcpOptionsSetAssociateVpcArgs]

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcp_options_set_description str

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcp_options_set_name str

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domain_name str

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domain_name_servers str

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dry_run bool

Specifies whether to precheck this request only. Valid values: true or false.

associateVpcs List<Property Map>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription String

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName String

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName String

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers String

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun Boolean

Specifies whether to precheck this request only. Valid values: true or false.

Outputs

All input properties are implicitly available as output properties. Additionally, the DhcpOptionsSet resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

OwnerId string

The ID of the account to which the DHCP options set belongs.

Status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

Id string

The provider-assigned unique ID for this managed resource.

OwnerId string

The ID of the account to which the DHCP options set belongs.

Status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

id String

The provider-assigned unique ID for this managed resource.

ownerId String

The ID of the account to which the DHCP options set belongs.

status String

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

id string

The provider-assigned unique ID for this managed resource.

ownerId string

The ID of the account to which the DHCP options set belongs.

status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

id str

The provider-assigned unique ID for this managed resource.

owner_id str

The ID of the account to which the DHCP options set belongs.

status str

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

id String

The provider-assigned unique ID for this managed resource.

ownerId String

The ID of the account to which the DHCP options set belongs.

status String

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

Look up an Existing DhcpOptionsSet Resource

Get an existing DhcpOptionsSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DhcpOptionsSetState, opts?: CustomResourceOptions): DhcpOptionsSet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        associate_vpcs: Optional[Sequence[DhcpOptionsSetAssociateVpcArgs]] = None,
        dhcp_options_set_description: Optional[str] = None,
        dhcp_options_set_name: Optional[str] = None,
        domain_name: Optional[str] = None,
        domain_name_servers: Optional[str] = None,
        dry_run: Optional[bool] = None,
        owner_id: Optional[str] = None,
        status: Optional[str] = None) -> DhcpOptionsSet
func GetDhcpOptionsSet(ctx *Context, name string, id IDInput, state *DhcpOptionsSetState, opts ...ResourceOption) (*DhcpOptionsSet, error)
public static DhcpOptionsSet Get(string name, Input<string> id, DhcpOptionsSetState? state, CustomResourceOptions? opts = null)
public static DhcpOptionsSet get(String name, Output<String> id, DhcpOptionsSetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AssociateVpcs List<Pulumi.AliCloud.Vpc.Inputs.DhcpOptionsSetAssociateVpcArgs>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

DhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

DhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

DomainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

DomainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

DryRun bool

Specifies whether to precheck this request only. Valid values: true or false.

OwnerId string

The ID of the account to which the DHCP options set belongs.

Status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

AssociateVpcs []DhcpOptionsSetAssociateVpcArgs

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

DhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

DhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

DomainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

DomainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

DryRun bool

Specifies whether to precheck this request only. Valid values: true or false.

OwnerId string

The ID of the account to which the DHCP options set belongs.

Status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

associateVpcs List<DhcpOptionsSetAssociateVpcArgs>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription String

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName String

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName String

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers String

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun Boolean

Specifies whether to precheck this request only. Valid values: true or false.

ownerId String

The ID of the account to which the DHCP options set belongs.

status String

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

associateVpcs DhcpOptionsSetAssociateVpcArgs[]

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription string

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName string

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName string

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers string

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun boolean

Specifies whether to precheck this request only. Valid values: true or false.

ownerId string

The ID of the account to which the DHCP options set belongs.

status string

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

associate_vpcs Sequence[DhcpOptionsSetAssociateVpcArgs]

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcp_options_set_description str

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcp_options_set_name str

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domain_name str

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domain_name_servers str

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dry_run bool

Specifies whether to precheck this request only. Valid values: true or false.

owner_id str

The ID of the account to which the DHCP options set belongs.

status str

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

associateVpcs List<Property Map>

AssociateVpcs. Number of VPCs that can be associated with each DHCP options set is 10. Field associate_vpcs has been deprecated from provider version 1.153.0. It will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

Deprecated:

Field 'associate_vpcs' has been deprecated from provider version 1.153.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_dhcp_options_set_attachment' to attach DhcpOptionsSet and Vpc.

dhcpOptionsSetDescription String

The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

dhcpOptionsSetName String

The name of the DHCP options set. The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.

domainName String

The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.

domainNameServers String

The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).Before you specify any DNS server IP address, all ECS instances in the associated VPC network use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.

dryRun Boolean

Specifies whether to precheck this request only. Valid values: true or false.

ownerId String

The ID of the account to which the DHCP options set belongs.

status String

The status of the DHCP options set. Valid values: Available, InUse or Pending. Available: The DHCP options set is available for use. InUse: The DHCP options set is in use. Pending: The DHCP options set is being configured.

Supporting Types

DhcpOptionsSetAssociateVpc

AssociateStatus string

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

VpcId string

The ID of the VPC network that is associated with the DHCP options set.

AssociateStatus string

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

VpcId string

The ID of the VPC network that is associated with the DHCP options set.

associateStatus String

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

vpcId String

The ID of the VPC network that is associated with the DHCP options set.

associateStatus string

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

vpcId string

The ID of the VPC network that is associated with the DHCP options set.

associate_status str

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

vpc_id str

The ID of the VPC network that is associated with the DHCP options set.

associateStatus String

The status of the VPC network that is associated with the DHCP options set. Valid values:InUse or Pending. InUse: The VPC network is in use. Pending: The VPC network is being configured.

vpcId String

The ID of the VPC network that is associated with the DHCP options set.

Import

VPC Dhcp Options Set can be imported using the id, e.g.

 $ pulumi import alicloud:vpc/dhcpOptionsSet:DhcpOptionsSet example <id>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.