Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update odatatype #10

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"certificateSource": "AzureKeyVault",
"protocolType": "ServerNameIndication",
"certificateSourceParameters": {
"OData.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
"typeName": "KeyVaultCertificateSourceParameters",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"vaultName": "kv",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"certificateSource": "Cdn",
"protocolType": "ServerNameIndication",
"certificateSourceParameters": {
"OData.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
"typeName": "CdnCertificateSourceParameters",
"certificateType": "Shared"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"192.168.1.0/24",
"10.0.0.0/24"
],
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"
"typename": "DeliveryRuleRemoteAddressConditionParameters"
Copy link
Owner

@jorinmejia jorinmejia Jul 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the email discussion, we agreed to utilize camel casing for type name. Please utilize typeName instead and change for subsequent fields.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

}
}
],
Expand All @@ -50,7 +50,7 @@
"parameters": {
"cacheBehavior": "Override",
"cacheDuration": "10:10:09",
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
"typename": "DeliveryRuleCacheExpirationActionParameters",
"cacheType": "All"
}
},
Expand All @@ -60,7 +60,7 @@
"headerAction": "Overwrite",
"headerName": "Access-Control-Allow-Origin",
"value": "*",
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
"typename": "DeliveryRuleHeaderActionParameters"
}
},
{
Expand All @@ -69,7 +69,7 @@
"headerAction": "Overwrite",
"headerName": "Accept-Encoding",
"value": "gzip",
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
"typename": "DeliveryRuleHeaderActionParameters"
}
}
]
Expand Down Expand Up @@ -221,7 +221,7 @@
{
"name": "RemoteAddress",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
"typename": "DeliveryRuleRemoteAddressConditionParameters",
"operator": "IPMatch",
"negateCondition": true,
"matchValues": [
Expand All @@ -236,7 +236,7 @@
{
"name": "CacheExpiration",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
"typename": "DeliveryRuleCacheExpirationActionParameters",
"cacheBehavior": "Override",
"cacheDuration": "10:10:09",
"cacheType": "All"
Expand All @@ -245,7 +245,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Access-Control-Allow-Origin",
"value": "*"
Expand All @@ -254,7 +254,7 @@
{
"name": "ModifyRequestHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Accept-Encoding",
"value": "gzip"
Expand Down Expand Up @@ -357,7 +357,7 @@
{
"name": "RemoteAddress",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
"typename": "DeliveryRuleRemoteAddressConditionParameters",
"operator": "IPMatch",
"negateCondition": true,
"matchValues": [
Expand All @@ -372,7 +372,7 @@
{
"name": "CacheExpiration",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
"typename": "DeliveryRuleCacheExpirationActionParameters",
"cacheBehavior": "Override",
"cacheDuration": "10:10:09",
"cacheType": "All"
Expand All @@ -381,7 +381,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Access-Control-Allow-Origin",
"value": "*"
Expand All @@ -390,7 +390,7 @@
{
"name": "ModifyRequestHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Accept-Encoding",
"value": "gzip"
Expand Down Expand Up @@ -493,7 +493,7 @@
{
"name": "RemoteAddress",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
"typename": "DeliveryRuleRemoteAddressConditionParameters",
"operator": "IPMatch",
"negateCondition": true,
"matchValues": [
Expand All @@ -508,7 +508,7 @@
{
"name": "CacheExpiration",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
"typename": "DeliveryRuleCacheExpirationActionParameters",
"cacheBehavior": "Override",
"cacheDuration": "10:10:09",
"cacheType": "All"
Expand All @@ -517,7 +517,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Access-Control-Allow-Origin",
"value": "*"
Expand All @@ -526,7 +526,7 @@
{
"name": "ModifyRequestHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "Accept-Encoding",
"value": "gzip"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -26,7 +26,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand All @@ -48,7 +48,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -61,7 +61,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand All @@ -82,7 +82,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -95,7 +95,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand All @@ -116,7 +116,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -129,7 +129,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -32,7 +32,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -33,7 +33,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand All @@ -35,7 +35,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -48,7 +48,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand All @@ -69,7 +69,7 @@
{
"name": "RequestMethod",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters",
"typename": "DeliveryRuleRequestMethodConditionParameters",
"operator": "Equal",
"matchValues": [
"GET"
Expand All @@ -82,7 +82,7 @@
{
"name": "ModifyResponseHeader",
"parameters": {
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
"typename": "DeliveryRuleHeaderActionParameters",
"headerAction": "Overwrite",
"headerName": "X-CDN",
"value": "MSFT"
Expand Down