|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2022-12-01", |
| 4 | + "subscriptionId": "00000000-0000-0000-0000-000000000000", |
| 5 | + "resourceGroupName": "myResourceGroup", |
| 6 | + "serviceName": "myservice", |
| 7 | + "apiPortalName": "default", |
| 8 | + "apiPortalResource": { |
| 9 | + "properties": { |
| 10 | + "public": true, |
| 11 | + "gatewayIds": [ |
| 12 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" |
| 13 | + ] |
| 14 | + }, |
| 15 | + "sku": { |
| 16 | + "name": "E0", |
| 17 | + "tier": "Enterprise", |
| 18 | + "capacity": 2 |
| 19 | + } |
| 20 | + } |
| 21 | + }, |
| 22 | + "responses": { |
| 23 | + "201": { |
| 24 | + "body": { |
| 25 | + "properties": { |
| 26 | + "provisioningState": "Succeeded", |
| 27 | + "public": true, |
| 28 | + "url": "test-url", |
| 29 | + "gatewayIds": [ |
| 30 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" |
| 31 | + ], |
| 32 | + "resourceRequests": { |
| 33 | + "cpu": "1", |
| 34 | + "memory": "1G" |
| 35 | + }, |
| 36 | + "instances": [ |
| 37 | + { |
| 38 | + "name": "instance1", |
| 39 | + "status": "Running" |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "instance2", |
| 43 | + "status": "Running" |
| 44 | + } |
| 45 | + ] |
| 46 | + }, |
| 47 | + "sku": { |
| 48 | + "name": "E0", |
| 49 | + "tier": "Enterprise", |
| 50 | + "capacity": 2 |
| 51 | + }, |
| 52 | + "systemData": { |
| 53 | + "createdBy": "sample-user", |
| 54 | + "createdByType": "User", |
| 55 | + "createdAt": "2021-08-11T03:16:03.944Z", |
| 56 | + "lastModifiedBy": "sample-user", |
| 57 | + "lastModifiedByType": "User", |
| 58 | + "lastModifiedAt": "2021-08-11T03:17:03.944Z" |
| 59 | + }, |
| 60 | + "type": "Microsoft.AppPlatform/Spring/apiPortals", |
| 61 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", |
| 62 | + "name": "default" |
| 63 | + } |
| 64 | + }, |
| 65 | + "200": { |
| 66 | + "body": { |
| 67 | + "properties": { |
| 68 | + "provisioningState": "Succeeded", |
| 69 | + "public": true, |
| 70 | + "url": "test-url", |
| 71 | + "gatewayIds": [ |
| 72 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default" |
| 73 | + ], |
| 74 | + "resourceRequests": { |
| 75 | + "cpu": "1", |
| 76 | + "memory": "1G" |
| 77 | + }, |
| 78 | + "instances": [ |
| 79 | + { |
| 80 | + "name": "instance1", |
| 81 | + "status": "Running" |
| 82 | + }, |
| 83 | + { |
| 84 | + "name": "instance2", |
| 85 | + "status": "Running" |
| 86 | + } |
| 87 | + ] |
| 88 | + }, |
| 89 | + "sku": { |
| 90 | + "name": "E0", |
| 91 | + "tier": "Enterprise", |
| 92 | + "capacity": 2 |
| 93 | + }, |
| 94 | + "systemData": { |
| 95 | + "createdBy": "sample-user", |
| 96 | + "createdByType": "User", |
| 97 | + "createdAt": "2021-08-11T03:16:03.944Z", |
| 98 | + "lastModifiedBy": "sample-user", |
| 99 | + "lastModifiedByType": "User", |
| 100 | + "lastModifiedAt": "2021-08-11T03:17:03.944Z" |
| 101 | + }, |
| 102 | + "type": "Microsoft.AppPlatform/Spring/apiPortals", |
| 103 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apiPortals/default", |
| 104 | + "name": "default" |
| 105 | + } |
| 106 | + } |
| 107 | + } |
| 108 | +} |
0 commit comments