Class: Ansible::Ruby::Modules::Cs_vpc
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_vpc
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb
Overview
Create, update and delete VPCs.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the VPC is related to.
-
#cidr ⇒ String?
CIDR of the VPC, e.g.
-
#clean_up ⇒ Symbol?
Whether to redeploy a VPC router or not when I(state=restarted).
-
#display_text ⇒ String?
Display text of the VPC.,If not set, C(name) will be used for creating.
-
#domain ⇒ Object?
Domain the VPC is related to.
-
#name ⇒ String
Name of the VPC.
-
#network_domain ⇒ Object?
Network domain for the VPC.,All networks inside the VPC will belong to this domain.,Only considered while creating the VPC, can not be changed.
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the VPC is related to.
-
#state ⇒ :present, ...
State of the VPC.,The state C(present) creates a started VPC.,The state C(stopped) is only considered while creating the VPC, added in version 2.6.
-
#tags ⇒ Object?
List of tags.
-
#vpc_offering ⇒ Object?
Name of the VPC offering.,If not set, default VPC offering is used.
-
#zone ⇒ Object?
Name of the zone.,If not set, default zone is used.
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
#account ⇒ Object?
Returns Account the VPC is related to.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 41 attribute :account |
#cidr ⇒ String?
Returns CIDR of the VPC, e.g. 10.1.0.0/16,All VPC guest networks’ CIDRs must be within this CIDR.,Required on I(state=present).
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 20 attribute :cidr |
#clean_up ⇒ Symbol?
Returns Whether to redeploy a VPC router or not when I(state=restarted).
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 30 attribute :clean_up |
#display_text ⇒ String?
Returns Display text of the VPC.,If not set, C(name) will be used for creating.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 16 attribute :display_text |
#domain ⇒ Object?
Returns Domain the VPC is related to.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 38 attribute :domain |
#name ⇒ String
Returns Name of the VPC.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 12 attribute :name |
#network_domain ⇒ Object?
Returns Network domain for the VPC.,All networks inside the VPC will belong to this domain.,Only considered while creating the VPC, can not be changed.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 24 attribute :network_domain |
#poll_async ⇒ Boolean?
Returns Poll async jobs until job has finished.
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 53 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the VPC is related to.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 44 attribute :project |
#state ⇒ :present, ...
Returns State of the VPC.,The state C(present) creates a started VPC.,The state C(stopped) is only considered while creating the VPC, added in version 2.6.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 34 attribute :state |
#tags ⇒ Object?
Returns List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,For deleting all tags, set an empty list e.g. I(tags: []).
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 50 attribute :tags |
#vpc_offering ⇒ Object?
Returns Name of the VPC offering.,If not set, default VPC offering is used.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 27 attribute :vpc_offering |
#zone ⇒ Object?
Returns Name of the zone.,If not set, default zone is used.
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 47 attribute :zone |