diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json index 664360af2e1d..47e669bc5aa1 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json @@ -3058,16 +3058,9 @@ "RemoteAddressMatchConditionParameters": { "description": "Defines the parameters for RemoteAddress match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3104,16 +3097,9 @@ "RequestMethodMatchConditionParameters": { "description": "Defines the parameters for RequestMethod match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3150,16 +3136,9 @@ "QueryStringMatchConditionParameters": { "description": "Defines the parameters for QueryString match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3203,16 +3182,9 @@ "PostArgsMatchConditionParameters": { "description": "Defines the parameters for PostArgs match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters" - ] - }, "selector": { "description": "Name of PostArg to be matched", "type": "string" @@ -3260,16 +3232,9 @@ "RequestUriMatchConditionParameters": { "description": "Defines the parameters for RequestUri match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3313,16 +3278,9 @@ "RequestHeaderMatchConditionParameters": { "description": "Defines the parameters for RequestHeader match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters" - ] - }, "selector": { "description": "Name of Header to be matched", "type": "string" @@ -3370,16 +3328,9 @@ "RequestBodyMatchConditionParameters": { "description": "Defines the parameters for RequestBody match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3423,16 +3374,9 @@ "RequestSchemeMatchConditionParameters": { "description": "Defines the parameters for RequestScheme match conditions ", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3460,16 +3404,9 @@ "UrlPathMatchConditionParameters": { "description": "Defines the parameters for UrlPath match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3514,16 +3451,9 @@ "UrlFileExtensionMatchConditionParameters": { "description": "Defines the parameters for UrlFileExtension match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3567,16 +3497,9 @@ "UrlFileNameMatchConditionParameters": { "description": "Defines the parameters for UrlFilename match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3620,16 +3543,9 @@ "HttpVersionMatchConditionParameters": { "description": "Defines the parameters for HttpVersion match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3657,16 +3573,9 @@ "CookiesMatchConditionParameters": { "description": "Defines the parameters for Cookies match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters" - ] - }, "selector": { "description": "Name of Cookies to be matched", "type": "string" @@ -3714,16 +3623,9 @@ "IsDeviceMatchConditionParameters": { "description": "Defines the parameters for IsDevice match conditions", "required": [ - "operator", - "@odata.type" + "operator" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters" - ] - }, "operator": { "description": "Describes operator to be matched", "type": "string", @@ -3808,16 +3710,9 @@ "UrlRedirectActionParameters": { "description": "Defines the parameters for the url redirect action.", "required": [ - "redirectType", - "@odata.type" + "redirectType" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters" - ] - }, "redirectType": { "description": "The redirect type the rule will use when redirecting traffic.", "type": "string", @@ -3883,16 +3778,8 @@ }, "UrlSigningActionParameters": { "description": "Defines the parameters for the Url Signing action.", - "required": [ - "@odata.type" - ], + "required": [], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlSigningActionParameters" - ] - }, "algorithm": { "description": "Algorithm to use for URL signing", "type": "string", @@ -3960,16 +3847,9 @@ "OriginGroupOverrideActionParameters": { "description": "Defines the parameters for the origin group override action.", "required": [ - "originGroup", - "@odata.type" + "originGroup" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleOriginGroupOverrideActionParameters" - ] - }, "originGroup": { "description": "defines the OriginGroup that would override the DefaultOriginGroup.", "type": "object", @@ -4012,16 +3892,9 @@ "description": "Defines the parameters for the url rewrite action.", "required": [ "sourcePattern", - "destination", - "@odata.type" + "destination" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters" - ] - }, "sourcePattern": { "description": "define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.", "type": "string" @@ -4076,16 +3949,9 @@ "description": "Defines the parameters for the request header action.", "required": [ "headerAction", - "headerName", - "@odata.type" + "headerName" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters" - ] - }, "headerAction": { "description": "Action to perform", "type": "string", @@ -4131,16 +3997,9 @@ "description": "Defines the parameters for the cache expiration action.", "required": [ "cacheBehavior", - "cacheType", - "@odata.type" + "cacheType" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters" - ] - }, "cacheBehavior": { "description": "Caching behavior for the requests", "type": "string", @@ -4193,16 +4052,9 @@ "CacheKeyQueryStringActionParameters": { "description": "Defines the parameters for the cache-key query string action.", "required": [ - "queryStringBehavior", - "@odata.type" + "queryStringBehavior" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters" - ] - }, "queryStringBehavior": { "description": "Caching behavior for the requests", "type": "string", @@ -4244,16 +4096,8 @@ }, "CacheConfigurationActionParameters": { "description": "Defines the parameters for the cache configuration action. To disable caching, do not provide a cacheConfiguration object.", - "required": [ - "@odata.type" - ], + "required": [], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheConfigurationActionParameters" - ] - }, "enableCache": { "description": "A boolean field for enable or disable cache. If enableCache is true, cacheConfiguration cannot be null.", "type": "boolean" @@ -4555,7 +4399,6 @@ "KeyVaultSigningKeyParameters": { "description": "Describes the parameters for using a user's KeyVault for URL Signing Key.", "required": [ - "@odata.type", "subscriptionId", "resourceGroupName", "vaultName", @@ -4563,12 +4406,6 @@ "secretVersion" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.KeyVaultSigningKeyParameters" - ] - }, "subscriptionId": { "description": "Subscription Id of the user's Key Vault containing the secret", "type": "string" @@ -5130,16 +4967,9 @@ "CdnCertificateSourceParameters": { "description": "Defines the parameters for using CDN managed certificate for securing custom domain.", "required": [ - "@odata.type", "certificateType" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters" - ] - }, "certificateType": { "description": "Type of certificate used", "enum": [ @@ -5175,7 +5005,6 @@ "KeyVaultCertificateSourceParameters": { "description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.", "required": [ - "@odata.type", "subscriptionId", "resourceGroupName", "vaultName", @@ -5184,12 +5013,6 @@ "deleteRule" ], "properties": { - "@odata.type": { - "type": "string", - "enum": [ - "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters" - ] - }, "subscriptionId": { "description": "Subscription Id of the user's Key Vault containing the SSL certificate", "type": "string" @@ -5757,4 +5580,4 @@ "description": "Name of the Resource group within the Azure subscription." } } -} +} \ No newline at end of file