Class: Ansible::Ruby::Modules::Netscaler_cs_policy

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

Overview

Manage content switching policy. This module is intended to run either on the ansible control node or a bastion (jumpserver) with access to the actual netscaler instance.

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

#actionObject?

Returns Content switching action that names the target load balancing virtual server to which the traffic is switched.

Returns:

  • (Object, nil)

    Content switching action that names the target load balancing virtual server to which the traffic is switched.



27
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 27

attribute :action

#domainObject?

Returns The domain name. The string value can range to 63 characters.,Minimum length = 1.

Returns:

  • (Object, nil)

    The domain name. The string value can range to 63 characters.,Minimum length = 1



24
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 24

attribute :domain

#policynameString?

Returns Name for the content switching policy. Must begin with an ASCII alphanumeric or underscore C(_) character, and must contain only ASCII alphanumeric, underscore, hash C(#), period C(.), space C( ), colon C(:), at sign C(@), equal sign C(=), and hyphen C(-) characters. Cannot be changed after a policy is created.,The following requirement applies only to the NetScaler CLI:,If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, my policy or my policy).,Minimum length = 1.

Returns:

  • (String, nil)

    Name for the content switching policy. Must begin with an ASCII alphanumeric or underscore C(_) character, and must contain only ASCII alphanumeric, underscore, hash C(#), period C(.), space C( ), colon C(:), at sign C(@), equal sign C(=), and hyphen C(-) characters. Cannot be changed after a policy is created.,The following requirement applies only to the NetScaler CLI:,If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, my policy or my policy).,Minimum length = 1



13
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 13

attribute :policyname

#ruleObject?

Returns Expression, or name of a named expression, against which traffic is evaluated. Written in the classic or default syntax.,Note:,Maximum length of a string literal in the expression is 255 characters. A longer string can be split into smaller strings of up to 255 characters each, and the smaller strings concatenated with the + operator. For example, you can create a 500-character string as follows: ‘“<string of 255 characters>” + “<string of 245 characters>”’.

Returns:

  • (Object, nil)

    Expression, or name of a named expression, against which traffic is evaluated. Written in the classic or default syntax.,Note:,Maximum length of a string literal in the expression is 255 characters. A longer string can be split into smaller strings of up to 255 characters each, and the smaller strings concatenated with the + operator. For example, you can create a 500-character string as follows: ‘“<string of 255 characters>” + “<string of 245 characters>”’



21
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 21

attribute :rule

#urlString?

Returns URL string that is matched with the URL of a request. Can contain a wildcard character. Specify the string value in the following format: C([ [*]] [.suffix]).,Minimum length = 1,Maximum length = 208.

Returns:

  • (String, nil)

    URL string that is matched with the URL of a request. Can contain a wildcard character. Specify the string value in the following format: C([ [*]] [.suffix]).,Minimum length = 1,Maximum length = 208



17
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 17

attribute :url