Skip to content

Commit aed6115

Browse files
laxmankumar12REDMOND\lakshv
andauthored
Add optional property EndpointType to the endpoints in 2021-06-01-preview (#15203)
* Add EndpointType to the endpoints. * Add example * Fix spaces * Add EndpointType to the endpoints in 2021-06-01-preview * remove unnecessary changes Co-authored-by: REDMOND\lakshv <[email protected]>
1 parent 14f9889 commit aed6115

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

specification/providerhub/resource-manager/Microsoft.ProviderHub/preview/2021-06-01-preview/examples/ResourceTypeRegistrations_CreateOrUpdate.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
],
2121
"requiredFeatures": [
2222
"<feature flag>"
23-
]
23+
],
24+
"endpointType": "Production"
2425
}
2526
],
2627
"resourceConcurrencyControlOptions": {
@@ -159,6 +160,19 @@
159160
"requiredFeatures": [
160161
"Microsoft.Contoso/RPaaSSampleApp"
161162
]
163+
},
164+
{
165+
"apiVersions": [
166+
"2021-06-01-preview"
167+
],
168+
"locations": [
169+
"East US 2 EUAP",
170+
"Central US EUAP"
171+
],
172+
"requiredFeatures": [
173+
"Microsoft.Contoso/RPaaSSampleApp"
174+
],
175+
"endpointType": "Canary"
162176
}
163177
],
164178
"swaggerSpecifications": [

specification/providerhub/resource-manager/Microsoft.ProviderHub/preview/2021-06-01-preview/providerhub.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,6 +2907,19 @@
29072907
"timeout": {
29082908
"format": "duration",
29092909
"type": "string"
2910+
},
2911+
"endpointType": {
2912+
"enum": [
2913+
"NotSpecified",
2914+
"Canary",
2915+
"Production",
2916+
"TestInProduction"
2917+
],
2918+
"type": "string",
2919+
"x-ms-enum": {
2920+
"name": "EndpointType",
2921+
"modelAsString": true
2922+
}
29102923
}
29112924
}
29122925
},
@@ -4245,6 +4258,19 @@
42454258
"timeout": {
42464259
"format": "duration",
42474260
"type": "string"
4261+
},
4262+
"endpointType": {
4263+
"enum": [
4264+
"NotSpecified",
4265+
"Canary",
4266+
"Production",
4267+
"TestInProduction"
4268+
],
4269+
"type": "string",
4270+
"x-ms-enum": {
4271+
"name": "EndpointType",
4272+
"modelAsString": true
4273+
}
42484274
}
42494275
}
42504276
},

0 commit comments

Comments
 (0)