Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.vpc.getSwitches
Explore with Pulumi AI
This data source provides a list of VSwitches owned by an Alibaba Cloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "vswitchDatasourceName";
const default = alicloud.getZones({});
const vpc = new alicloud.vpc.Network("vpc", {
cidrBlock: "172.16.0.0/16",
vpcName: name,
});
const vswitch = new alicloud.vpc.Switch("vswitch", {
vswitchName: name,
cidrBlock: "172.16.0.0/24",
vpcId: vpc.id,
availabilityZone: _default.then(_default => _default.zones?.[0]?.id),
});
const defaultGetSwitches = alicloud.vpc.getSwitchesOutput({
nameRegex: vswitch.vswitchName,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "vswitchDatasourceName"
default = alicloud.get_zones()
vpc = alicloud.vpc.Network("vpc",
cidr_block="172.16.0.0/16",
vpc_name=name)
vswitch = alicloud.vpc.Switch("vswitch",
vswitch_name=name,
cidr_block="172.16.0.0/24",
vpc_id=vpc.id,
availability_zone=default.zones[0].id)
default_get_switches = alicloud.vpc.get_switches_output(name_regex=vswitch.vswitch_name)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "vswitchDatasourceName"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := alicloud.GetZones(ctx, nil, nil)
if err != nil {
return err
}
vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.16.0.0/16"),
VpcName: pulumi.String(name),
})
if err != nil {
return err
}
vswitch, err := vpc.NewSwitch(ctx, "vswitch", &vpc.SwitchArgs{
VswitchName: pulumi.String(name),
CidrBlock: pulumi.String("172.16.0.0/24"),
VpcId: vpc.ID(),
AvailabilityZone: pulumi.String(_default.Zones[0].Id),
})
if err != nil {
return err
}
_ = vpc.GetSwitchesOutput(ctx, vpc.GetSwitchesOutputArgs{
NameRegex: vswitch.VswitchName,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "vswitchDatasourceName";
var @default = AliCloud.GetZones.Invoke();
var vpc = new AliCloud.Vpc.Network("vpc", new()
{
CidrBlock = "172.16.0.0/16",
VpcName = name,
});
var vswitch = new AliCloud.Vpc.Switch("vswitch", new()
{
VswitchName = name,
CidrBlock = "172.16.0.0/24",
VpcId = vpc.Id,
AvailabilityZone = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
});
var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
{
NameRegex = vswitch.VswitchName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("vswitchDatasourceName");
final var default = AlicloudFunctions.getZones();
var vpc = new Network("vpc", NetworkArgs.builder()
.cidrBlock("172.16.0.0/16")
.vpcName(name)
.build());
var vswitch = new Switch("vswitch", SwitchArgs.builder()
.vswitchName(name)
.cidrBlock("172.16.0.0/24")
.vpcId(vpc.id())
.availabilityZone(default_.zones()[0].id())
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.nameRegex(vswitch.vswitchName())
.build());
}
}
configuration:
name:
type: string
default: vswitchDatasourceName
resources:
vpc:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/16
vpcName: ${name}
vswitch:
type: alicloud:vpc:Switch
properties:
vswitchName: ${name}
cidrBlock: 172.16.0.0/24
vpcId: ${vpc.id}
availabilityZone: ${default.zones[0].id}
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments: {}
defaultGetSwitches:
fn::invoke:
Function: alicloud:vpc:getSwitches
Arguments:
nameRegex: ${vswitch.vswitchName}
Using getSwitches
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 getSwitches(args: GetSwitchesArgs, opts?: InvokeOptions): Promise<GetSwitchesResult>
function getSwitchesOutput(args: GetSwitchesOutputArgs, opts?: InvokeOptions): Output<GetSwitchesResult>
def get_switches(cidr_block: Optional[str] = None,
dry_run: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
is_default: Optional[bool] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
resource_group_id: Optional[str] = None,
route_table_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
vpc_id: Optional[str] = None,
vswitch_name: Optional[str] = None,
vswitch_owner_id: Optional[int] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSwitchesResult
def get_switches_output(cidr_block: Optional[pulumi.Input[str]] = None,
dry_run: 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,
resource_group_id: Optional[pulumi.Input[str]] = None,
route_table_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_name: Optional[pulumi.Input[str]] = None,
vswitch_owner_id: Optional[pulumi.Input[int]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSwitchesResult]
func GetSwitches(ctx *Context, args *GetSwitchesArgs, opts ...InvokeOption) (*GetSwitchesResult, error)
func GetSwitchesOutput(ctx *Context, args *GetSwitchesOutputArgs, opts ...InvokeOption) GetSwitchesResultOutput
> Note: This function is named GetSwitches
in the Go SDK.
public static class GetSwitches
{
public static Task<GetSwitchesResult> InvokeAsync(GetSwitchesArgs args, InvokeOptions? opts = null)
public static Output<GetSwitchesResult> Invoke(GetSwitchesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSwitchesResult> getSwitches(GetSwitchesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:vpc/getSwitches:getSwitches
arguments:
# arguments dictionary
The following arguments are supported:
- Cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Dry
Run bool - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - Ids List<string>
- A list of VSwitch IDs.
- Is
Default bool - Indicate whether the VSwitch is created by the system.
- Name
Regex string - A regex string to filter results by name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The Id of resource group which VSWitch belongs.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch. Valid values:
Available
andPending
. - Dictionary<string, object>
- A mapping of tags to assign to the resource.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Name string - The name of the VSwitch.
- Vswitch
Owner intId - The VSwitch owner id.
- Zone
Id string - The availability zone of the VSwitch.
- Cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Dry
Run bool - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - Ids []string
- A list of VSwitch IDs.
- Is
Default bool - Indicate whether the VSwitch is created by the system.
- Name
Regex string - A regex string to filter results by name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The Id of resource group which VSWitch belongs.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch. Valid values:
Available
andPending
. - map[string]interface{}
- A mapping of tags to assign to the resource.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Name string - The name of the VSwitch.
- Vswitch
Owner intId - The VSwitch owner id.
- Zone
Id string - The availability zone of the VSwitch.
- cidr
Block String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dry
Run Boolean - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - ids List<String>
- A list of VSwitch IDs.
- is
Default Boolean - Indicate whether the VSwitch is created by the system.
- name
Regex String - A regex string to filter results by name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The Id of resource group which VSWitch belongs.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch. Valid values:
Available
andPending
. - Map<String,Object>
- A mapping of tags to assign to the resource.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Name String - The name of the VSwitch.
- vswitch
Owner IntegerId - The VSwitch owner id.
- zone
Id String - The availability zone of the VSwitch.
- cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dry
Run boolean - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - ids string[]
- A list of VSwitch IDs.
- is
Default boolean - Indicate whether the VSwitch is created by the system.
- name
Regex string - A regex string to filter results by name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - resource
Group stringId - The Id of resource group which VSWitch belongs.
- route
Table stringId - The route table ID of the VSwitch.
- status string
- The status of the VSwitch. Valid values:
Available
andPending
. - {[key: string]: any}
- A mapping of tags to assign to the resource.
- vpc
Id string - ID of the VPC that owns the VSwitch.
- vswitch
Name string - The name of the VSwitch.
- vswitch
Owner numberId - The VSwitch owner id.
- zone
Id string - The availability zone of the VSwitch.
- cidr_
block str - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dry_
run bool - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - ids Sequence[str]
- A list of VSwitch IDs.
- is_
default bool - Indicate whether the VSwitch is created by the system.
- name_
regex str - A regex string to filter results by name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - resource_
group_ strid - The Id of resource group which VSWitch belongs.
- route_
table_ strid - The route table ID of the VSwitch.
- status str
- The status of the VSwitch. Valid values:
Available
andPending
. - Mapping[str, Any]
- A mapping of tags to assign to the resource.
- vpc_
id str - ID of the VPC that owns the VSwitch.
- vswitch_
name str - The name of the VSwitch.
- vswitch_
owner_ intid - The VSwitch owner id.
- zone_
id str - The availability zone of the VSwitch.
- cidr
Block String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- dry
Run Boolean - Specifies whether to precheck this request only. Valid values:
true
andfalse
. - ids List<String>
- A list of VSwitch IDs.
- is
Default Boolean - Indicate whether the VSwitch is created by the system.
- name
Regex String - A regex string to filter results by name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The Id of resource group which VSWitch belongs.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch. Valid values:
Available
andPending
. - Map<Any>
- A mapping of tags to assign to the resource.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Name String - The name of the VSwitch.
- vswitch
Owner NumberId - The VSwitch owner id.
- zone
Id String - The availability zone of the VSwitch.
getSwitches Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of VSwitch IDs.
- Names List<string>
- A list of VSwitch names.
- Vswitches
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Switches Vswitch> - A list of VSwitches. Each element contains the following attributes:
- Cidr
Block string - CIDR block of the VSwitch.
- Dry
Run bool - Is
Default bool - Whether the VSwitch is the default one in the region.
- Name
Regex string - Output
File string - Resource
Group stringId - The resource group ID of the VSwitch.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch.
- Dictionary<string, object>
- The Tags of the VSwitch.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Name string - Name of the VSwitch.
- Vswitch
Owner intId - Zone
Id string - ID of the availability zone where the VSwitch is located.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of VSwitch IDs.
- Names []string
- A list of VSwitch names.
- Vswitches
[]Get
Switches Vswitch - A list of VSwitches. Each element contains the following attributes:
- Cidr
Block string - CIDR block of the VSwitch.
- Dry
Run bool - Is
Default bool - Whether the VSwitch is the default one in the region.
- Name
Regex string - Output
File string - Resource
Group stringId - The resource group ID of the VSwitch.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch.
- map[string]interface{}
- The Tags of the VSwitch.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Name string - Name of the VSwitch.
- Vswitch
Owner intId - Zone
Id string - ID of the availability zone where the VSwitch is located.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of VSwitch IDs.
- names List<String>
- A list of VSwitch names.
- vswitches
List<Get
Switches Vswitch> - A list of VSwitches. Each element contains the following attributes:
- cidr
Block String - CIDR block of the VSwitch.
- dry
Run Boolean - is
Default Boolean - Whether the VSwitch is the default one in the region.
- name
Regex String - output
File String - resource
Group StringId - The resource group ID of the VSwitch.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch.
- Map<String,Object>
- The Tags of the VSwitch.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Name String - Name of the VSwitch.
- vswitch
Owner IntegerId - zone
Id String - ID of the availability zone where the VSwitch is located.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of VSwitch IDs.
- names string[]
- A list of VSwitch names.
- vswitches
Get
Switches Vswitch[] - A list of VSwitches. Each element contains the following attributes:
- cidr
Block string - CIDR block of the VSwitch.
- dry
Run boolean - is
Default boolean - Whether the VSwitch is the default one in the region.
- name
Regex string - output
File string - resource
Group stringId - The resource group ID of the VSwitch.
- route
Table stringId - The route table ID of the VSwitch.
- status string
- The status of the VSwitch.
- {[key: string]: any}
- The Tags of the VSwitch.
- vpc
Id string - ID of the VPC that owns the VSwitch.
- vswitch
Name string - Name of the VSwitch.
- vswitch
Owner numberId - zone
Id string - ID of the availability zone where the VSwitch is located.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of VSwitch IDs.
- names Sequence[str]
- A list of VSwitch names.
- vswitches
Sequence[Get
Switches Vswitch] - A list of VSwitches. Each element contains the following attributes:
- cidr_
block str - CIDR block of the VSwitch.
- dry_
run bool - is_
default bool - Whether the VSwitch is the default one in the region.
- name_
regex str - output_
file str - resource_
group_ strid - The resource group ID of the VSwitch.
- route_
table_ strid - The route table ID of the VSwitch.
- status str
- The status of the VSwitch.
- Mapping[str, Any]
- The Tags of the VSwitch.
- vpc_
id str - ID of the VPC that owns the VSwitch.
- vswitch_
name str - Name of the VSwitch.
- vswitch_
owner_ intid - zone_
id str - ID of the availability zone where the VSwitch is located.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of VSwitch IDs.
- names List<String>
- A list of VSwitch names.
- vswitches List<Property Map>
- A list of VSwitches. Each element contains the following attributes:
- cidr
Block String - CIDR block of the VSwitch.
- dry
Run Boolean - is
Default Boolean - Whether the VSwitch is the default one in the region.
- name
Regex String - output
File String - resource
Group StringId - The resource group ID of the VSwitch.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch.
- Map<Any>
- The Tags of the VSwitch.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Name String - Name of the VSwitch.
- vswitch
Owner NumberId - zone
Id String - ID of the availability zone where the VSwitch is located.
Supporting Types
GetSwitchesVswitch
- Available
Ip intAddress Count - The available ip address count of the VSwitch.
- Cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Creation
Time string - Time of creation.
- Description string
- Description of the VSwitch.
- Id string
- ID of the VSwitch.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the switch.
- Is
Default bool - Indicate whether the VSwitch is created by the system.
- Name string
- Name of the VSwitch.
- Resource
Group stringId - The Id of resource group which VSWitch belongs.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch. Valid values:
Available
andPending
. - Dictionary<string, object>
- A mapping of tags to assign to the resource.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Id string - ID of the VSwitch.
- Vswitch
Name string - The name of the VSwitch.
- Zone
Id string - The availability zone of the VSwitch.
- Available
Ip intAddress Count - The available ip address count of the VSwitch.
- Cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- Creation
Time string - Time of creation.
- Description string
- Description of the VSwitch.
- Id string
- ID of the VSwitch.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the switch.
- Is
Default bool - Indicate whether the VSwitch is created by the system.
- Name string
- Name of the VSwitch.
- Resource
Group stringId - The Id of resource group which VSWitch belongs.
- Route
Table stringId - The route table ID of the VSwitch.
- Status string
- The status of the VSwitch. Valid values:
Available
andPending
. - map[string]interface{}
- A mapping of tags to assign to the resource.
- Vpc
Id string - ID of the VPC that owns the VSwitch.
- Vswitch
Id string - ID of the VSwitch.
- Vswitch
Name string - The name of the VSwitch.
- Zone
Id string - The availability zone of the VSwitch.
- available
Ip IntegerAddress Count - The available ip address count of the VSwitch.
- cidr
Block String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time String - Time of creation.
- description String
- Description of the VSwitch.
- id String
- ID of the VSwitch.
- ipv6Cidr
Block String - The IPv6 CIDR block of the switch.
- is
Default Boolean - Indicate whether the VSwitch is created by the system.
- name String
- Name of the VSwitch.
- resource
Group StringId - The Id of resource group which VSWitch belongs.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch. Valid values:
Available
andPending
. - Map<String,Object>
- A mapping of tags to assign to the resource.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Id String - ID of the VSwitch.
- vswitch
Name String - The name of the VSwitch.
- zone
Id String - The availability zone of the VSwitch.
- available
Ip numberAddress Count - The available ip address count of the VSwitch.
- cidr
Block string - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time string - Time of creation.
- description string
- Description of the VSwitch.
- id string
- ID of the VSwitch.
- ipv6Cidr
Block string - The IPv6 CIDR block of the switch.
- is
Default boolean - Indicate whether the VSwitch is created by the system.
- name string
- Name of the VSwitch.
- resource
Group stringId - The Id of resource group which VSWitch belongs.
- route
Table stringId - The route table ID of the VSwitch.
- status string
- The status of the VSwitch. Valid values:
Available
andPending
. - {[key: string]: any}
- A mapping of tags to assign to the resource.
- vpc
Id string - ID of the VPC that owns the VSwitch.
- vswitch
Id string - ID of the VSwitch.
- vswitch
Name string - The name of the VSwitch.
- zone
Id string - The availability zone of the VSwitch.
- available_
ip_ intaddress_ count - The available ip address count of the VSwitch.
- cidr_
block str - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation_
time str - Time of creation.
- description str
- Description of the VSwitch.
- id str
- ID of the VSwitch.
- ipv6_
cidr_ strblock - The IPv6 CIDR block of the switch.
- is_
default bool - Indicate whether the VSwitch is created by the system.
- name str
- Name of the VSwitch.
- resource_
group_ strid - The Id of resource group which VSWitch belongs.
- route_
table_ strid - The route table ID of the VSwitch.
- status str
- The status of the VSwitch. Valid values:
Available
andPending
. - Mapping[str, Any]
- A mapping of tags to assign to the resource.
- vpc_
id str - ID of the VPC that owns the VSwitch.
- vswitch_
id str - ID of the VSwitch.
- vswitch_
name str - The name of the VSwitch.
- zone_
id str - The availability zone of the VSwitch.
- available
Ip NumberAddress Count - The available ip address count of the VSwitch.
- cidr
Block String - Filter results by a specific CIDR block. For example: "172.16.0.0/12".
- creation
Time String - Time of creation.
- description String
- Description of the VSwitch.
- id String
- ID of the VSwitch.
- ipv6Cidr
Block String - The IPv6 CIDR block of the switch.
- is
Default Boolean - Indicate whether the VSwitch is created by the system.
- name String
- Name of the VSwitch.
- resource
Group StringId - The Id of resource group which VSWitch belongs.
- route
Table StringId - The route table ID of the VSwitch.
- status String
- The status of the VSwitch. Valid values:
Available
andPending
. - Map<Any>
- A mapping of tags to assign to the resource.
- vpc
Id String - ID of the VPC that owns the VSwitch.
- vswitch
Id String - ID of the VSwitch.
- vswitch
Name String - The name of the VSwitch.
- zone
Id String - The availability zone of the VSwitch.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.