Class: Ansible::Ruby::Modules::Bigip_gtm_datacenter

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb

Overview

Manage BIG-IP data center configuration. A data center defines the location where the physical network components reside, such as the server and link objects that share the same subnet on the network. This module is able to manipulate the data center definitions in a BIG-IP.

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

#contactObject?

Returns The name of the contact for the data center.

Returns:

  • (Object, nil)

    The name of the contact for the data center.



12
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 12

attribute :contact

#descriptionObject?

Returns The description of the data center.

Returns:

  • (Object, nil)

    The description of the data center.



15
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 15

attribute :description

#locationString?

Returns The location of the data center.

Returns:

  • (String, nil)

    The location of the data center.



18
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 18

attribute :location

#nameString

Returns The name of the data center.

Returns:

  • (String)

    The name of the data center.



22
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 22

attribute :name

#partitionString?

Returns Device partition to manage resources on.

Returns:

  • (String, nil)

    Device partition to manage resources on.



30
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 30

attribute :partition

#state:present, ...

Returns The virtual address state. If C(absent), an attempt to delete the virtual address will be made. This will only succeed if this virtual address is not in use by a virtual server. C(present) creates the virtual address and enables it. If C(enabled), enable the virtual address if it exists. If C(disabled), create the virtual address if needed, and set state to C(disabled).

Returns:

  • (:present, :absent, :enabled, :disabled, nil)

    The virtual address state. If C(absent), an attempt to delete the virtual address will be made. This will only succeed if this virtual address is not in use by a virtual server. C(present) creates the virtual address and enables it. If C(enabled), enable the virtual address if it exists. If C(disabled), create the virtual address if needed, and set state to C(disabled).



26
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_gtm_datacenter.rb', line 26

attribute :state