Class: Ansible::Ruby::Modules::Gcp_compute_router
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_router
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb
Overview
Represents a Router resource.
Instance Method Summary collapse
-
#bgp ⇒ Hash?
BGP information specific to this router.
-
#description ⇒ Object?
An optional description of this resource.
-
#name ⇒ String
Name of the resource.
-
#network ⇒ String
A reference to the network to which this router belongs.
-
#region ⇒ String
Region where the router resides.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
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
#bgp ⇒ Hash?
Returns BGP information specific to this router.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 27 attribute :bgp |
#description ⇒ Object?
Returns An optional description of this resource.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 20 attribute :description |
#name ⇒ String
Returns Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 16 attribute :name |
#network ⇒ String
Returns A reference to the network to which this router belongs.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 23 attribute :network |
#region ⇒ String
Returns Region where the router resides.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 31 attribute :region |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_router.rb', line 12 attribute :state |