GetSubnetArgs class
Arguments for getSubnet. Arguments for getSubnet.
Constructors
-
GetSubnetArgs({Input<
String?> ? availabilityZone, Input<String?> ? availabilityZoneId, Input<String?> ? cidrBlock, Input<bool?> ? defaultForAz, Input<List< ? filters, Input<GetSubnetFilter> ?>String?> ? id, Input<String?> ? ipv6CidrBlock, Input<String?> ? region, Input<String?> ? state, Input<Map< ? tags, Input<String, String> ?>String?> ? vpcId}) -
Creates a new GetSubnetArgs.
availabilityZoneAvailability zone where the subnet must reside.availabilityZoneIdID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, useavailabilityZoneinstead.cidrBlockCIDR block of the desired subnet.defaultForAzWhether the desired subnet must be the default subnet for its associated availability zone.filtersConfiguration block. Detailed below.idID of the specific subnet to retrieve.ipv6CidrBlockIPv6 CIDR block of the desired subnet.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.stateState that the desired subnet must have.tagsMap of tags, each pair of which must exactly match a pair on the desired subnet.vpcIdID of the VPC that the desired subnet belongs to.const -
GetSubnetArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
availabilityZone
→ Input<
String?> ? -
Availability zone where the subnet must reside.
final
-
availabilityZoneId
→ Input<
String?> ? -
ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use
availabilityZoneinstead.final -
cidrBlock
→ Input<
String?> ? -
CIDR block of the desired subnet.
final
-
defaultForAz
→ Input<
bool?> ? -
Whether the desired subnet must be the default subnet for its associated availability zone.
final
-
filters
→ Input<
List< ?GetSubnetFilter> ?> -
Configuration block. Detailed below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Input<
String?> ? -
ID of the specific subnet to retrieve.
final
-
ipv6CidrBlock
→ Input<
String?> ? -
IPv6 CIDR block of the desired subnet.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
State that the desired subnet must have.
final
-
Map of tags, each pair of which must exactly match a pair on the desired subnet.
final
-
vpcId
→ Input<
String?> ? -
ID of the VPC that the desired subnet belongs to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited