Skip to content

Commit

Permalink
Add AppPlatform 2024-05-01-preview (#28341)
Browse files Browse the repository at this point in the history
* 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
11 people authored Apr 19, 2024
1 parent 853126d commit ab93e3a
Show file tree
Hide file tree
Showing 199 changed files with 28,180 additions and 2 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
Loading

0 comments on commit ab93e3a

Please sign in to comment.