1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vpc
  5. getDhcpOptionsSets
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.vpc.getDhcpOptionsSets

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 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);
    
    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:

    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
    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 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
    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 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
    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 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
    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 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
    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 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
    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 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 int
    The Number of VPCs bound by the DHCP option set.
    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.
    AssociateVpcCount int
    The Number of VPCs bound by the DHCP option set.
    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.
    associateVpcCount Integer
    The Number of VPCs bound by the DHCP option set.
    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.
    associateVpcCount number
    The Number of VPCs bound by the DHCP option set.
    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_vpc_count int
    The Number of VPCs bound by the DHCP option set.
    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.
    associateVpcCount Number
    The Number of VPCs bound by the DHCP option set.
    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.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi