Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.vpc.getDhcpOptionsSets
Explore with Pulumi AI
This data source provides the Vpc Dhcp Options Sets of the current Alibaba Cloud user.
NOTE: Available in v1.134.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.vpc.getDhcpOptionsSets({
ids: ["example_value"],
});
export const vpcDhcpOptionsSetId1 = ids.then(ids => ids.sets?.[0]?.id);
const nameRegex = alicloud.vpc.getDhcpOptionsSets({
nameRegex: "^my-DhcpOptionsSet",
});
export const vpcDhcpOptionsSetId2 = nameRegex.then(nameRegex => nameRegex.sets?.[0]?.id);
const dhcpOptionsSetName = alicloud.vpc.getDhcpOptionsSets({
dhcpOptionsSetName: "my-DhcpOptionsSet",
});
export const vpcDhcpOptionsSetId3 = dhcpOptionsSetName.then(dhcpOptionsSetName => dhcpOptionsSetName.sets?.[0]?.id);
const domainName = alicloud.vpc.getDhcpOptionsSets({
ids: ["example_value"],
domainName: "example.com",
});
export const vpcDhcpOptionsSetId4 = domainName.then(domainName => domainName.sets?.[0]?.id);
const status = alicloud.vpc.getDhcpOptionsSets({
ids: ["example_value"],
status: "Available",
});
export const vpcDhcpOptionsSetId5 = status.then(status => status.sets?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.vpc.get_dhcp_options_sets(ids=["example_value"])
pulumi.export("vpcDhcpOptionsSetId1", ids.sets[0].id)
name_regex = alicloud.vpc.get_dhcp_options_sets(name_regex="^my-DhcpOptionsSet")
pulumi.export("vpcDhcpOptionsSetId2", name_regex.sets[0].id)
dhcp_options_set_name = alicloud.vpc.get_dhcp_options_sets(dhcp_options_set_name="my-DhcpOptionsSet")
pulumi.export("vpcDhcpOptionsSetId3", dhcp_options_set_name.sets[0].id)
domain_name = alicloud.vpc.get_dhcp_options_sets(ids=["example_value"],
domain_name="example.com")
pulumi.export("vpcDhcpOptionsSetId4", domain_name.sets[0].id)
status = alicloud.vpc.get_dhcp_options_sets(ids=["example_value"],
status="Available")
pulumi.export("vpcDhcpOptionsSetId5", status.sets[0].id)
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 {
ids, err := vpc.GetDhcpOptionsSets(ctx, &vpc.GetDhcpOptionsSetsArgs{
Ids: []string{
"example_value",
},
}, nil)
if err != nil {
return err
}
ctx.Export("vpcDhcpOptionsSetId1", ids.Sets[0].Id)
nameRegex, err := vpc.GetDhcpOptionsSets(ctx, &vpc.GetDhcpOptionsSetsArgs{
NameRegex: pulumi.StringRef("^my-DhcpOptionsSet"),
}, nil)
if err != nil {
return err
}
ctx.Export("vpcDhcpOptionsSetId2", nameRegex.Sets[0].Id)
dhcpOptionsSetName, err := vpc.GetDhcpOptionsSets(ctx, &vpc.GetDhcpOptionsSetsArgs{
DhcpOptionsSetName: pulumi.StringRef("my-DhcpOptionsSet"),
}, nil)
if err != nil {
return err
}
ctx.Export("vpcDhcpOptionsSetId3", dhcpOptionsSetName.Sets[0].Id)
domainName, err := vpc.GetDhcpOptionsSets(ctx, &vpc.GetDhcpOptionsSetsArgs{
Ids: []string{
"example_value",
},
DomainName: pulumi.StringRef("example.com"),
}, nil)
if err != nil {
return err
}
ctx.Export("vpcDhcpOptionsSetId4", domainName.Sets[0].Id)
status, err := vpc.GetDhcpOptionsSets(ctx, &vpc.GetDhcpOptionsSetsArgs{
Ids: []string{
"example_value",
},
Status: pulumi.StringRef("Available"),
}, nil)
if err != nil {
return err
}
ctx.Export("vpcDhcpOptionsSetId5", status.Sets[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Vpc.GetDhcpOptionsSets.Invoke(new()
{
Ids = new[]
{
"example_value",
},
});
var nameRegex = AliCloud.Vpc.GetDhcpOptionsSets.Invoke(new()
{
NameRegex = "^my-DhcpOptionsSet",
});
var dhcpOptionsSetName = AliCloud.Vpc.GetDhcpOptionsSets.Invoke(new()
{
DhcpOptionsSetName = "my-DhcpOptionsSet",
});
var domainName = AliCloud.Vpc.GetDhcpOptionsSets.Invoke(new()
{
Ids = new[]
{
"example_value",
},
DomainName = "example.com",
});
var status = AliCloud.Vpc.GetDhcpOptionsSets.Invoke(new()
{
Ids = new[]
{
"example_value",
},
Status = "Available",
});
return new Dictionary<string, object?>
{
["vpcDhcpOptionsSetId1"] = ids.Apply(getDhcpOptionsSetsResult => getDhcpOptionsSetsResult.Sets[0]?.Id),
["vpcDhcpOptionsSetId2"] = nameRegex.Apply(getDhcpOptionsSetsResult => getDhcpOptionsSetsResult.Sets[0]?.Id),
["vpcDhcpOptionsSetId3"] = dhcpOptionsSetName.Apply(getDhcpOptionsSetsResult => getDhcpOptionsSetsResult.Sets[0]?.Id),
["vpcDhcpOptionsSetId4"] = domainName.Apply(getDhcpOptionsSetsResult => getDhcpOptionsSetsResult.Sets[0]?.Id),
["vpcDhcpOptionsSetId5"] = status.Apply(getDhcpOptionsSetsResult => getDhcpOptionsSetsResult.Sets[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetDhcpOptionsSetsArgs;
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) {
final var ids = VpcFunctions.getDhcpOptionsSets(GetDhcpOptionsSetsArgs.builder()
.ids("example_value")
.build());
ctx.export("vpcDhcpOptionsSetId1", ids.applyValue(getDhcpOptionsSetsResult -> getDhcpOptionsSetsResult.sets()[0].id()));
final var nameRegex = VpcFunctions.getDhcpOptionsSets(GetDhcpOptionsSetsArgs.builder()
.nameRegex("^my-DhcpOptionsSet")
.build());
ctx.export("vpcDhcpOptionsSetId2", nameRegex.applyValue(getDhcpOptionsSetsResult -> getDhcpOptionsSetsResult.sets()[0].id()));
final var dhcpOptionsSetName = VpcFunctions.getDhcpOptionsSets(GetDhcpOptionsSetsArgs.builder()
.dhcpOptionsSetName("my-DhcpOptionsSet")
.build());
ctx.export("vpcDhcpOptionsSetId3", dhcpOptionsSetName.applyValue(getDhcpOptionsSetsResult -> getDhcpOptionsSetsResult.sets()[0].id()));
final var domainName = VpcFunctions.getDhcpOptionsSets(GetDhcpOptionsSetsArgs.builder()
.ids("example_value")
.domainName("example.com")
.build());
ctx.export("vpcDhcpOptionsSetId4", domainName.applyValue(getDhcpOptionsSetsResult -> getDhcpOptionsSetsResult.sets()[0].id()));
final var status = VpcFunctions.getDhcpOptionsSets(GetDhcpOptionsSetsArgs.builder()
.ids("example_value")
.status("Available")
.build());
ctx.export("vpcDhcpOptionsSetId5", status.applyValue(getDhcpOptionsSetsResult -> getDhcpOptionsSetsResult.sets()[0].id()));
}
}
variables:
ids:
fn::invoke:
Function: alicloud:vpc:getDhcpOptionsSets
Arguments:
ids:
- example_value
nameRegex:
fn::invoke:
Function: alicloud:vpc:getDhcpOptionsSets
Arguments:
nameRegex: ^my-DhcpOptionsSet
dhcpOptionsSetName:
fn::invoke:
Function: alicloud:vpc:getDhcpOptionsSets
Arguments:
dhcpOptionsSetName: my-DhcpOptionsSet
domainName:
fn::invoke:
Function: alicloud:vpc:getDhcpOptionsSets
Arguments:
ids:
- example_value
domainName: example.com
status:
fn::invoke:
Function: alicloud:vpc:getDhcpOptionsSets
Arguments:
ids:
- example_value
status: Available
outputs:
vpcDhcpOptionsSetId1: ${ids.sets[0].id}
vpcDhcpOptionsSetId2: ${nameRegex.sets[0].id}
vpcDhcpOptionsSetId3: ${dhcpOptionsSetName.sets[0].id}
vpcDhcpOptionsSetId4: ${domainName.sets[0].id}
vpcDhcpOptionsSetId5: ${status.sets[0].id}
Using getDhcpOptionsSets
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDhcpOptionsSets(args: GetDhcpOptionsSetsArgs, opts?: InvokeOptions): Promise<GetDhcpOptionsSetsResult>
function getDhcpOptionsSetsOutput(args: GetDhcpOptionsSetsOutputArgs, opts?: InvokeOptions): Output<GetDhcpOptionsSetsResult>
def get_dhcp_options_sets(dhcp_options_set_name: Optional[str] = None,
domain_name: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDhcpOptionsSetsResult
def get_dhcp_options_sets_output(dhcp_options_set_name: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDhcpOptionsSetsResult]
func GetDhcpOptionsSets(ctx *Context, args *GetDhcpOptionsSetsArgs, opts ...InvokeOption) (*GetDhcpOptionsSetsResult, error)
func GetDhcpOptionsSetsOutput(ctx *Context, args *GetDhcpOptionsSetsOutputArgs, opts ...InvokeOption) GetDhcpOptionsSetsResultOutput
> Note: This function is named GetDhcpOptionsSets
in the Go SDK.
public static class GetDhcpOptionsSets
{
public static Task<GetDhcpOptionsSetsResult> InvokeAsync(GetDhcpOptionsSetsArgs args, InvokeOptions? opts = null)
public static Output<GetDhcpOptionsSetsResult> Invoke(GetDhcpOptionsSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDhcpOptionsSetsResult> getDhcpOptionsSets(GetDhcpOptionsSetsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:vpc/getDhcpOptionsSets:getDhcpOptionsSets
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- Ids List<string>
- A list of Dhcp Options Set IDs.
- Name
Regex string - A regex string to filter results by Dhcp Options Set name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - 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.
- 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.
- Ids []string
- A list of Dhcp Options Set IDs.
- Name
Regex string - A regex string to filter results by Dhcp Options Set name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - 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.
- 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.
- ids List<String>
- A list of Dhcp Options Set IDs.
- name
Regex String - A regex string to filter results by Dhcp Options Set name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - 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.
- 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.
- ids string[]
- A list of Dhcp Options Set IDs.
- name
Regex string - A regex string to filter results by Dhcp Options Set name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - 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.
- 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.
- ids Sequence[str]
- A list of Dhcp Options Set IDs.
- name_
regex str - A regex string to filter results by Dhcp Options Set name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - 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.
- 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.
- ids List<String>
- A list of Dhcp Options Set IDs.
- name
Regex String - A regex string to filter results by Dhcp Options Set name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - 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.
getDhcpOptionsSets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Sets
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Dhcp Options Sets Set> - Dhcp
Options stringSet Name - Domain
Name string - Name
Regex string - Output
File string - Status string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Sets
[]Get
Dhcp Options Sets Set - Dhcp
Options stringSet Name - Domain
Name string - Name
Regex string - Output
File string - Status string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sets
List<Get
Dhcp Options Sets Set> - dhcp
Options StringSet Name - domain
Name String - name
Regex String - output
File String - status String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- sets
Get
Dhcp Options Sets Set[] - dhcp
Options stringSet Name - domain
Name string - name
Regex string - output
File string - status string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- sets
Sequence[Get
Dhcp Options Sets Set] - dhcp_
options_ strset_ name - domain_
name str - name_
regex str - output_
file str - status str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sets List<Property Map>
- dhcp
Options StringSet Name - domain
Name String - name
Regex String - output
File String - status String
Supporting Types
GetDhcpOptionsSetsSet
- Associate
Vpc intCount - The Number of VPCs bound by the DHCP option set.
- 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 Id - Dhcp
Options stringSet Name - 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 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 (,).
- Id string
- 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
Vpc intCount - The Number of VPCs bound by the DHCP option set.
- 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 Id - Dhcp
Options stringSet Name - 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 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 (,).
- Id string
- 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
Vpc IntegerCount - The Number of VPCs bound by the DHCP option set.
- 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 Id - dhcp
Options StringSet Name - 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 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 (,).
- id String
- 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
Vpc numberCount - The Number of VPCs bound by the DHCP option set.
- 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 Id - dhcp
Options stringSet Name - 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 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 (,).
- id string
- 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_
vpc_ intcount - The Number of VPCs bound by the DHCP option set.
- 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_ id - dhcp_
options_ strset_ name - 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 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 (,).
- id str
- 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
Vpc NumberCount - The Number of VPCs bound by the DHCP option set.
- 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 Id - dhcp
Options StringSet Name - 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 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 (,).
- id String
- 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.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.