alicloud.vpc.DhcpOptionsSet
Explore with Pulumi AI
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
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = new AliCloud.Vpc.DhcpOptionsSet("example", new()
{
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 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:
- Associate
Vpcs List<Pulumi.Ali Cloud. Vpc. Inputs. Dhcp Options Set Associate Vpc Args> 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- Dhcp
Options stringSet Name 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 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.
- Domain
Name stringServers 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
and100.100.2.138
.- Dry
Run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.
- Associate
Vpcs []DhcpOptions Set Associate Vpc Args 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- Dhcp
Options stringSet Name 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 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.
- Domain
Name stringServers 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
and100.100.2.138
.- Dry
Run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.
- associate
Vpcs List<DhcpOptions Set Associate Vpc Args> 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.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 StringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options StringSet Name 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 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.
- domain
Name StringServers 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
and100.100.2.138
.- dry
Run Boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.
- associate
Vpcs DhcpOptions Set Associate Vpc Args[] 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options stringSet Name 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 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.
- domain
Name stringServers 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
and100.100.2.138
.- dry
Run boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.
- associate_
vpcs Sequence[DhcpOptions Set Associate Vpc Args] 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.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_ strset_ description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp_
options_ strset_ name 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_ strservers 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
and100.100.2.138
.- dry_
run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.
- associate
Vpcs 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.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 StringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options StringSet Name 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 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.
- domain
Name StringServers 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
and100.100.2.138
.- dry
Run Boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.
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.
- Owner
Id 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
orPending
.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.
- Owner
Id 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
orPending
.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.
- owner
Id 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
orPending
.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.
- owner
Id 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
orPending
.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
orPending
.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.
- owner
Id 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
orPending
.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 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.
- Associate
Vpcs List<Pulumi.Ali Cloud. Vpc. Inputs. Dhcp Options Set Associate Vpc Args> 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- Dhcp
Options stringSet Name 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 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.
- Domain
Name stringServers 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
and100.100.2.138
.- Dry
Run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.- Owner
Id 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
orPending
.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 []DhcpOptions Set Associate Vpc Args 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- Dhcp
Options stringSet Name 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 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.
- Domain
Name stringServers 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
and100.100.2.138
.- Dry
Run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.- Owner
Id 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
orPending
.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 List<DhcpOptions Set Associate Vpc Args> 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.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 StringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options StringSet Name 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 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.
- domain
Name StringServers 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
and100.100.2.138
.- dry
Run Boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.- owner
Id 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
orPending
.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 DhcpOptions Set Associate Vpc Args[] 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.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 stringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options stringSet Name 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 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.
- domain
Name stringServers 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
and100.100.2.138
.- dry
Run boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.- owner
Id 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
orPending
.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[DhcpOptions Set Associate Vpc Args] 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.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_ strset_ description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp_
options_ strset_ name 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_ strservers 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
and100.100.2.138
.- dry_
run bool Specifies whether to precheck this request only. Valid values:
true
orfalse
.- 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
orPending
.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 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.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 StringSet Description The description of the DHCP options set. The description must be 2 to 256 characters in length and cannot start with
http://
orhttps://
.- dhcp
Options StringSet Name 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 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.
- domain
Name StringServers 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
and100.100.2.138
.- dry
Run Boolean Specifies whether to precheck this request only. Valid values:
true
orfalse
.- owner
Id 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
orPending
.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
- Associate
Status string The status of the VPC network that is associated with the DHCP options set. Valid values:
InUse
orPending
.InUse
: The VPC network is in use.Pending
: The VPC network is being configured.- Vpc
Id string The ID of the VPC network that is associated with the DHCP options set.
- Associate
Status string The status of the VPC network that is associated with the DHCP options set. Valid values:
InUse
orPending
.InUse
: The VPC network is in use.Pending
: The VPC network is being configured.- Vpc
Id string The ID of the VPC network that is associated with the DHCP options set.
- associate
Status String The status of the VPC network that is associated with the DHCP options set. Valid values:
InUse
orPending
.InUse
: The VPC network is in use.Pending
: The VPC network is being configured.- vpc
Id String The ID of the VPC network that is associated with the DHCP options set.
- associate
Status string The status of the VPC network that is associated with the DHCP options set. Valid values:
InUse
orPending
.InUse
: The VPC network is in use.Pending
: The VPC network is being configured.- vpc
Id 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
orPending
.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.
- associate
Status String The status of the VPC network that is associated with the DHCP options set. Valid values:
InUse
orPending
.InUse
: The VPC network is in use.Pending
: The VPC network is being configured.- vpc
Id 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
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.