Skip to content

VpcsProps

Properties for defining a Vpcs.

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

Initializer

import com.aliyun.ros.cdk.vpc.datasource.VpcsProps;
VpcsProps.builder()
//  .dhcpOptionsSetId(java.lang.String)
//  .dhcpOptionsSetId(IResolvable)
//  .isDefault(java.lang.Boolean)
//  .isDefault(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .vpcIds(IResolvable)
//  .vpcIds(java.util.List<java.lang.String)
//  .vpcIds(IResolvable>)
//  .vpcName(java.lang.String)
//  .vpcName(IResolvable)
//  .vpcOwnerId(java.lang.String)
//  .vpcOwnerId(IResolvable)
    .build();

Properties

Name Type Description
dhcpOptionsSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dhcpOptionsSetId: The ID of the DHCP options set.
isDefault java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property isDefault: Specifies whether to query the default VPC in the specified region.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
vpcIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property vpcIds: The list of The VPC IDs.
vpcName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcName: The name of the VPC.
vpcOwnerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.

dhcpOptionsSetIdOptional

public java.lang.Object getDhcpOptionsSetId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dhcpOptionsSetId: The ID of the DHCP options set.


isDefaultOptional

public java.lang.Object getIsDefault();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


vpcIdsOptional

public java.lang.Object getVpcIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property vpcIds: The list of The VPC IDs.

You can specify up to 20 VPC IDs.


vpcNameOptional

public java.lang.Object getVpcName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcName: The name of the VPC.


vpcOwnerIdOptional

public java.lang.Object getVpcOwnerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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