|
1 | | -{ |
2 | | - "parameters": { |
3 | | - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", |
4 | | - "resourceGroupName": "examplerg", |
5 | | - "environmentName": "testcontainerenv", |
6 | | - "api-version": "2022-11-01-preview", |
7 | | - "environmentEnvelope": { |
8 | | - "location": "East US", |
9 | | - "properties": { |
10 | | - "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", |
11 | | - "appLogsConfiguration": { |
12 | | - "logAnalyticsConfiguration": { |
13 | | - "customerId": "string", |
14 | | - "sharedKey": "string" |
15 | | - } |
16 | | - }, |
17 | | - "zoneRedundant": true, |
18 | | - "vnetConfiguration": { |
19 | | - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
20 | | - }, |
21 | | - "customDomainConfiguration": { |
22 | | - "dnsSuffix": "www.my-name.com", |
23 | | - "certificateValue": "Y2VydA==", |
24 | | - "certificatePassword": "1234" |
25 | | - }, |
26 | | - "workloadProfiles": [ |
27 | | - { |
28 | | - "name": "My-GP-01", |
29 | | - "workloadProfileType": "GeneralPurpose", |
30 | | - "minimumCount": 3, |
31 | | - "maximumCount": 12 |
32 | | - }, |
33 | | - { |
34 | | - "name": "My-MO-01", |
35 | | - "workloadProfileType": "MemoryOptimized", |
36 | | - "minimumCount": 3, |
37 | | - "maximumCount": 6 |
38 | | - }, |
39 | | - { |
40 | | - "name": "My-CO-01", |
41 | | - "workloadProfileType": "ComputeOptimized", |
42 | | - "minimumCount": 3, |
43 | | - "maximumCount": 6 |
44 | | - }, |
45 | | - { |
46 | | - "name": "My-consumption-01", |
47 | | - "workloadProfileType": "Consumption" |
48 | | - } |
49 | | - ], |
50 | | - "infrastructureResourceGroup": "myInfrastructureRgName" |
51 | | - } |
52 | | - } |
53 | | - }, |
54 | | - "responses": { |
55 | | - "200": { |
56 | | - "body": { |
57 | | - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", |
58 | | - "name": "testcontainerenv", |
59 | | - "type": "Microsoft.App/managedEnvironments", |
60 | | - "location": "East US", |
61 | | - "properties": { |
62 | | - "provisioningState": "Succeeded", |
63 | | - "deploymentErrors": null, |
64 | | - "defaultDomain": "testcontainerenv.k4apps.io", |
65 | | - "staticIp": "1.2.3.4", |
66 | | - "appLogsConfiguration": { |
67 | | - "logAnalyticsConfiguration": { |
68 | | - "customerId": "string" |
69 | | - } |
70 | | - }, |
71 | | - "zoneRedundant": true, |
72 | | - "vnetConfiguration": { |
73 | | - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
74 | | - }, |
75 | | - "customDomainConfiguration": { |
76 | | - "customDomainVerificationId": "custom domain verification id", |
77 | | - "dnsSuffix": "www.my-name.com", |
78 | | - "subjectName": "CN=www.my-name.com", |
79 | | - "expirationDate": "2022-11-06T04:00:00Z", |
80 | | - "thumbprint": "CERTIFICATE_THUMBPRINT" |
81 | | - }, |
82 | | - "eventStreamEndpoint": "testEndpoint", |
83 | | - "workloadProfiles": [ |
84 | | - { |
85 | | - "name": "My-GP-01", |
86 | | - "workloadProfileType": "GeneralPurpose", |
87 | | - "minimumCount": 3, |
88 | | - "maximumCount": 12 |
89 | | - }, |
90 | | - { |
91 | | - "name": "My-MO-01", |
92 | | - "workloadProfileType": "MemoryOptimized", |
93 | | - "minimumCount": 3, |
94 | | - "maximumCount": 6 |
95 | | - }, |
96 | | - { |
97 | | - "name": "My-CO-01", |
98 | | - "workloadProfileType": "ComputeOptimized", |
99 | | - "minimumCount": 3, |
100 | | - "maximumCount": 6 |
101 | | - }, |
102 | | - { |
103 | | - "name": "My-consumption-01", |
104 | | - "workloadProfileType": "Consumption" |
105 | | - } |
106 | | - ], |
107 | | - "infrastructureResourceGroup": "myInfrastructureRgName" |
108 | | - } |
109 | | - } |
110 | | - }, |
111 | | - "201": { |
112 | | - "body": { |
113 | | - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", |
114 | | - "name": "testcontainerenv", |
115 | | - "type": "Microsoft.App/managedEnvironments", |
116 | | - "location": "East US", |
117 | | - "properties": { |
118 | | - "provisioningState": "InitializationInProgress", |
119 | | - "deploymentErrors": null, |
120 | | - "defaultDomain": "testcontainerenv.k4apps.io", |
121 | | - "staticIp": "1.2.3.4", |
122 | | - "appLogsConfiguration": { |
123 | | - "logAnalyticsConfiguration": { |
124 | | - "customerId": "string" |
125 | | - } |
126 | | - }, |
127 | | - "zoneRedundant": true, |
128 | | - "vnetConfiguration": { |
129 | | - "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
130 | | - }, |
131 | | - "customDomainConfiguration": { |
132 | | - "customDomainVerificationId": "custom domain verification id", |
133 | | - "dnsSuffix": "www.my-name.com", |
134 | | - "subjectName": "CN=www.my-name.com", |
135 | | - "expirationDate": "2022-11-06T04:00:00Z", |
136 | | - "thumbprint": "CERTIFICATE_THUMBPRINT" |
137 | | - }, |
138 | | - "eventStreamEndpoint": "testEndpoint", |
139 | | - "workloadProfiles": [ |
140 | | - { |
141 | | - "name": "My-GP-01", |
142 | | - "workloadProfileType": "GeneralPurpose", |
143 | | - "minimumCount": 3, |
144 | | - "maximumCount": 12 |
145 | | - }, |
146 | | - { |
147 | | - "name": "My-MO-01", |
148 | | - "workloadProfileType": "MemoryOptimized", |
149 | | - "minimumCount": 3, |
150 | | - "maximumCount": 6 |
151 | | - }, |
152 | | - { |
153 | | - "name": "My-CO-01", |
154 | | - "workloadProfileType": "ComputeOptimized", |
155 | | - "minimumCount": 3, |
156 | | - "maximumCount": 6 |
157 | | - }, |
158 | | - { |
159 | | - "name": "My-consumption-01", |
160 | | - "workloadProfileType": "Consumption" |
161 | | - } |
162 | | - ], |
163 | | - "infrastructureResourceGroup": "myInfrastructureRgName" |
164 | | - } |
165 | | - } |
166 | | - } |
167 | | - } |
168 | | -} |
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", |
| 4 | + "resourceGroupName": "examplerg", |
| 5 | + "environmentName": "testcontainerenv", |
| 6 | + "api-version": "2022-11-01-preview", |
| 7 | + "environmentEnvelope": { |
| 8 | + "location": "East US", |
| 9 | + "properties": { |
| 10 | + "daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", |
| 11 | + "appLogsConfiguration": { |
| 12 | + "logAnalyticsConfiguration": { |
| 13 | + "customerId": "string", |
| 14 | + "sharedKey": "string" |
| 15 | + } |
| 16 | + }, |
| 17 | + "zoneRedundant": true, |
| 18 | + "vnetConfiguration": { |
| 19 | + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
| 20 | + }, |
| 21 | + "customDomainConfiguration": { |
| 22 | + "dnsSuffix": "www.my-name.com", |
| 23 | + "certificateValue": "Y2VydA==", |
| 24 | + "certificatePassword": "1234" |
| 25 | + }, |
| 26 | + "workloadProfiles": [ |
| 27 | + { |
| 28 | + "name": "My-GP-01", |
| 29 | + "workloadProfileType": "GeneralPurpose", |
| 30 | + "minimumCount": 3, |
| 31 | + "maximumCount": 12 |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "My-MO-01", |
| 35 | + "workloadProfileType": "MemoryOptimized", |
| 36 | + "minimumCount": 3, |
| 37 | + "maximumCount": 6 |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "My-CO-01", |
| 41 | + "workloadProfileType": "ComputeOptimized", |
| 42 | + "minimumCount": 3, |
| 43 | + "maximumCount": 6 |
| 44 | + }, |
| 45 | + { |
| 46 | + "name": "My-consumption-01", |
| 47 | + "workloadProfileType": "Consumption" |
| 48 | + } |
| 49 | + ], |
| 50 | + "infrastructureResourceGroup": "myInfrastructureRgName" |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "responses": { |
| 55 | + "200": { |
| 56 | + "body": { |
| 57 | + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", |
| 58 | + "name": "testcontainerenv", |
| 59 | + "type": "Microsoft.App/managedEnvironments", |
| 60 | + "location": "East US", |
| 61 | + "properties": { |
| 62 | + "provisioningState": "Succeeded", |
| 63 | + "deploymentErrors": null, |
| 64 | + "defaultDomain": "testcontainerenv.k4apps.io", |
| 65 | + "staticIp": "1.2.3.4", |
| 66 | + "appLogsConfiguration": { |
| 67 | + "logAnalyticsConfiguration": { |
| 68 | + "customerId": "string" |
| 69 | + } |
| 70 | + }, |
| 71 | + "zoneRedundant": true, |
| 72 | + "vnetConfiguration": { |
| 73 | + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
| 74 | + }, |
| 75 | + "customDomainConfiguration": { |
| 76 | + "customDomainVerificationId": "custom domain verification id", |
| 77 | + "dnsSuffix": "www.my-name.com", |
| 78 | + "subjectName": "CN=www.my-name.com", |
| 79 | + "expirationDate": "2022-11-06T04:00:00Z", |
| 80 | + "thumbprint": "CERTIFICATE_THUMBPRINT" |
| 81 | + }, |
| 82 | + "eventStreamEndpoint": "testEndpoint", |
| 83 | + "workloadProfiles": [ |
| 84 | + { |
| 85 | + "name": "My-GP-01", |
| 86 | + "workloadProfileType": "GeneralPurpose", |
| 87 | + "minimumCount": 3, |
| 88 | + "maximumCount": 12 |
| 89 | + }, |
| 90 | + { |
| 91 | + "name": "My-MO-01", |
| 92 | + "workloadProfileType": "MemoryOptimized", |
| 93 | + "minimumCount": 3, |
| 94 | + "maximumCount": 6 |
| 95 | + }, |
| 96 | + { |
| 97 | + "name": "My-CO-01", |
| 98 | + "workloadProfileType": "ComputeOptimized", |
| 99 | + "minimumCount": 3, |
| 100 | + "maximumCount": 6 |
| 101 | + }, |
| 102 | + { |
| 103 | + "name": "My-consumption-01", |
| 104 | + "workloadProfileType": "Consumption" |
| 105 | + } |
| 106 | + ], |
| 107 | + "infrastructureResourceGroup": "myInfrastructureRgName" |
| 108 | + } |
| 109 | + } |
| 110 | + }, |
| 111 | + "201": { |
| 112 | + "body": { |
| 113 | + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv", |
| 114 | + "name": "testcontainerenv", |
| 115 | + "type": "Microsoft.App/managedEnvironments", |
| 116 | + "location": "East US", |
| 117 | + "properties": { |
| 118 | + "provisioningState": "InitializationInProgress", |
| 119 | + "deploymentErrors": null, |
| 120 | + "defaultDomain": "testcontainerenv.k4apps.io", |
| 121 | + "staticIp": "1.2.3.4", |
| 122 | + "appLogsConfiguration": { |
| 123 | + "logAnalyticsConfiguration": { |
| 124 | + "customerId": "string" |
| 125 | + } |
| 126 | + }, |
| 127 | + "zoneRedundant": true, |
| 128 | + "vnetConfiguration": { |
| 129 | + "infrastructureSubnetId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/VNetName/subnets/subnetName1" |
| 130 | + }, |
| 131 | + "customDomainConfiguration": { |
| 132 | + "customDomainVerificationId": "custom domain verification id", |
| 133 | + "dnsSuffix": "www.my-name.com", |
| 134 | + "subjectName": "CN=www.my-name.com", |
| 135 | + "expirationDate": "2022-11-06T04:00:00Z", |
| 136 | + "thumbprint": "CERTIFICATE_THUMBPRINT" |
| 137 | + }, |
| 138 | + "eventStreamEndpoint": "testEndpoint", |
| 139 | + "workloadProfiles": [ |
| 140 | + { |
| 141 | + "name": "My-GP-01", |
| 142 | + "workloadProfileType": "GeneralPurpose", |
| 143 | + "minimumCount": 3, |
| 144 | + "maximumCount": 12 |
| 145 | + }, |
| 146 | + { |
| 147 | + "name": "My-MO-01", |
| 148 | + "workloadProfileType": "MemoryOptimized", |
| 149 | + "minimumCount": 3, |
| 150 | + "maximumCount": 6 |
| 151 | + }, |
| 152 | + { |
| 153 | + "name": "My-CO-01", |
| 154 | + "workloadProfileType": "ComputeOptimized", |
| 155 | + "minimumCount": 3, |
| 156 | + "maximumCount": 6 |
| 157 | + }, |
| 158 | + { |
| 159 | + "name": "My-consumption-01", |
| 160 | + "workloadProfileType": "Consumption" |
| 161 | + } |
| 162 | + ], |
| 163 | + "infrastructureResourceGroup": "myInfrastructureRgName" |
| 164 | + } |
| 165 | + } |
| 166 | + } |
| 167 | + } |
| 168 | +} |
0 commit comments