Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.vpc.getNetworks
Explore with Pulumi AI
This data source provides VPCs available to the user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const vpcsDs = alicloud.vpc.getNetworks({
cidrBlock: "172.16.0.0/12",
status: "Available",
nameRegex: "^foo",
});
export const firstVpcId = vpcsDs.then(vpcsDs => vpcsDs.vpcs?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
vpcs_ds = alicloud.vpc.get_networks(cidr_block="172.16.0.0/12",
status="Available",
name_regex="^foo")
pulumi.export("firstVpcId", vpcs_ds.vpcs[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 {
vpcsDs, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
CidrBlock: pulumi.StringRef("172.16.0.0/12"),
Status: pulumi.StringRef("Available"),
NameRegex: pulumi.StringRef("^foo"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstVpcId", vpcsDs.Vpcs[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var vpcsDs = AliCloud.Vpc.GetNetworks.Invoke(new()
{
CidrBlock = "172.16.0.0/12",
Status = "Available",
NameRegex = "^foo",
});
return new Dictionary<string, object?>
{
["firstVpcId"] = vpcsDs.Apply(getNetworksResult => getNetworksResult.Vpcs[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.GetNetworksArgs;
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 vpcsDs = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.cidrBlock("172.16.0.0/12")
.status("Available")
.nameRegex("^foo")
.build());
ctx.export("firstVpcId", vpcsDs.applyValue(getNetworksResult -> getNetworksResult.vpcs()[0].id()));
}
}
variables:
vpcsDs:
fn::invoke:
function: alicloud:vpc:getNetworks
arguments:
cidrBlock: 172.16.0.0/12
status: Available
nameRegex: ^foo
outputs:
firstVpcId: ${vpcsDs.vpcs[0].id}
Using getNetworks
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 getNetworks(args: GetNetworksArgs, opts?: InvokeOptions): Promise<GetNetworksResult>
function getNetworksOutput(args: GetNetworksOutputArgs, opts?: InvokeOptions): Output<GetNetworksResult>
def get_networks(cidr_block: Optional[str] = None,
dhcp_options_set_id: Optional[str] = None,
dry_run: Optional[bool] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
is_default: Optional[bool] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
resource_group_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_name: Optional[str] = None,
vpc_owner_id: Optional[int] = None,
vswitch_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworksResult
def get_networks_output(cidr_block: Optional[pulumi.Input[str]] = None,
dhcp_options_set_id: Optional[pulumi.Input[str]] = None,
dry_run: Optional[pulumi.Input[bool]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
is_default: Optional[pulumi.Input[bool]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
vpc_name: Optional[pulumi.Input[str]] = None,
vpc_owner_id: Optional[pulumi.Input[int]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworksResult]
func GetNetworks(ctx *Context, args *GetNetworksArgs, opts ...InvokeOption) (*GetNetworksResult, error)
func GetNetworksOutput(ctx *Context, args *GetNetworksOutputArgs, opts ...InvokeOption) GetNetworksResultOutput
> Note: This function is named GetNetworks
in the Go SDK.
public static class GetNetworks
{
public static Task<GetNetworksResult> InvokeAsync(GetNetworksArgs args, InvokeOptions? opts = null)
public static Output<GetNetworksResult> Invoke(GetNetworksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworksResult> getNetworks(GetNetworksArgs args, InvokeOptions options)
public static Output<GetNetworksResult> getNetworks(GetNetworksArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:vpc/getNetworks:getNetworks
arguments:
# arguments dictionary
The following arguments are supported:
- Cidr
Block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Dhcp
Options Set Id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- Dry
Run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - Enable
Details bool - Default to
true
. Set it to true can output theroute_table_id
. - Ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- Is
Default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int - Resource
Group Id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- Status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpc
Name Changes to this property will trigger replacement.
- The name of the VPC.
- Vpc
Owner Id Changes to this property will trigger replacement.
- The owner ID of VPC.
- Vswitch
Id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
- Cidr
Block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Dhcp
Options Set Id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- Dry
Run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - Enable
Details bool - Default to
true
. Set it to true can output theroute_table_id
. - Ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- Is
Default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int - Resource
Group Id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- Status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - map[string]string
- A mapping of tags to assign to the resource.
- Vpc
Name Changes to this property will trigger replacement.
- The name of the VPC.
- Vpc
Owner Id Changes to this property will trigger replacement.
- The owner ID of VPC.
- Vswitch
Id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
- cidr
Block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dhcp
Options Set Id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- dry
Run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - enable
Details Boolean - Default to
true
. Set it to true can output theroute_table_id
. - ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- is
Default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Integer - page
Size Integer - resource
Group Id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - Map<String,String>
- A mapping of tags to assign to the resource.
- vpc
Name Changes to this property will trigger replacement.
- The name of the VPC.
- vpc
Owner Id Changes to this property will trigger replacement.
- The owner ID of VPC.
- vswitch
Id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
- cidr
Block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dhcp
Options Set Id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- dry
Run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - enable
Details boolean - Default to
true
. Set it to true can output theroute_table_id
. - ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- is
Default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - page
Number number - page
Size number - resource
Group Id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpc
Name Changes to this property will trigger replacement.
- The name of the VPC.
- vpc
Owner Id Changes to this property will trigger replacement.
- The owner ID of VPC.
- vswitch
Id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
- cidr_
block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dhcp_
options_ set_ id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- dry_
run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - enable_
details bool - Default to
true
. Set it to true can output theroute_table_id
. - ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- is_
default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- name_
regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - page_
number int - page_
size int - resource_
group_ id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- vpc_
name Changes to this property will trigger replacement.
- The name of the VPC.
- vpc_
owner_ id Changes to this property will trigger replacement.
- The owner ID of VPC.
- vswitch_
id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
- cidr
Block Changes to this property will trigger replacement.
- Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dhcp
Options Set Id Changes to this property will trigger replacement.
- The ID of dhcp options set.
- dry
Run Changes to this property will trigger replacement.
- Indicates whether to check this request only. Valid values:
true
andfalse
. - enable
Details Boolean - Default to
true
. Set it to true can output theroute_table_id
. - ids
Changes to this property will trigger replacement.
- A list of VPC IDs.
- is
Default Changes to this property will trigger replacement.
- Indicate whether the VPC is the default one in the specified region.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter VPCs by name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Number - page
Size Number - resource
Group Id Changes to this property will trigger replacement.
- The Id of resource group which VPC belongs.
- status
Changes to this property will trigger replacement.
- Filter results by a specific status. Valid value are
Pending
andAvailable
. - Map<String>
- A mapping of tags to assign to the resource.
- vpc
Name Changes to this property will trigger replacement.
- The name of the VPC.
- vpc
Owner Id Changes to this property will trigger replacement.
- The owner ID of VPC.
- vswitch
Id Changes to this property will trigger replacement.
- Filter results by the specified vSwitch.
getNetworks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of VPC IDs.
- Names List<string>
- A list of VPC names.
- Total
Count int - Vpcs
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Networks Vpc> - A list of VPCs. Each element contains the following attributes:
- Cidr
Block string - CIDR block of the VPC.
- Dhcp
Options stringSet Id - The ID of the DHCP options set.
- Dry
Run bool - Enable
Details bool - Is
Default bool - Whether the VPC is the default VPC in the region.
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Resource
Group stringId - Status string
- Status of the VPC.
- Dictionary<string, string>
- A map of tags assigned to the VPC.
- Vpc
Name string - Name of the VPC.
- Vpc
Owner intId - Vswitch
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of VPC IDs.
- Names []string
- A list of VPC names.
- Total
Count int - Vpcs
[]Get
Networks Vpc - A list of VPCs. Each element contains the following attributes:
- Cidr
Block string - CIDR block of the VPC.
- Dhcp
Options stringSet Id - The ID of the DHCP options set.
- Dry
Run bool - Enable
Details bool - Is
Default bool - Whether the VPC is the default VPC in the region.
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Resource
Group stringId - Status string
- Status of the VPC.
- map[string]string
- A map of tags assigned to the VPC.
- Vpc
Name string - Name of the VPC.
- Vpc
Owner intId - Vswitch
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of VPC IDs.
- names List<String>
- A list of VPC names.
- total
Count Integer - vpcs
List<Get
Networks Vpc> - A list of VPCs. Each element contains the following attributes:
- cidr
Block String - CIDR block of the VPC.
- dhcp
Options StringSet Id - The ID of the DHCP options set.
- dry
Run Boolean - enable
Details Boolean - is
Default Boolean - Whether the VPC is the default VPC in the region.
- name
Regex String - output
File String - page
Number Integer - page
Size Integer - resource
Group StringId - status String
- Status of the VPC.
- Map<String,String>
- A map of tags assigned to the VPC.
- vpc
Name String - Name of the VPC.
- vpc
Owner IntegerId - vswitch
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of VPC IDs.
- names string[]
- A list of VPC names.
- total
Count number - vpcs
Get
Networks Vpc[] - A list of VPCs. Each element contains the following attributes:
- cidr
Block string - CIDR block of the VPC.
- dhcp
Options stringSet Id - The ID of the DHCP options set.
- dry
Run boolean - enable
Details boolean - is
Default boolean - Whether the VPC is the default VPC in the region.
- name
Regex string - output
File string - page
Number number - page
Size number - resource
Group stringId - status string
- Status of the VPC.
- {[key: string]: string}
- A map of tags assigned to the VPC.
- vpc
Name string - Name of the VPC.
- vpc
Owner numberId - vswitch
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of VPC IDs.
- names Sequence[str]
- A list of VPC names.
- total_
count int - vpcs
Sequence[Get
Networks Vpc] - A list of VPCs. Each element contains the following attributes:
- cidr_
block str - CIDR block of the VPC.
- dhcp_
options_ strset_ id - The ID of the DHCP options set.
- dry_
run bool - enable_
details bool - is_
default bool - Whether the VPC is the default VPC in the region.
- name_
regex str - output_
file str - page_
number int - page_
size int - resource_
group_ strid - status str
- Status of the VPC.
- Mapping[str, str]
- A map of tags assigned to the VPC.
- vpc_
name str - Name of the VPC.
- vpc_
owner_ intid - vswitch_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of VPC IDs.
- names List<String>
- A list of VPC names.
- total
Count Number - vpcs List<Property Map>
- A list of VPCs. Each element contains the following attributes:
- cidr
Block String - CIDR block of the VPC.
- dhcp
Options StringSet Id - The ID of the DHCP options set.
- dry
Run Boolean - enable
Details Boolean - is
Default Boolean - Whether the VPC is the default VPC in the region.
- name
Regex String - output
File String - page
Number Number - page
Size Number - resource
Group StringId - status String
- Status of the VPC.
- Map<String>
- A map of tags assigned to the VPC.
- vpc
Name String - Name of the VPC.
- vpc
Owner NumberId - vswitch
Id String
Supporting Types
GetNetworksVpc
- Cidr
Block This property is required. string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Creation
Time This property is required. string - Time of creation.
- Description
This property is required. string - Description of the VPC
- Dhcp
Options Set Id This property is required. string - The ID of dhcp options set.
- Dhcp
Options Set Status This property is required. string - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - Dns
Hostname Status This property is required. string - Indicates whether the Domain Name System (DNS) feature is enabled.
- Id
This property is required. string - ID of the VPC.
- Ipv6Cidr
Block This property is required. string - The IPv6 CIDR block of the VPC.
- Is
Default This property is required. bool - Indicate whether the VPC is the default one in the specified region.
- Region
Id This property is required. string - ID of the region where the VPC is located.
- Resource
Group Id This property is required. string - The Id of resource group which VPC belongs.
- Route
Table Id This property is required. string - Route table ID of the VRouter.
- Router
Id This property is required. string - The ID of the VRouter.
- Secondary
Cidr Blocks This property is required. List<string> - A list of secondary IPv4 CIDR blocks of the VPC.
- Status
This property is required. string - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. Dictionary<string, string>- A mapping of tags to assign to the resource.
- User
Cidrs This property is required. List<string> - A list of user CIDRs.
- Vpc
Id This property is required. string - ID of the VPC.
- Vpc
Name This property is required. string - The name of the VPC.
- Vrouter
Id This property is required. string - ID of the VRouter.
- Vswitch
Ids This property is required. List<string> - List of vSwitch IDs in the specified VPC
- Cidr
Block This property is required. string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Creation
Time This property is required. string - Time of creation.
- Description
This property is required. string - Description of the VPC
- Dhcp
Options Set Id This property is required. string - The ID of dhcp options set.
- Dhcp
Options Set Status This property is required. string - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - Dns
Hostname Status This property is required. string - Indicates whether the Domain Name System (DNS) feature is enabled.
- Id
This property is required. string - ID of the VPC.
- Ipv6Cidr
Block This property is required. string - The IPv6 CIDR block of the VPC.
- Is
Default This property is required. bool - Indicate whether the VPC is the default one in the specified region.
- Region
Id This property is required. string - ID of the region where the VPC is located.
- Resource
Group Id This property is required. string - The Id of resource group which VPC belongs.
- Route
Table Id This property is required. string - Route table ID of the VRouter.
- Router
Id This property is required. string - The ID of the VRouter.
- Secondary
Cidr Blocks This property is required. []string - A list of secondary IPv4 CIDR blocks of the VPC.
- Status
This property is required. string - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. map[string]string- A mapping of tags to assign to the resource.
- User
Cidrs This property is required. []string - A list of user CIDRs.
- Vpc
Id This property is required. string - ID of the VPC.
- Vpc
Name This property is required. string - The name of the VPC.
- Vrouter
Id This property is required. string - ID of the VRouter.
- Vswitch
Ids This property is required. []string - List of vSwitch IDs in the specified VPC
- cidr
Block This property is required. String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time This property is required. String - Time of creation.
- description
This property is required. String - Description of the VPC
- dhcp
Options Set Id This property is required. String - The ID of dhcp options set.
- dhcp
Options Set Status This property is required. String - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - dns
Hostname Status This property is required. String - Indicates whether the Domain Name System (DNS) feature is enabled.
- id
This property is required. String - ID of the VPC.
- ipv6Cidr
Block This property is required. String - The IPv6 CIDR block of the VPC.
- is
Default This property is required. Boolean - Indicate whether the VPC is the default one in the specified region.
- region
Id This property is required. String - ID of the region where the VPC is located.
- resource
Group Id This property is required. String - The Id of resource group which VPC belongs.
- route
Table Id This property is required. String - Route table ID of the VRouter.
- router
Id This property is required. String - The ID of the VRouter.
- secondary
Cidr Blocks This property is required. List<String> - A list of secondary IPv4 CIDR blocks of the VPC.
- status
This property is required. String - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. Map<String,String>- A mapping of tags to assign to the resource.
- user
Cidrs This property is required. List<String> - A list of user CIDRs.
- vpc
Id This property is required. String - ID of the VPC.
- vpc
Name This property is required. String - The name of the VPC.
- vrouter
Id This property is required. String - ID of the VRouter.
- vswitch
Ids This property is required. List<String> - List of vSwitch IDs in the specified VPC
- cidr
Block This property is required. string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time This property is required. string - Time of creation.
- description
This property is required. string - Description of the VPC
- dhcp
Options Set Id This property is required. string - The ID of dhcp options set.
- dhcp
Options Set Status This property is required. string - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - dns
Hostname Status This property is required. string - Indicates whether the Domain Name System (DNS) feature is enabled.
- id
This property is required. string - ID of the VPC.
- ipv6Cidr
Block This property is required. string - The IPv6 CIDR block of the VPC.
- is
Default This property is required. boolean - Indicate whether the VPC is the default one in the specified region.
- region
Id This property is required. string - ID of the region where the VPC is located.
- resource
Group Id This property is required. string - The Id of resource group which VPC belongs.
- route
Table Id This property is required. string - Route table ID of the VRouter.
- router
Id This property is required. string - The ID of the VRouter.
- secondary
Cidr Blocks This property is required. string[] - A list of secondary IPv4 CIDR blocks of the VPC.
- status
This property is required. string - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. {[key: string]: string}- A mapping of tags to assign to the resource.
- user
Cidrs This property is required. string[] - A list of user CIDRs.
- vpc
Id This property is required. string - ID of the VPC.
- vpc
Name This property is required. string - The name of the VPC.
- vrouter
Id This property is required. string - ID of the VRouter.
- vswitch
Ids This property is required. string[] - List of vSwitch IDs in the specified VPC
- cidr_
block This property is required. str - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation_
time This property is required. str - Time of creation.
- description
This property is required. str - Description of the VPC
- dhcp_
options_ set_ id This property is required. str - The ID of dhcp options set.
- dhcp_
options_ set_ status This property is required. str - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - dns_
hostname_ status This property is required. str - Indicates whether the Domain Name System (DNS) feature is enabled.
- id
This property is required. str - ID of the VPC.
- ipv6_
cidr_ block This property is required. str - The IPv6 CIDR block of the VPC.
- is_
default This property is required. bool - Indicate whether the VPC is the default one in the specified region.
- region_
id This property is required. str - ID of the region where the VPC is located.
- resource_
group_ id This property is required. str - The Id of resource group which VPC belongs.
- route_
table_ id This property is required. str - Route table ID of the VRouter.
- router_
id This property is required. str - The ID of the VRouter.
- secondary_
cidr_ blocks This property is required. Sequence[str] - A list of secondary IPv4 CIDR blocks of the VPC.
- status
This property is required. str - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. Mapping[str, str]- A mapping of tags to assign to the resource.
- user_
cidrs This property is required. Sequence[str] - A list of user CIDRs.
- vpc_
id This property is required. str - ID of the VPC.
- vpc_
name This property is required. str - The name of the VPC.
- vrouter_
id This property is required. str - ID of the VRouter.
- vswitch_
ids This property is required. Sequence[str] - List of vSwitch IDs in the specified VPC
- cidr
Block This property is required. String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time This property is required. String - Time of creation.
- description
This property is required. String - Description of the VPC
- dhcp
Options Set Id This property is required. String - The ID of dhcp options set.
- dhcp
Options Set Status This property is required. String - The status of the DHCP options set. Valid values:
Available
,InUse
,Deleted
,Pending
. - dns
Hostname Status This property is required. String - Indicates whether the Domain Name System (DNS) feature is enabled.
- id
This property is required. String - ID of the VPC.
- ipv6Cidr
Block This property is required. String - The IPv6 CIDR block of the VPC.
- is
Default This property is required. Boolean - Indicate whether the VPC is the default one in the specified region.
- region
Id This property is required. String - ID of the region where the VPC is located.
- resource
Group Id This property is required. String - The Id of resource group which VPC belongs.
- route
Table Id This property is required. String - Route table ID of the VRouter.
- router
Id This property is required. String - The ID of the VRouter.
- secondary
Cidr Blocks This property is required. List<String> - A list of secondary IPv4 CIDR blocks of the VPC.
- status
This property is required. String - Filter results by a specific status. Valid value are
Pending
andAvailable
. This property is required. Map<String>- A mapping of tags to assign to the resource.
- user
Cidrs This property is required. List<String> - A list of user CIDRs.
- vpc
Id This property is required. String - ID of the VPC.
- vpc
Name This property is required. String - The name of the VPC.
- vrouter
Id This property is required. String - ID of the VRouter.
- vswitch
Ids This property is required. List<String> - List of vSwitch IDs in the specified VPC
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.