1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. vpc
  5. getDhcpOptionsSets
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.vpc.getDhcpOptionsSets

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

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);
Copy
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)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func GetDhcpOptionsSets(ctx *Context, args *GetDhcpOptionsSetsArgs, opts ...InvokeOption) (*GetDhcpOptionsSetsResult, error)
func GetDhcpOptionsSetsOutput(ctx *Context, args *GetDhcpOptionsSetsOutputArgs, opts ...InvokeOption) GetDhcpOptionsSetsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDhcpOptionsSetsResult> getDhcpOptionsSets(GetDhcpOptionsSetsArgs args, InvokeOptions options)
public static Output<GetDhcpOptionsSetsResult> getDhcpOptionsSets(GetDhcpOptionsSetsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:vpc/getDhcpOptionsSets:getDhcpOptionsSets
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DhcpOptionsSetName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<string>
A list of Dhcp Options Set IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Dhcp Options Set name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. 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.
DhcpOptionsSetName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. []string
A list of Dhcp Options Set IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Dhcp Options Set name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. 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.
dhcpOptionsSetName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<String>
A list of Dhcp Options Set IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Dhcp Options Set name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. 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.
dhcpOptionsSetName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string[]
A list of Dhcp Options Set IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Dhcp Options Set name.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. 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.
dhcp_options_set_name Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. Sequence[str]
A list of Dhcp Options Set IDs.
name_regex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.
dhcpOptionsSetName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<String>
A list of Dhcp Options Set IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Dhcp Options Set name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. 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.

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.AliCloud.Vpc.Outputs.GetDhcpOptionsSetsSet>
DhcpOptionsSetName string
DomainName string
NameRegex string
OutputFile string
Status string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Names []string
Sets []GetDhcpOptionsSetsSet
DhcpOptionsSetName string
DomainName string
NameRegex string
OutputFile string
Status string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
sets List<GetDhcpOptionsSetsSet>
dhcpOptionsSetName String
domainName String
nameRegex String
outputFile String
status String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
names string[]
sets GetDhcpOptionsSetsSet[]
dhcpOptionsSetName string
domainName string
nameRegex string
outputFile string
status string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
names Sequence[str]
sets Sequence[GetDhcpOptionsSetsSet]
dhcp_options_set_name str
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>
dhcpOptionsSetName String
domainName String
nameRegex String
outputFile String
status String

Supporting Types

GetDhcpOptionsSetsSet

AssociateVpcCount This property is required. int
The Number of VPCs bound by the DHCP option set.
DhcpOptionsSetDescription This property is required. 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://.
DhcpOptionsSetId This property is required. string
DhcpOptionsSetName This property is required. 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.
DomainName This property is required. 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 This property is required. string
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
Id This property is required. string
OwnerId This property is required. string
The ID of the account to which the DHCP options set belongs.
Status This property is required. 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.
AssociateVpcCount This property is required. int
The Number of VPCs bound by the DHCP option set.
DhcpOptionsSetDescription This property is required. 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://.
DhcpOptionsSetId This property is required. string
DhcpOptionsSetName This property is required. 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.
DomainName This property is required. 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 This property is required. string
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
Id This property is required. string
OwnerId This property is required. string
The ID of the account to which the DHCP options set belongs.
Status This property is required. 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.
associateVpcCount This property is required. Integer
The Number of VPCs bound by the DHCP option set.
dhcpOptionsSetDescription This property is required. 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://.
dhcpOptionsSetId This property is required. String
dhcpOptionsSetName This property is required. 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.
domainName This property is required. 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 This property is required. String
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
id This property is required. String
ownerId This property is required. String
The ID of the account to which the DHCP options set belongs.
status This property is required. 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.
associateVpcCount This property is required. number
The Number of VPCs bound by the DHCP option set.
dhcpOptionsSetDescription This property is required. 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://.
dhcpOptionsSetId This property is required. string
dhcpOptionsSetName This property is required. 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.
domainName This property is required. 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 This property is required. string
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
id This property is required. string
ownerId This property is required. string
The ID of the account to which the DHCP options set belongs.
status This property is required. 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_vpc_count This property is required. int
The Number of VPCs bound by the DHCP option set.
dhcp_options_set_description This property is required. 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_id This property is required. str
dhcp_options_set_name This property is required. 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 This property is required. 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 This property is required. str
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
id This property is required. str
owner_id This property is required. str
The ID of the account to which the DHCP options set belongs.
status This property is required. 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.
associateVpcCount This property is required. Number
The Number of VPCs bound by the DHCP option set.
dhcpOptionsSetDescription This property is required. 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://.
dhcpOptionsSetId This property is required. String
dhcpOptionsSetName This property is required. 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.
domainName This property is required. 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 This property is required. String
The DNS server IP addresses. Up to four DNS server IP addresses can be specified. IP addresses must be separated with commas (,).
id This property is required. String
ownerId This property is required. String
The ID of the account to which the DHCP options set belongs.
status This property is required. 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.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi