VSwitchesProps
Properties for defining a VSwitches
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vswitches
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.VSwitchesProps {
DhcpOptionsSetId: interface{},
IsDefault: interface{},
RefreshOptions: interface{},
ResourceGroupId: interface{},
RouteTableId: interface{},
VpcId: interface{},
VSwitchIds: interface{},
VSwitchName: interface{},
VSwitchOwnerId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DhcpOptionsSetId |
interface{} |
Property dhcpOptionsSetId: The ID of the DHCP options set. |
IsDefault |
interface{} |
Property isDefault: Specifies whether to query the default VPC in the specified region. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs. |
RouteTableId |
interface{} |
Property routeTableId: The ID of the route table. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC to which the vSwitch belongs. |
VSwitchIds |
interface{} |
Property vSwitchIds: The list of The vSwitch IDs. |
VSwitchName |
interface{} |
Property vSwitchName: The name of the vSwitch. |
VSwitchOwnerId |
interface{} |
Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs. |
DhcpOptionsSetId
Optional
DhcpOptionsSetId interface{}
- Type: interface{}
Property dhcpOptionsSetId: The ID of the DHCP options set.
IsDefault
Optional
IsDefault interface{}
- Type: interface{}
Property isDefault: Specifies whether to query the default VPC in the specified region.
Valid values: true(default): queries all VPCs in the specified region. false: does not query the default VPC.
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
RouteTableId
Optional
RouteTableId interface{}
- Type: interface{}
Property routeTableId: The ID of the route table.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC to which the vSwitch belongs.
VSwitchIds
Optional
VSwitchIds interface{}
- Type: interface{}
Property vSwitchIds: The list of The vSwitch IDs.
You can specify up to 20 vSwitch IDs.
VSwitchName
Optional
VSwitchName interface{}
- Type: interface{}
Property vSwitchName: The name of the vSwitch.
VSwitchOwnerId
Optional
VSwitchOwnerId interface{}
- Type: interface{}
Property vSwitchOwnerId: The ID of the Alibaba Cloud account to which the vSwitch belongs.