Class: Ansible::Ruby::Modules::Azure_rm_virtualnetwork
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_virtualnetwork
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork.rb
Instance Method Summary collapse
-
#address_prefixes_cidr ⇒ Array<String>, ...
List of IPv4 address ranges where each is formatted using CIDR notation.
-
#dns_servers ⇒ Array<String>, ...
Custom list of DNS servers.
-
#location ⇒ String?
Valid azure location.
-
#name ⇒ String
Name of the virtual network.
-
#purge_address_prefixes ⇒ Boolean?
Use with state present to remove any existing address_prefixes.
-
#purge_dns_servers ⇒ Boolean?
Use with state present to remove existing DNS servers, reverting to default Azure servers.
-
#resource_group ⇒ String
Name of resource group.
-
#state ⇒ :absent, ...
Assert the state of the virtual network.
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_prefixes_cidr ⇒ Array<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.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork.rb', line 14 attribute :address_prefixes_cidr |
#dns_servers ⇒ Array<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.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork.rb', line 18 attribute :dns_servers |
#location ⇒ String?
Returns 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 |
#name ⇒ String
Returns 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_prefixes ⇒ Boolean?
Returns 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_servers ⇒ Boolean?
Returns 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_group ⇒ String
Returns 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.
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_virtualnetwork.rb', line 38 attribute :state |