Class: Ansible::Ruby::Modules::Ucs_timezone

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_timezone.rb

Overview

Configures timezone on Cisco UCS Manager. Examples can be used with the L(UCS Platform Emulator,communities.cisco.com/ucspe).

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

#admin_state:disabled, ...

Returns The admin_state setting,The enabled admin_state indicates the timezone confguration is utilized by UCS Manager.,The disabled admin_state indicates the timezone confguration is ignored by UCS Manager.

Returns:

  • (:disabled, :enabled, nil)

    The admin_state setting,The enabled admin_state indicates the timezone confguration is utilized by UCS Manager.,The disabled admin_state indicates the timezone confguration is ignored by UCS Manager.



17
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_timezone.rb', line 17

attribute :admin_state

#descriptionString?

Returns A user-defined description of the timezone.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).

Returns:

  • (String, nil)

    A user-defined description of the timezone.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).



21
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_timezone.rb', line 21

attribute :description

#state:absent, ...

Returns If C(absent), will unset timezone.,If C(present), will set or update timezone.

Returns:

  • (:absent, :present, nil)

    If C(absent), will unset timezone.,If C(present), will set or update timezone.



13
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_timezone.rb', line 13

attribute :state

#timezoneString?

Returns The timezone name.,Time zone names are from the L(tz database,en.wikipedia.org/wiki/List_of_tz_database_time_zones),The timezone name is case sensitive.,The timezone name can be between 0 and 510 alphanumeric characters.,You cannot use spaces or any special characters other than,“-” (hyphen), “_” (underscore), “/” (backslash).

Returns:

  • (String, nil)

    The timezone name.,Time zone names are from the L(tz database,en.wikipedia.org/wiki/List_of_tz_database_time_zones),The timezone name is case sensitive.,The timezone name can be between 0 and 510 alphanumeric characters.,You cannot use spaces or any special characters other than,“-” (hyphen), “_” (underscore), “/” (backslash).



25
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_timezone.rb', line 25

attribute :timezone