Class: Ansible::Ruby::Modules::Azure_rm_publicipaddress
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_publicipaddress
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb
Overview
Create, update and delete a Public IP address. Allows setting and updating the address allocation method and domain name label. Use the azure_rm_networkinterface module to associate a Public IP with a network interface.
Instance Method Summary collapse
-
#allocation_method ⇒ :Dynamic, ...
Control whether the assigned Public IP remains permanently assigned to the object.
-
#domain_name_label ⇒ Object?
The customizable portion of the FQDN assigned to public IP address.
-
#location ⇒ String?
Valid azure location.
-
#name ⇒ String
Name of the Public IP.
-
#resource_group ⇒ String
Name of resource group with which the Public IP is associated.
-
#state ⇒ :absent, ...
Assert the state of the Public IP.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#allocation_method ⇒ :Dynamic, ...
Returns Control whether the assigned Public IP remains permanently assigned to the object. If not set to ‘Static’, the IP address my changed anytime an associated virtual machine is power cycled.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 15 attribute :allocation_method |
#domain_name_label ⇒ Object?
Returns The customizable portion of the FQDN assigned to public IP address. This is an explicit setting. If no value is provided, any existing value will be removed on an existing public IP.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 19 attribute :domain_name_label |
#location ⇒ String?
Returns Valid azure location. Defaults to location of the resource group.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 30 attribute :location |
#name ⇒ String
Returns Name of the Public IP.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 22 attribute :name |
#resource_group ⇒ String
Returns Name of resource group with which the Public IP is associated.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 11 attribute :resource_group |
#state ⇒ :absent, ...
Returns Assert the state of the Public IP. Use ‘present’ to create or update a and ‘absent’ to delete.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_publicipaddress.rb', line 26 attribute :state |