Class: Azure::CDN::Mgmt::V2020_04_15::Models::RemoteAddressMatchConditionParameters
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2020_04_15::Models::RemoteAddressMatchConditionParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb
Overview
Defines the parameters for RemoteAddress match conditions
Instance Attribute Summary collapse
-
#match_values ⇒ Array<String>
will apply to each value in here with OR semantics.
-
#negate_condition ⇒ Boolean
Describes if this is negate condition or not.
-
#odatatype ⇒ String
‘#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters’ .
-
#operator ⇒ RemoteAddressOperator
Possible values include: ‘Any’, ‘IPMatch’, ‘GeoMatch’.
-
#transforms ⇒ Array<Transform>
List of transforms.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RemoteAddressMatchConditionParameters class as Ruby Hash.
Instance Attribute Details
#match_values ⇒ Array<String>
will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
31 32 33 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 31 def match_values @match_values end |
#negate_condition ⇒ Boolean
Returns Describes if this is negate condition or not.
25 26 27 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 25 def negate_condition @negate_condition end |
#odatatype ⇒ String
‘#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters’ .
18 19 20 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 18 def odatatype @odatatype end |
#operator ⇒ RemoteAddressOperator
Possible values include: ‘Any’, ‘IPMatch’, ‘GeoMatch’
22 23 24 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 22 def operator @operator end |
#transforms ⇒ Array<Transform>
Returns List of transforms.
34 35 36 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 34 def transforms @transforms end |
Class Method Details
.mapper ⇒ Object
Mapper for RemoteAddressMatchConditionParameters class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RemoteAddressMatchConditionParameters', type: { name: 'Composite', class_name: 'RemoteAddressMatchConditionParameters', model_properties: { odatatype: { client_side_validation: true, required: true, is_constant: true, serialized_name: '@odata\\.type', default_value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters', type: { name: 'String' } }, operator: { client_side_validation: true, required: true, serialized_name: 'operator', type: { name: 'String' } }, negate_condition: { client_side_validation: true, required: false, serialized_name: 'negateCondition', type: { name: 'Boolean' } }, match_values: { client_side_validation: true, required: false, serialized_name: 'matchValues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, transforms: { client_side_validation: true, required: false, serialized_name: 'transforms', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TransformElementType', type: { name: 'String' } } } } } } } end |