Skip to content

VpcsProps

Properties for defining a Vpcs.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpcs

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.VpcsProps {
    DhcpOptionsSetId: interface{},
    IsDefault: interface{},
    RefreshOptions: interface{},
    ResourceGroupId: interface{},
    VpcIds: interface{},
    VpcName: interface{},
    VpcOwnerId: 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.
VpcIds interface{} Property vpcIds: The list of The VPC IDs.
VpcName interface{} Property vpcName: The name of the VPC.
VpcOwnerId interface{} Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.

DhcpOptionsSetIdOptional

DhcpOptionsSetId interface{}
  • Type: interface{}

Property dhcpOptionsSetId: The ID of the DHCP options set.


IsDefaultOptional

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.


RefreshOptionsOptional

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.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.


VpcIdsOptional

VpcIds interface{}
  • Type: interface{}

Property vpcIds: The list of The VPC IDs.

You can specify up to 20 VPC IDs.


VpcNameOptional

VpcName interface{}
  • Type: interface{}

Property vpcName: The name of the VPC.


VpcOwnerIdOptional

VpcOwnerId interface{}
  • Type: interface{}

Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.