Class: Ansible::Ruby::Modules::Aci_config_rollback
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aci_config_rollback
- 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
-
#compare_export_policy ⇒ String?
The export policy that the C(compare_snapshot) is associated to.
-
#compare_snapshot ⇒ String?
The name of the snapshot to compare with C(snapshot).
-
#description ⇒ String?
The description for the Import Policy.
-
#export_policy ⇒ String
The export policy that the C(snapshot) is associated to.
-
#fail_on_decrypt ⇒ Symbol?
Determines if the APIC should fail the rollback if unable to decrypt secured data.,The APIC defaults to C(yes) when unset.
-
#import_mode ⇒ :atomic, ...
Determines how the import should be handled by the APIC.,The APIC defaults to C(atomic) when unset.
-
#import_policy ⇒ String?
The name of the Import Policy to use for config rollback.
-
#import_type ⇒ :merge, ...
Determines how the current and snapshot configuration should be compared for replacement.,The APIC defaults to C(replace) when unset.
-
#snapshot ⇒ 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.
-
#state ⇒ :preview, ...
Use C(preview) for previewing the diff between two snapshots.,Use C(rollback) for reverting the configuration to a previous snapshot.
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
#compare_export_policy ⇒ String?
Returns 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_snapshot ⇒ String?
Returns 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 |
#description ⇒ String?
Returns The description for the Import Policy.
21 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 21 attribute :description |
#export_policy ⇒ String
Returns 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_decrypt ⇒ Symbol?
Returns 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.
33 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 33 attribute :import_mode |
#import_policy ⇒ String?
Returns 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.
41 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 41 attribute :import_type |
#snapshot ⇒ String
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.
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.
49 |
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_config_rollback.rb', line 49 attribute :state |