Class: Ansible::Ruby::Modules::Azure_rm_subnet
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_subnet
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb
Instance Method Summary collapse
-
#address_prefix_cidr ⇒ String
CIDR defining the IPv4 address space of the subnet.
-
#name ⇒ String
Name of the subnet.
-
#resource_group ⇒ String
Name of resource group.
-
#security_group_name ⇒ Object?
Name of an existing security group with which to associate the subnet.
-
#state ⇒ :absent, :present
Assert the state of the subnet.
-
#virtual_network_name ⇒ String
Name of an existing virtual network with which the subnet is or will be associated.
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
#address_prefix_cidr ⇒ String
Returns CIDR defining the IPv4 address space of the subnet. Must be valid within the context of the virtual network.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 18 attribute :address_prefix_cidr |
#name ⇒ String
Returns Name of the subnet.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 14 attribute :name |
#resource_group ⇒ String
Returns Name of resource group.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 10 attribute :resource_group |
#security_group_name ⇒ Object?
Returns Name of an existing security group with which to associate the subnet.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 22 attribute :security_group_name |
#state ⇒ :absent, :present
Returns Assert the state of the subnet. Use ‘present’ to create or update a subnet and ‘absent’ to delete a subnet.
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 25 attribute :state |
#virtual_network_name ⇒ String
Returns Name of an existing virtual network with which the subnet is or will be associated.
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 29 attribute :virtual_network_name |