Class: Ansible::Ruby::Modules::Avi_networksecuritypolicy

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

Overview

This module is used to configure NetworkSecurityPolicy object more examples at U(github.com/avinetworks/devops)

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

#avi_api_patch_op:add, ...

Returns Patch operation to use when using avi_api_update_method as patch.

Returns:

  • (:add, :replace, :delete, nil)

    Patch operation to use when using avi_api_update_method as patch.



21
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 21

attribute :avi_api_patch_op

#avi_api_update_method:put, ...

Returns Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.

Returns:

  • (:put, :patch, nil)

    Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.



17
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 17

attribute :avi_api_update_method

#cloud_config_cksumObject?

Returns Checksum of cloud configuration for network sec policy.,Internally set by cloud connector.

Returns:

  • (Object, nil)

    Checksum of cloud configuration for network sec policy.,Internally set by cloud connector.



25
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 25

attribute :cloud_config_cksum

#created_byObject?

Returns Creator name.

Returns:

  • (Object, nil)

    Creator name.



28
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 28

attribute :created_by

#descriptionObject?

Returns User defined description for the object.

Returns:

  • (Object, nil)

    User defined description for the object.



31
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 31

attribute :description

#nameString?

Returns Name of the object.

Returns:

  • (String, nil)

    Name of the object.



34
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 34

attribute :name

#rulesArray<Hash>, ...

Returns List of networksecurityrule.

Returns:

  • (Array<Hash>, Hash, nil)

    List of networksecurityrule.



38
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 38

attribute :rules

#state:absent, ...

Returns The state that should be applied on the entity.

Returns:

  • (:absent, :present, nil)

    The state that should be applied on the entity.



13
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 13

attribute :state

#tenant_refString?

Returns It is a reference to an object of type tenant.

Returns:

  • (String, nil)

    It is a reference to an object of type tenant.



42
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 42

attribute :tenant_ref

#urlObject?

Returns Avi controller URL of the object.

Returns:

  • (Object, nil)

    Avi controller URL of the object.



46
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 46

attribute :url

#uuidObject?

Returns Unique object identifier of the object.

Returns:

  • (Object, nil)

    Unique object identifier of the object.



49
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_networksecuritypolicy.rb', line 49

attribute :uuid