Class: Ansible::Ruby::Modules::Ec2_vpc_subnet
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_subnet
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb
Instance Method Summary collapse
-
#az ⇒ Object?
The availability zone for the subnet.
-
#cidr ⇒ String?
The CIDR block for the subnet.
-
#state ⇒ :present, ...
Create or remove the subnet.
-
#tags ⇒ Object?
A dict of tags to apply to the subnet.
-
#vpc_id ⇒ String?
VPC ID of the VPC in which to create the subnet.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#az ⇒ Object?
Returns The availability zone for the subnet. Only required when state=present.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 10 attribute :az |
#cidr ⇒ String?
Returns The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present.
13 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 13 attribute :cidr |
#state ⇒ :present, ...
Returns Create or remove the subnet.
20 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 20 attribute :state |
#tags ⇒ Object?
Returns A dict of tags to apply to the subnet. Any tags currently applied to the subnet and not present here will be removed.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 17 attribute :tags |
#vpc_id ⇒ String?
Returns VPC ID of the VPC in which to create the subnet.
24 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 24 attribute :vpc_id |