forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CDN] 2022-11-01-preview (Azure#20979)
* Init 2022-11-01-preview * Fix check * Move Validate_Secret to profile * Add AFDProfiles_Upgrade * Update api version * Add msi support * Fix check issue * Fix check issue * Fix check * Fix check * Fix check * Fix check * Fix check * Merge from 2022-05-01 * Fix comments * Update description for waf * Update incorrect description * Update incorrect description * Fix comments * Fix PrettierCheck * Update * Add Type * Added negative caching setting into CacheConfiguration * Fix checker * Delete isNegativeCachingEnabled * Add headers for 202 * Format * Format * Add headers for 202 * Add headers for 202 * Add headers for 202 * Add scenarios * Add scenarios Co-authored-by: Zhuofu Deng <[email protected]>
- Loading branch information
1 parent
ab8d1ca
commit 063f8e6
Showing
118 changed files
with
21,481 additions
and
1 deletion.
There are no files selected for viewing
6,213 changes: 6,213 additions & 0 deletions
6,213
specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/afdx.json
Large diffs are not rendered by default.
Oops, something went wrong.
7,035 changes: 7,035 additions & 0 deletions
7,035
specification/cdn/resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/cdn.json
Large diffs are not rendered by default.
Oops, something went wrong.
977 changes: 977 additions & 0 deletions
977
.../resource-manager/Microsoft.Cdn/preview/2022-11-01-preview/cdnwebapplicationfirewall.json
Large diffs are not rendered by default.
Oops, something went wrong.
119 changes: 119 additions & 0 deletions
119
...ce-manager/Microsoft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1", | ||
"customDomain": { | ||
"properties": { | ||
"hostName": "www.someDomain.net", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Succeeded", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "", | ||
"expirationDate": "" | ||
}, | ||
"domainValidationState": "Submitting", | ||
"provisioningState": "Creating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ce-manager/Microsoft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ource-manager/Microsoft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...ger/Microsoft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_ListByProfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Pending", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...soft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_RefreshValidationToken.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview" | ||
} | ||
} | ||
} | ||
} |
87 changes: 87 additions & 0 deletions
87
...ce-manager/Microsoft.Cdn/preview/2022-11-01-preview/examples/AFDCustomDomains_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "RG", | ||
"profileName": "profile1", | ||
"customDomainName": "domain1", | ||
"customDomainUpdateProperties": { | ||
"properties": { | ||
"tlsSettings": { | ||
"certificateType": "CustomerCertificate", | ||
"minimumTlsVersion": "TLS12" | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Approved", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-11-01-preview" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/domain1", | ||
"name": "domain1", | ||
"type": "Microsoft.Cdn/profiles/customdomains", | ||
"properties": { | ||
"profileName": "profile1", | ||
"hostName": "www.contoso.com", | ||
"tlsSettings": { | ||
"certificateType": "ManagedCertificate", | ||
"minimumTlsVersion": "TLS12", | ||
"secret": { | ||
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/secrets/mysecert" | ||
} | ||
}, | ||
"azureDnsZone": { | ||
"id": "" | ||
}, | ||
"preValidatedCustomDomainResourceId": { | ||
"id": "" | ||
}, | ||
"validationProperties": { | ||
"validationToken": "8c9912db-c615-4eeb-8465", | ||
"expirationDate": "2009-06-15T13:45:43.0000000Z" | ||
}, | ||
"domainValidationState": "Approved", | ||
"provisioningState": "Updating", | ||
"deploymentStatus": "NotStarted" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.