-
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.
Add 2023-11-01-preview for appplatform (#26231)
* Adds base for updating Microsoft.AppPlatform from version preview/2023-09-01-preview to version 2023-11-01-preview * Updates readme * Updates API version in new specs and examples * Fix go readme for asa api (#25897) * Update language specific readme.md for 2023-11-01-preview api version (#25898) * add more build result information in build resource (#25930) Co-authored-by: 刘清仪 <liuqingyi@liuqingyideMacBook-Pro.local> * Add apiTryOutEnabledState for api protal (#25923) * Add swagger for Spring Cloud Gateway response cache (#25924) * Update appplatform.json (#26234) * Update appplatform.json * Update appplatform.json --------- Co-authored-by: Sandy Cai <sandy.caiqing@gmail.com> Co-authored-by: Qingyi Liu <34502364+smile37773@users.noreply.github.com> Co-authored-by: 刘清仪 <liuqingyi@liuqingyideMacBook-Pro.local>
- Loading branch information
Showing
188 changed files
with
26,345 additions
and
7 deletions.
There are no files selected for viewing
15,376 changes: 15,376 additions & 0 deletions
15,376
...atform/resource-manager/Microsoft.AppPlatform/preview/2023-11-01-preview/appplatform.json
Large diffs are not rendered by default.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
...ppPlatform/preview/2023-11-01-preview/examples/ApiPortalCustomDomains_CreateOrUpdate.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,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default", | ||
"domainName": "myDomainName", | ||
"apiPortalCustomDomainResource": { | ||
"properties": { | ||
"thumbprint": "*" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"thumbprint": "*" | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals/domains", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default/domains/myDomainName", | ||
"name": "myDomainName" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"thumbprint": "*" | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals/domains", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default/domains/myDomainName", | ||
"name": "myDomainName" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rosoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortalCustomDomains_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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"domainName": "myDomainName", | ||
"apiPortalName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2023-11-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...Microsoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortalCustomDomains_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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default", | ||
"domainName": "myDomainName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"thumbprint": "*" | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals/domains", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default/domains/myDomainName", | ||
"name": "myDomainName" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...icrosoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortalCustomDomains_List.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"thumbprint": "*" | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals/domains", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default/domains/myDomain", | ||
"name": "myDomain" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
110 changes: 110 additions & 0 deletions
110
.../Microsoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortals_CreateOrUpdate.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,110 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default", | ||
"apiPortalResource": { | ||
"properties": { | ||
"public": true, | ||
"gatewayIds": [ | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" | ||
], | ||
"apiTryOutEnabledState": "Enabled" | ||
}, | ||
"sku": { | ||
"name": "E0", | ||
"tier": "Enterprise", | ||
"capacity": 2 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"public": true, | ||
"url": "test-url", | ||
"gatewayIds": [ | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" | ||
], | ||
"resourceRequests": { | ||
"cpu": "1", | ||
"memory": "1G" | ||
}, | ||
"instances": [ | ||
{ | ||
"name": "instance1", | ||
"status": "Running" | ||
}, | ||
{ | ||
"name": "instance2", | ||
"status": "Running" | ||
} | ||
], | ||
"apiTryOutEnabledState": "Enabled" | ||
}, | ||
"sku": { | ||
"name": "E0", | ||
"tier": "Enterprise", | ||
"capacity": 2 | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", | ||
"name": "default" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"public": true, | ||
"url": "test-url", | ||
"gatewayIds": [ | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" | ||
], | ||
"resourceRequests": { | ||
"cpu": "1", | ||
"memory": "1G" | ||
}, | ||
"instances": [ | ||
{ | ||
"name": "instance1", | ||
"status": "Running" | ||
}, | ||
{ | ||
"name": "instance2", | ||
"status": "Running" | ||
} | ||
] | ||
}, | ||
"sku": { | ||
"name": "E0", | ||
"tier": "Enterprise", | ||
"capacity": 2 | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", | ||
"name": "default" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...-manager/Microsoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortals_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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview", | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2023-11-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...rce-manager/Microsoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortals_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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"apiPortalName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"public": true, | ||
"url": "test-url", | ||
"gatewayIds": [ | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" | ||
], | ||
"resourceRequests": { | ||
"cpu": "1", | ||
"memory": "1G" | ||
}, | ||
"instances": [ | ||
{ | ||
"name": "instance1", | ||
"status": "Running" | ||
}, | ||
{ | ||
"name": "instance2", | ||
"status": "Running" | ||
} | ||
], | ||
"apiTryOutEnabledState": "Enabled" | ||
}, | ||
"sku": { | ||
"name": "E0", | ||
"tier": "Enterprise", | ||
"capacity": 2 | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", | ||
"name": "default" | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...ce-manager/Microsoft.AppPlatform/preview/2023-11-01-preview/examples/ApiPortals_List.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,57 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"public": true, | ||
"url": "test-url", | ||
"gatewayIds": [ | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" | ||
], | ||
"resourceRequests": { | ||
"cpu": "1", | ||
"memory": "1G" | ||
}, | ||
"instances": [ | ||
{ | ||
"name": "instance1", | ||
"status": "Running" | ||
}, | ||
{ | ||
"name": "instance2", | ||
"status": "Running" | ||
} | ||
], | ||
"apiTryOutEnabledState": "Enabled" | ||
}, | ||
"sku": { | ||
"name": "E0", | ||
"tier": "Enterprise", | ||
"capacity": 2 | ||
}, | ||
"systemData": { | ||
"createdBy": "sample-user", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-11T03:16:03.944Z", | ||
"lastModifiedBy": "sample-user", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-11T03:17:03.944Z" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apiPortals", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", | ||
"name": "default" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.