Skip to content

Commit

Permalink
CodeGen from PR 11826 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b97299c968df5f99b724bd1231fd2161731d3b8f into cf617af
  • Loading branch information
SDKAuto committed Nov 26, 2020
1 parent e1f2009 commit 5a93641
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 119 deletions.
85 changes: 33 additions & 52 deletions sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,26 +512,24 @@ class CookiesMatchConditionParameters(Model):
:ivar odatatype: Required. Default value:
"#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters" .
:vartype odatatype: str
:param selector: Required. Name of Cookies to be matched
:param selector: Name of Cookies to be matched
:type selector: str
:param operator: Required. Describes operator to be matched. Possible
values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith',
'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
:type operator: str or ~azure.mgmt.cdn.models.CookiesOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'selector': {'required': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -2043,15 +2041,14 @@ class HttpVersionMatchConditionParameters(Model):
:vartype operator: str
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True, 'constant': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -2111,8 +2108,8 @@ class IsDeviceMatchConditionParameters(Model):
:vartype operator: str
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -2121,7 +2118,6 @@ class IsDeviceMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True, 'constant': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -2167,8 +2163,7 @@ class KeyVaultCertificateSourceParameters(Model):
:param secret_name: Required. The name of Key Vault Secret (representing
the full certificate PFX) in Key Vault.
:type secret_name: str
:param secret_version: Required. The version(GUID) of Key Vault Secret in
Key Vault.
:param secret_version: The version(GUID) of Key Vault Secret in Key Vault.
:type secret_version: str
:ivar update_rule: Required. Describes the action that shall be taken when
the certificate is updated in Key Vault. Default value: "NoAction" .
Expand All @@ -2184,7 +2179,6 @@ class KeyVaultCertificateSourceParameters(Model):
'resource_group_name': {'required': True},
'vault_name': {'required': True},
'secret_name': {'required': True},
'secret_version': {'required': True},
'update_rule': {'required': True, 'constant': True},
'delete_rule': {'required': True, 'constant': True},
}
Expand Down Expand Up @@ -2995,26 +2989,24 @@ class PostArgsMatchConditionParameters(Model):
:ivar odatatype: Required. Default value:
"#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters" .
:vartype odatatype: str
:param selector: Required. Name of PostArg to be matched
:param selector: Name of PostArg to be matched
:type selector: str
:param operator: Required. Describes operator to be matched. Possible
values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith',
'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
:type operator: str or ~azure.mgmt.cdn.models.PostArgsOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'selector': {'required': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3151,8 +3143,8 @@ class QueryStringMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.QueryStringOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3161,7 +3153,6 @@ class QueryStringMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3266,9 +3257,9 @@ class RemoteAddressMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.RemoteAddressOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. Match values to match against. The operator
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
:param match_values: Match values to match against. The operator 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.
:type match_values: list[str]
:param transforms: List of transforms
Expand All @@ -3278,7 +3269,6 @@ class RemoteAddressMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3316,8 +3306,8 @@ class RequestBodyMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.RequestBodyOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3326,7 +3316,6 @@ class RequestBodyMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3359,26 +3348,24 @@ class RequestHeaderMatchConditionParameters(Model):
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"
.
:vartype odatatype: str
:param selector: Required. Name of Header to be matched
:param selector: Name of Header to be matched
:type selector: str
:param operator: Required. Describes operator to be matched. Possible
values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith',
'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual'
:type operator: str or ~azure.mgmt.cdn.models.RequestHeaderOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'selector': {'required': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3418,15 +3405,14 @@ class RequestMethodMatchConditionParameters(Model):
:vartype operator: str
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True, 'constant': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3463,15 +3449,14 @@ class RequestSchemeMatchConditionParameters(Model):
:vartype operator: str
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
"""

_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True, 'constant': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3508,8 +3493,8 @@ class RequestUriMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.RequestUriOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3518,7 +3503,6 @@ class RequestUriMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3714,8 +3698,8 @@ class UrlFileExtensionMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.UrlFileExtensionOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3724,7 +3708,6 @@ class UrlFileExtensionMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3762,8 +3745,8 @@ class UrlFileNameMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.UrlFileNameOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3772,7 +3755,6 @@ class UrlFileNameMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down Expand Up @@ -3812,8 +3794,8 @@ class UrlPathMatchConditionParameters(Model):
:type operator: str or ~azure.mgmt.cdn.models.UrlPathOperator
:param negate_condition: Describes if this is negate condition or not
:type negate_condition: bool
:param match_values: Required. The match value for the condition of the
delivery rule
:param match_values: The match value for the condition of the delivery
rule
:type match_values: list[str]
:param transforms: List of transforms
:type transforms: list[str or ~azure.mgmt.cdn.models.Transform]
Expand All @@ -3822,7 +3804,6 @@ class UrlPathMatchConditionParameters(Model):
_validation = {
'odatatype': {'required': True, 'constant': True},
'operator': {'required': True},
'match_values': {'required': True},
}

_attribute_map = {
Expand Down
Loading

0 comments on commit 5a93641

Please sign in to comment.