Class: Ansible::Ruby::Modules::Cs_vpc

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb

Overview

Create, update and delete VPCs.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#accountObject?

Returns Account the VPC is related to.

Returns:

  • (Object, nil)

    Account the VPC is related to.



41
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 41

attribute :account

#cidrString?

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).

Returns:

  • (String, nil)

    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_upSymbol?

Returns Whether to redeploy a VPC router or not when I(state=restarted).

Returns:

  • (Symbol, nil)

    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_textString?

Returns Display text of the VPC.,If not set, C(name) will be used for creating.

Returns:

  • (String, nil)

    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

#domainObject?

Returns Domain the VPC is related to.

Returns:

  • (Object, nil)

    Domain the VPC is related to.



38
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 38

attribute :domain

#nameString

Returns Name of the VPC.

Returns:

  • (String)

    Name of the VPC.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 12

attribute :name

#network_domainObject?

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.

Returns:

  • (Object, nil)

    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_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



53
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpc.rb', line 53

attribute :poll_async

#projectObject?

Returns Name of the project the VPC is related to.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent, :stopped, :restarted, nil)

    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

#tagsObject?

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: []).

Returns:

  • (Object, nil)

    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_offeringObject?

Returns Name of the VPC offering.,If not set, default VPC offering is used.

Returns:

  • (Object, nil)

    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

#zoneObject?

Returns Name of the zone.,If not set, default zone is used.

Returns:

  • (Object, nil)

    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