Class: Ansible::Ruby::Modules::Gcp_compute_address
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_address
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb
Overview
Represents an Address resource. Each virtual machine instance has an ephemeral internal IP address and, optionally, an external IP address. To communicate between instances on the same network, you can use an instance’s internal IP address. To communicate with the Internet and instances outside of the same network, you must specify the instance’s external IP address. Internal IP addresses are ephemeral and only belong to an instance for the lifetime of the instance; if the instance is deleted and recreated, the instance is assigned a new internal IP address, either by Compute Engine or by you. External IP addresses can be either ephemeral or static.
Instance Method Summary collapse
-
#address ⇒ Object?
The static external IP address represented by this resource.
-
#address_type ⇒ :INTERNAL, ...
The type of address to reserve, either INTERNAL or EXTERNAL.,If unspecified, defaults to EXTERNAL.
-
#description ⇒ Object?
An optional description of this resource.
-
#name ⇒ String
Name of the resource.
-
#region ⇒ String
URL of the region where the regional address resides.,This field is not applicable to global addresses.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#subnetwork ⇒ Object?
The URL of the subnetwork in which to reserve the address.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#address ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 18 attribute :address |
#address_type ⇒ :INTERNAL, ...
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 21 attribute :address_type |
#description ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 25 attribute :description |
#name ⇒ String
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 28 attribute :name |
#region ⇒ String
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 35 attribute :region |
#state ⇒ :present, ...
14 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 14 attribute :state |
#subnetwork ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_address.rb', line 32 attribute :subnetwork |