| 1 | package Net::Amazon::EC2::DescribeSubnetResponse; | ||
| 2 | 1 | $Net::Amazon::EC2::DescribeSubnetResponse::VERSION = '0.36'; | |
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Net::Amazon::EC2::DescribeSubnetResponse | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | A class containing information about subnets | ||
| 12 | |||
| 13 | =head1 ATTRIBUTES | ||
| 14 | |||
| 15 | =over | ||
| 16 | |||
| 17 | =item subnet_id (required) | ||
| 18 | |||
| 19 | The ID of the subnet. | ||
| 20 | |||
| 21 | =item state (required) | ||
| 22 | |||
| 23 | The current state of the subnet. | ||
| 24 | |||
| 25 | Values: | ||
| 26 | |||
| 27 | pending | available | ||
| 28 | |||
| 29 | =item vpc_id (required) | ||
| 30 | |||
| 31 | The ID of the VPC the subnet is in. | ||
| 32 | |||
| 33 | =item cidr_block | ||
| 34 | |||
| 35 | The CIDR block assigned to the subnet. | ||
| 36 | |||
| 37 | =available_ip_address_count | ||
| 38 | |||
| 39 | The number of unused IP addresses in the subnet. Note that the IP addresses for any stopped instances are considered unavailable. | ||
| 40 | |||
| 41 | =availability_zone | ||
| 42 | |||
| 43 | The Availability Zone of the subnet. | ||
| 44 | |||
| 45 | =default_for_az | ||
| 46 | |||
| 47 | Indicates whether this is the default subnet for the Availability Zone. | ||
| 48 | |||
| 49 | =map_public_ip_on_launch | ||
| 50 | |||
| 51 | Indicates whether instances launched in this subnet receive a public IP address. | ||
| 52 | |||
| 53 | =tag_set | ||
| 54 | Any tags assigned to the resource, each one wrapped in an item element. | ||
| 55 | |||
| 56 | =back | ||
| 57 | |||
| 58 | =cut | ||
| 59 | |||
| 60 | 1 | has 'subnet_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 61 | 1 | has 'state' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 62 | 1 | has 'vpc_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 63 | 1 | has 'cidr_block' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 64 | 1 | has 'available_ip_address_count' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 65 | 1 | has 'availability_zone' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 66 | 1 | has 'default_for_az' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); | |
| 67 | 1 | has 'map_public_ip_on_launch' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); | |
| 68 | 1 | has 'tag_set' => ( is => 'ro', isa => 'Maybe[ArrayRef[Net::Amazon::EC2::TagSet]]', required => 0 ); | |
| 69 | 1 | __PACKAGE__->meta->make_immutable(); | |
| 70 | |||
| 71 | =head1 AUTHOR | ||
| 72 | |||
| 73 | Jonas Courteau <jonas.courteau@hootsuite.com> | ||
| 74 | |||
| 75 | =head1 COPYRIGHT | ||
| 76 | |||
| 77 | Copyright (c) 2014 Jonas Courteau. This program is free software; you can redistribute it and/or modify it | ||
| 78 | under the same terms as Perl itself. | ||
| 79 | |||
| 80 | =cut | ||
| 81 | |||
| 82 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 83 | 1 | 1; | |
| 84 | |||