-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cdn] Add new preview API: 2023-07-01-preview (#24387)
* Copy latest stable version 2023-05-01 to preview directory * Rename to 2023-07-01-preview version * Update to new api and rebase all api validation fixes. * Fix ModelValidationErrors in existing example files * Revert "Fix ModelValidationErrors in existing example files" This reverts commit 62ed1c1. * Update comment * try fix validation errors in endpoints_get: * Try fix again * Reuse cdn.json UrlSigningParamIdentifier
- Loading branch information
1 parent
aacd04e
commit b7541a6
Showing
124 changed files
with
22,463 additions
and
0 deletions.
There are no files selected for viewing
6,659 changes: 6,659 additions & 0 deletions
6,659
specification/cdn/resource-manager/Microsoft.Cdn/preview/2023-07-01-preview/afdx.json
Large diffs are not rendered by default.
Oops, something went wrong.
7,042 changes: 7,042 additions & 0 deletions
7,042
specification/cdn/resource-manager/Microsoft.Cdn/preview/2023-07-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/2023-07-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/2023-07-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": "2023-07-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=2023-07-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/2023-07-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": "2023-07-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=2023-07-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ource-manager/Microsoft.Cdn/preview/2023-07-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": "2023-07-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/2023-07-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": "2023-07-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/2023-07-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": "2023-07-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=2023-07-01-preview" | ||
} | ||
} | ||
} | ||
} |
87 changes: 87 additions & 0 deletions
87
...ce-manager/Microsoft.Cdn/preview/2023-07-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": "2023-07-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=2023-07-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.