Class: Ansible::Ruby::Modules::Aci_switch_policy_vpc_protection_group

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

Overview

Manage switch policy explicit vPC protection groups on Cisco ACI fabrics.

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

#protection_groupString

Returns The name of the Explicit vPC Protection Group.

Returns:

  • (String)

    The name of the Explicit vPC Protection Group.



12
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 12

attribute :protection_group

#protection_group_idInteger

Returns The Explicit vPC Protection Group ID.

Returns:

  • (Integer)

    The Explicit vPC Protection Group ID.



16
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 16

attribute :protection_group_id

#state:absent, ...

Returns Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.

Returns:

  • (:absent, :present, :query, nil)

    Use C(present) or C(absent) for adding or removing.,Use C(query) for listing an object or multiple objects.



31
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 31

attribute :state

#switch_1_idInteger

Returns The ID of the first Leaf Switch for the Explicit vPC Protection Group.

Returns:

  • (Integer)

    The ID of the first Leaf Switch for the Explicit vPC Protection Group.



23
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 23

attribute :switch_1_id

#switch_2_idInteger

Returns The ID of the Second Leaf Switch for the Explicit vPC Protection Group.

Returns:

  • (Integer)

    The ID of the Second Leaf Switch for the Explicit vPC Protection Group.



27
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 27

attribute :switch_2_id

#vpc_domain_policyObject?

Returns The vPC domain policy to be associated with the Explicit vPC Protection Group.

Returns:

  • (Object, nil)

    The vPC domain policy to be associated with the Explicit vPC Protection Group.



20
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_switch_policy_vpc_protection_group.rb', line 20

attribute :vpc_domain_policy