Class: Ansible::Ruby::Modules::Azure_rm_subnet

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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_cidrString

Returns CIDR defining the IPv4 address space of the subnet. Must be valid within the context of the virtual network.

Returns:

  • (String)

    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

#nameString

Returns Name of the subnet.

Returns:

  • (String)

    Name of the subnet.



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_subnet.rb', line 14

attribute :name

#resource_groupString

Returns Name of resource group.

Returns:

  • (String)

    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_nameObject?

Returns Name of an existing security group with which to associate the subnet.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:absent, :present)

    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_nameString

Returns Name of an existing virtual network with which the subnet is or will be associated.

Returns:

  • (String)

    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