Alibaba Cloud

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

getDhcpOptionsSets

This data source provides the Vpc Dhcp Options Sets of the current Alibaba Cloud user.

NOTE: Available in v1.134.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var ids = Output.Create(AliCloud.Vpc.GetDhcpOptionsSets.InvokeAsync(new AliCloud.Vpc.GetDhcpOptionsSetsArgs
        {
            Ids = 
            {
                "example_value",
            },
        }));
        this.VpcDhcpOptionsSetId1 = ids.Apply(ids => ids.Sets?[0]?.Id);
        var nameRegex = Output.Create(AliCloud.Vpc.GetDhcpOptionsSets.InvokeAsync(new AliCloud.Vpc.GetDhcpOptionsSetsArgs
        {
            NameRegex = "^my-DhcpOptionsSet",
        }));
        this.VpcDhcpOptionsSetId2 = nameRegex.Apply(nameRegex => nameRegex.Sets?[0]?.Id);
        var dhcpOptionsSetName = Output.Create(AliCloud.Vpc.GetDhcpOptionsSets.InvokeAsync(new AliCloud.Vpc.GetDhcpOptionsSetsArgs
        {
            DhcpOptionsSetName = "my-DhcpOptionsSet",
        }));
        this.VpcDhcpOptionsSetId3 = dhcpOptionsSetName.Apply(dhcpOptionsSetName => dhcpOptionsSetName.Sets?[0]?.Id);
        var domainName = Output.Create(AliCloud.Vpc.GetDhcpOptionsSets.InvokeAsync(new AliCloud.Vpc.GetDhcpOptionsSetsArgs
        {
            Ids = 
            {
                "example_value",
            },
            DomainName = "example.com",
        }));
        this.VpcDhcpOptionsSetId4 = domainName.Apply(domainName => domainName.Sets?[0]?.Id);
        var status = Output.Create(AliCloud.Vpc.GetDhcpOptionsSets.InvokeAsync(new AliCloud.Vpc.GetDhcpOptionsSetsArgs
        {
            Ids = 
            {
                "example_value",
            },
            Status = "Available",
        }));
        this.VpcDhcpOptionsSetId5 = status.Apply(status => status.Sets?[0]?.Id);
    }

    [Output("vpcDhcpOptionsSetId1")]
    public Output<string> VpcDhcpOptionsSetId1 { get; set; }
    [Output("vpcDhcpOptionsSetId2")]
    public Output<string> VpcDhcpOptionsSetId2 { get; set; }
    [Output("vpcDhcpOptionsSetId3")]
    public Output<string> VpcDhcpOptionsSetId3 { get; set; }
    [Output("vpcDhcpOptionsSetId4")]
    public Output<string> VpcDhcpOptionsSetId4 { get; set; }
    [Output("vpcDhcpOptionsSetId5")]
    public Output<string> VpcDhcpOptionsSetId5 { get; set; }
}
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
	})
}
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()));
    }
}
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)
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);
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:

DhcpOptionsSetName 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 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.

NameRegex string

A regex string to filter results by Dhcp Options Set name.

OutputFile string
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.

DhcpOptionsSetName 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 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.

NameRegex string

A regex string to filter results by Dhcp Options Set name.

OutputFile string
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.

dhcpOptionsSetName 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 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.

nameRegex String

A regex string to filter results by Dhcp Options Set name.

outputFile String
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.

dhcpOptionsSetName 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 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.

nameRegex string

A regex string to filter results by Dhcp Options Set name.

outputFile string
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.

dhcp_options_set_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 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
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.

dhcpOptionsSetName 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 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.

nameRegex String

A regex string to filter results by Dhcp Options Set name.

outputFile String
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.

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

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

AssociateVpcs.

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://.

DhcpOptionsSetId string
DhcpOptionsSetName 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 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 (,).

Id string
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 []GetDhcpOptionsSetsSetAssociateVpc

AssociateVpcs.

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://.

DhcpOptionsSetId string
DhcpOptionsSetName 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 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 (,).

Id string
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<GetDhcpOptionsSetsSetAssociateVpc>

AssociateVpcs.

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://.

dhcpOptionsSetId String
dhcpOptionsSetName 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 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 (,).

id String
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 GetDhcpOptionsSetsSetAssociateVpc[]

AssociateVpcs.

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://.

dhcpOptionsSetId string
dhcpOptionsSetName 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 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 (,).

id string
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[GetDhcpOptionsSetsSetAssociateVpc]

AssociateVpcs.

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_id str
dhcp_options_set_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 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 (,).

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 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.

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://.

dhcpOptionsSetId String
dhcpOptionsSetName 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 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 (,).

id String
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.

GetDhcpOptionsSetsSetAssociateVpc

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.

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.