Class: Ansible::Ruby::Modules::Azure_rm_virtualnetwork

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

Instance Method Summary collapse

Methods inherited from Base

#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_prefixes_cidrArray<String>, ...

Returns List of IPv4 address ranges where each is formatted using CIDR notation. Required when creating a new virtual network or using purge_address_prefixes.

Returns:

  • (Array<String>, String, nil)

    List of IPv4 address ranges where each is formatted using CIDR notation. Required when creating a new virtual network or using purge_address_prefixes.



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

attribute :address_prefixes_cidr

#dns_serversArray<String>, ...

Returns Custom list of DNS servers. Maximum length of two. The first server in the list will be treated as the Primary server. This is an explicit list. Existing DNS servers will be replaced with the specified list. Use the purge_dns_servers option to remove all custom DNS servers and revert to default Azure servers.

Returns:

  • (Array<String>, String, nil)

    Custom list of DNS servers. Maximum length of two. The first server in the list will be treated as the Primary server. This is an explicit list. Existing DNS servers will be replaced with the specified list. Use the purge_dns_servers option to remove all custom DNS servers and revert to default Azure servers.



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

attribute :dns_servers

#locationString?

Returns Valid azure location. Defaults to location of the resource group.

Returns:

  • (String, nil)

    Valid azure location. Defaults to location of the resource group.



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

attribute :location

#nameString

Returns name of the virtual network.

Returns:

  • (String)

    name of the virtual network.



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

attribute :name

#purge_address_prefixesBoolean?

Returns Use with state present to remove any existing address_prefixes.

Returns:

  • (Boolean, nil)

    Use with state present to remove any existing address_prefixes.



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

attribute :purge_address_prefixes

#purge_dns_serversBoolean?

Returns Use with state present to remove existing DNS servers, reverting to default Azure servers. Mutually exclusive with dns_servers.

Returns:

  • (Boolean, nil)

    Use with state present to remove existing DNS servers, reverting to default Azure servers. Mutually exclusive with dns_servers.



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

attribute :purge_dns_servers

#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_virtualnetwork.rb', line 10

attribute :resource_group

#state:absent, ...

Returns Assert the state of the virtual network. Use ‘present’ to create or update and ‘absent’ to delete.

Returns:

  • (:absent, :present, nil)

    Assert the state of the virtual network. Use ‘present’ to create or update and ‘absent’ to delete.



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

attribute :state