Class: Ansible::Ruby::Modules::Aci_config_rollback

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

Overview

Provides rollback and rollback preview functionality for Cisco ACI fabrics. Config Rollbacks are done using snapshots C(aci_snapshot) with the configImportP class.

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

#compare_export_policyString?

Returns The export policy that the C(compare_snapshot) is associated to.

Returns:

  • (String, nil)

    The export policy that the C(compare_snapshot) is associated to.



13
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 13

attribute :compare_export_policy

#compare_snapshotString?

Returns The name of the snapshot to compare with C(snapshot).

Returns:

  • (String, nil)

    The name of the snapshot to compare with C(snapshot).



17
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 17

attribute :compare_snapshot

#descriptionString?

Returns The description for the Import Policy.

Returns:

  • (String, nil)

    The description for the Import Policy.



21
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 21

attribute :description

#export_policyString

Returns The export policy that the C(snapshot) is associated to.

Returns:

  • (String)

    The export policy that the C(snapshot) is associated to.



25
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 25

attribute :export_policy

#fail_on_decryptSymbol?

Returns Determines if the APIC should fail the rollback if unable to decrypt secured data.,The APIC defaults to C(yes) when unset.

Returns:

  • (Symbol, nil)

    Determines if the APIC should fail the rollback if unable to decrypt secured data.,The APIC defaults to C(yes) when unset.



29
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 29

attribute :fail_on_decrypt

#import_mode:atomic, ...

Returns Determines how the import should be handled by the APIC.,The APIC defaults to C(atomic) when unset.

Returns:

  • (:atomic, :"best-effort", nil)

    Determines how the import should be handled by the APIC.,The APIC defaults to C(atomic) when unset.



33
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 33

attribute :import_mode

#import_policyString?

Returns The name of the Import Policy to use for config rollback.

Returns:

  • (String, nil)

    The name of the Import Policy to use for config rollback.



37
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 37

attribute :import_policy

#import_type:merge, ...

Returns Determines how the current and snapshot configuration should be compared for replacement.,The APIC defaults to C(replace) when unset.

Returns:

  • (:merge, :replace, nil)

    Determines how the current and snapshot configuration should be compared for replacement.,The APIC defaults to C(replace) when unset.



41
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 41

attribute :import_type

#snapshotString

Returns The name of the snapshot to rollback to, or the base snapshot to use for comparison.,The C(aci_snapshot) module can be used to query the list of available snapshots.

Returns:

  • (String)

    The name of the snapshot to rollback to, or the base snapshot to use for comparison.,The C(aci_snapshot) module can be used to query the list of available snapshots.



45
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 45

attribute :snapshot

#state:preview, ...

Returns Use C(preview) for previewing the diff between two snapshots.,Use C(rollback) for reverting the configuration to a previous snapshot.

Returns:

  • (:preview, :rollback, nil)

    Use C(preview) for previewing the diff between two snapshots.,Use C(rollback) for reverting the configuration to a previous snapshot.



49
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 49

attribute :state