-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AppPlatform 2024-05-01-preview (#28341)
* Adds base for updating Microsoft.AppPlatform from version preview/2024-01-01-preview to version 2024-05-01-preview * Updates readme * Updates API version in new specs and examples * Update language readme (#27911) * Update readme.go.md * Update readme.python.md * add 'enablePrivateLinks' to ServiceResource.properties.vnetAddons (#27966) * add 'enablePrivateLinks' to ServiceResource.properties.vnetAddons * fix comment * Support service mi for Azure Spring Apps in api 2024-05-01-preview (#27989) * feat: support mi for Spring Apps * fix comments --------- Co-authored-by: Frank Liu <[email protected]> * Add 'privateDnsZoneId' to ServiceResource.properties.vnetAddons (#28099) * add 'privateDnsZoneId' to ServiceResource.properties.vnetAddons * only allow private dns zone id * test empty private dns zone id * test null private dns zone id * test null private dns id * add private dns id --------- Co-authored-by: Wenhao Zhang <[email protected]> * Add job support (#28044) * update typescript.md for sapvirtualinstance (#27819) * Add job related API * empty line * workload * lint * lint * part * lint * lint * lint * example * change env model * remove addon * prettier * Refine * lint * Add snapshot * add test * fix example * comments * Make job execution resource * remove resource --------- Co-authored-by: ZiWei Chen <[email protected]> * Rename the 'privateLinkState' as 'privateStorageAccess' (#28293) * add 'enablePrivateLinks' to ServiceResource.properties.vnetAddons * fix comment * rename as 'privateStorageAccess' * remove default value * Add config server support in enterprise tier (#28212) * Support config server in enterprise tier * Add readonly * Update config server delete API Remove 200 and add Location header for 202 response * Add list config servers API * Update delete operation metadata * Add 201 for PUT config server API * fix build failure * fix check errors * do not change response code * fix typo --------- Co-authored-by: ninpan-ms <[email protected]> * add build settings API (#28103) * Update appplatform.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Create BuildSettings_Get.json * Update appplatform.json * Update BuildSettings_Get.json * Create BuildSettings_CreateOrUpdate.json * Update BuildSettings_Get.json * Create BuildSettings_Delete.json * Update BuildSettings_Get.json * Update BuildSettings_CreateOrUpdate.json * Create BuildSettings_List.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * Create BuildSettings_ListSupportedBuildSettingTypes.json * Update BuildSettings_ListSupportedBuildSettingTypes.json * Update appplatform.json * Update BuildSettings_List.json * Update BuildSettings_Get.json * Update BuildSettings_Get.json * Update BuildSettings_CreateOrUpdate.json * Update BuildSettings_Delete.json * Update BuildSettings_List.json * Update appplatform.json * Update appplatform.json * Update appplatform.json * rename file * update * update --------- Co-authored-by: Zhe Li <[email protected]> * Move ResourceRequest to JobExecutionTemplate (#28318) * revert build setting resource (#28337) * refine comments (#28377) --------- Co-authored-by: Zhe Li <[email protected]> Co-authored-by: Zhe Li <[email protected]> Co-authored-by: Frank Liu <[email protected]> Co-authored-by: Frank Liu <[email protected]> Co-authored-by: Wenhao Zhang <[email protected]> Co-authored-by: Wenhao Zhang <[email protected]> Co-authored-by: ninpan-ms <[email protected]> Co-authored-by: ZiWei Chen <[email protected]> Co-authored-by: sophiaso <[email protected]> Co-authored-by: Qingyi Liu <[email protected]>
- Loading branch information
1 parent
853126d
commit ab93e3a
Showing
199 changed files
with
28,180 additions
and
2 deletions.
There are no files selected for viewing
16,485 changes: 16,485 additions & 0 deletions
16,485
...atform/resource-manager/Microsoft.AppPlatform/preview/2024-05-01-preview/appplatform.json
Large diffs are not rendered by default.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
...ppPlatform/preview/2024-05-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": "2024-05-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/2024-05-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": "2024-05-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=2024-05-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=2024-05-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...Microsoft.AppPlatform/preview/2024-05-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": "2024-05-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/2024-05-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": "2024-05-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/2024-05-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": "2024-05-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/2024-05-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": "2024-05-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=2024-05-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=2024-05-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...rce-manager/Microsoft.AppPlatform/preview/2024-05-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": "2024-05-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/2024-05-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": "2024-05-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.