Class: Ansible::Ruby::Modules::Aci_contract

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

Overview

Manage Contract resources 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

#contractString

Returns The name of the contract.

Returns:

  • (String)

    The name of the contract.



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

attribute :contract

#descriptionString?

Returns Description for the contract.

Returns:

  • (String, nil)

    Description for the contract.



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

attribute :description

#dscp:AF11, ...

Returns The target Differentiated Service (DSCP) value.,The APIC defaults to C(unspecified) when unset during creation.

Returns:

  • (:AF11, :AF12, :AF13, :AF21, :AF22, :AF23, :AF31, :AF32, :AF33, :AF41, :AF42, :AF43, :CS0, :CS1, :CS2, :CS3, :CS4, :CS5, :CS6, :CS7, :EF, :VA, :unspecified, nil)

    The target Differentiated Service (DSCP) value.,The APIC defaults to C(unspecified) when unset during creation.



32
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_contract.rb', line 32

attribute :dscp

#priority:level1, ...

Returns The desired QoS class to be used.,The APIC defaults to C(unspecified) when unset during creation.

Returns:

  • (:level1, :level2, :level3, :unspecified, nil)

    The desired QoS class to be used.,The APIC defaults to C(unspecified) when unset during creation.



28
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_contract.rb', line 28

attribute :priority

#scope:"application-profile", ...

Returns The scope of a service contract.,The APIC defaults to C(context) when unset during creation.

Returns:

  • (:"application-profile", :context, :global, :tenant, nil)

    The scope of a service contract.,The APIC defaults to C(context) when unset during creation.



24
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_contract.rb', line 24

attribute :scope

#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.



36
# File 'lib/ansible/ruby/modules/generated/network/aci/aci_contract.rb', line 36

attribute :state

#tenantString

Returns The name of the tenant.

Returns:

  • (String)

    The name of the tenant.



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

attribute :tenant