Class: Ansible::Ruby::Modules::Netscaler_cs_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Netscaler_cs_policy
- 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
-
#action ⇒ Object?
Content switching action that names the target load balancing virtual server to which the traffic is switched.
-
#domain ⇒ Object?
The domain name.
-
#policyname ⇒ String?
Name for the content switching policy.
-
#rule ⇒ Object?
Expression, or name of a named expression, against which traffic is evaluated.
-
#url ⇒ String?
URL string that is matched with the URL of a request.
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
#action ⇒ Object?
Returns 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 |
#domain ⇒ Object?
Returns 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 |
#policyname ⇒ String?
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.
13 |
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 13 attribute :policyname |
#rule ⇒ Object?
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>”’.
21 |
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 21 attribute :rule |
#url ⇒ String?
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.
17 |
# File 'lib/ansible/ruby/modules/generated/network/netscaler/netscaler_cs_policy.rb', line 17 attribute :url |