Skip to content

Commit 3fe3d32

Browse files
solankisamirazaslonovDreamlessAyingru97JatinSanghvi
authored andcommitted
Microsoft.ApiManagement : Release api-version 2021-04-01-preview (Azure#15832)
* Adds base for updating Microsoft.ApiManagement from version preview/2021-01-01-preview to version 2021-04-01-preview * Updates readme * Updates API version in new specs and examples * Added support for GraphQL API type (Azure#14851) * Added support for GraphQL API type * Added missing enum value for GraphQL APIs. * add schema definition fix from 2021-01-01-preview (Azure#14883) Co-authored-by: Alan Feng <[email protected]> * Vanguard: Get Outbound Network Dependency (Azure#14900) * outbound dependency * fix resource * Update backup/restore API for managed identities (Azure#14973) * Update backup/restore API for system-assigned and user-assigned identities * Fix formatting issue * Rename user-assigned-msi-client-id with client-id * SystemData implemenation on API Management Control Plane (Azure#14899) * system-data * fix spec * remove unreferenced file * APIM - Network Watcher Connectivity Check integration specs (Azure#15056) * Connectivity Check API Specs * Fix * Fix errors * style fixs * Fix 202 code * HTTPConnect request parameters * Fix errors Co-authored-by: Nicolás Barrera <[email protected]> * Parameter examples added (Azure#14836) * platformversion (Azure#15114) * fix update service (Azure#15478) * HttpConnect example (Azure#15493) * HttpConnect example * Prettifier fix Co-authored-by: Nicolás Barrera <[email protected]> * Added properties of difference API spec format for "SchemaDocumentProperties" (Azure#15703) * add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix * [APIM]Add private endpoint connection APIs (Azure#15115) * Add private endpoint connection apis * add readme * quick fixes * fix to PE contract * Small fixes * small fixes * small fixes * Small fixes * small fixes * small fix * small fixes * small fixes * small fixes * Update readme.md * fix error * small fix * fix format * address comments * small fixes * Change to lower case * small fixes Co-authored-by: msyyc <[email protected]> * Adds base for updating Microsoft.ApiManagement from version preview/2021-01-01-preview to version 2021-04-01-preview * Updates readme * Updates API version in new specs and examples * Added support for GraphQL API type (Azure#14851) * Added support for GraphQL API type * Added missing enum value for GraphQL APIs. * add schema definition fix from 2021-01-01-preview (Azure#14883) Co-authored-by: Alan Feng <[email protected]> * Vanguard: Get Outbound Network Dependency (Azure#14900) * outbound dependency * fix resource * Update backup/restore API for managed identities (Azure#14973) * Update backup/restore API for system-assigned and user-assigned identities * Fix formatting issue * Rename user-assigned-msi-client-id with client-id * SystemData implemenation on API Management Control Plane (Azure#14899) * system-data * fix spec * remove unreferenced file * APIM - Network Watcher Connectivity Check integration specs (Azure#15056) * Connectivity Check API Specs * Fix * Fix errors * style fixs * Fix 202 code * HTTPConnect request parameters * Fix errors Co-authored-by: Nicolás Barrera <[email protected]> * Parameter examples added (Azure#14836) * platformversion (Azure#15114) * fix update service (Azure#15478) * HttpConnect example (Azure#15493) * HttpConnect example * Prettifier fix Co-authored-by: Nicolás Barrera <[email protected]> * Added properties of difference API spec format for "SchemaDocumentProperties" (Azure#15703) * add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix * [APIM]Add private endpoint connection APIs (Azure#15115) * Add private endpoint connection apis * add readme * quick fixes * fix to PE contract * Small fixes * small fixes * small fixes * Small fixes * small fixes * small fix * small fixes * small fixes * small fixes * Update readme.md * fix error * small fix * fix format * address comments * small fixes * Change to lower case * small fixes Co-authored-by: msyyc <[email protected]> * fix tenant sync contract * fix linter issues * examples for managed identity backup * prettier * Fix Apis-Get and updated comments for api-version 2021-04-01-preview (Azure#3) * add schema definition fix from 2021-01-01-preview * added fix * small fix (Azure#6) * 'examples' added to RepresentationContract (Azure#7) Co-authored-by: Alexander Zaslonov <[email protected]> Co-authored-by: DreamlessA <[email protected]> Co-authored-by: Alan Feng <[email protected]> Co-authored-by: Jatin Sanghvi <[email protected]> Co-authored-by: Nicolás Barrera <[email protected]> Co-authored-by: Nicolás Barrera <[email protected]> Co-authored-by: VitaliyKurokhtin <[email protected]> Co-authored-by: RupengLiu <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: RupengLiu <[email protected]> Co-authored-by: VitaliyKurokhtin <[email protected]>
1 parent 843589b commit 3fe3d32

File tree

9 files changed

+307
-146
lines changed

9 files changed

+307
-146
lines changed

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/apimanagement.json

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -120,27 +120,6 @@
120120
}
121121
},
122122
"description": "Lists Regions operation response details."
123-
},
124-
"Resource": {
125-
"description": "The Resource definition.",
126-
"x-ms-azure-resource": true,
127-
"properties": {
128-
"id": {
129-
"readOnly": true,
130-
"type": "string",
131-
"description": "Resource ID."
132-
},
133-
"name": {
134-
"type": "string",
135-
"description": "Resource name.",
136-
"readOnly": true
137-
},
138-
"type": {
139-
"readOnly": true,
140-
"type": "string",
141-
"description": "Resource type for API Management resource."
142-
}
143-
}
144123
}
145124
},
146125
"parameters": {
@@ -548,33 +527,33 @@
548527
"default": "xml",
549528
"x-ms-parameter-location": "method"
550529
},
551-
"PolicyFragmentIdParameter": {
552-
"name": "policyFragmentId",
530+
"PolicyIdParameter": {
531+
"name": "policyId",
553532
"in": "path",
554533
"required": true,
555534
"type": "string",
556535
"enum": [
557-
"policyFragment"
536+
"policy"
558537
],
559-
"description": "The identifier of the Policy Fragment.",
538+
"description": "The identifier of the Policy.",
560539
"x-ms-enum": {
561540
"modelAsString": true,
562-
"name": "PolicyFragmentIdName"
541+
"name": "PolicyIdName"
563542
},
564543
"x-ms-parameter-location": "method"
565544
},
566-
"PolicyIdParameter": {
567-
"name": "policyId",
545+
"PolicyFragmentIdParameter": {
546+
"name": "policyFragmentId",
568547
"in": "path",
569548
"required": true,
570549
"type": "string",
571550
"enum": [
572-
"policy"
551+
"policyFragment"
573552
],
574-
"description": "The identifier of the Policy.",
553+
"description": "The identifier of the Policy Fragment.",
575554
"x-ms-enum": {
576555
"modelAsString": true,
577-
"name": "PolicyIdName"
556+
"name": "PolicyFragmentIdName"
578557
},
579558
"x-ms-parameter-location": "method"
580559
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/apimapis.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,7 @@
172172
}
173173
},
174174
"produces": [
175-
"application/json",
176-
"application/vnd.sun.wadl+xml",
177-
"application/vnd.swagger.doc+json",
178-
"application/wsdl+xml",
179-
"application/vnd.oai.openapi",
180-
"application/vnd.oai.openapi+json"
175+
"application/json"
181176
],
182177
"parameters": [
183178
{

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/apimdeployment.json

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -132,26 +132,26 @@
132132
}
133133
},
134134
"parameters": [
135-
{
136-
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
137-
},
138135
{
139136
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
140137
},
141138
{
142139
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
143140
},
144-
{
145-
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
146-
},
147141
{
148142
"name": "parameters",
149143
"in": "body",
150144
"required": true,
151145
"schema": {
152146
"$ref": "#/definitions/ApiManagementServiceBackupRestoreParameters"
153147
},
154-
"description": "Parameters supplied to the ApiManagementService_Restore operation."
148+
"description": "Parameters supplied to the Restore API Management service from backup operation."
149+
},
150+
{
151+
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
152+
},
153+
{
154+
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
155155
}
156156
],
157157
"responses": {
@@ -185,23 +185,23 @@
185185
"operationId": "ApiManagementService_Backup",
186186
"description": "Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.",
187187
"x-ms-examples": {
188-
"ApiManagementCreateBackup": {
188+
"ApiManagementBackupWithAccessKey": {
189189
"$ref": "./examples/ApiManagementBackupWithAccessKey.json"
190+
},
191+
"ApiManagementBackupWithSystemManagedIdentity": {
192+
"$ref": "./examples/ApiManagementBackupWithSystemManagedIdentity.json"
193+
},
194+
"ApiManagementBackupWithUserAssignedManagedIdentity": {
195+
"$ref": "./examples/ApiManagementBackupWithUserAssignedManagedIdentity.json"
190196
}
191197
},
192198
"parameters": [
193-
{
194-
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
195-
},
196199
{
197200
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
198201
},
199202
{
200203
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
201204
},
202-
{
203-
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
204-
},
205205
{
206206
"name": "parameters",
207207
"in": "body",
@@ -210,6 +210,12 @@
210210
"$ref": "#/definitions/ApiManagementServiceBackupRestoreParameters"
211211
},
212212
"description": "Parameters supplied to the ApiManagementService_Backup operation."
213+
},
214+
{
215+
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
216+
},
217+
{
218+
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
213219
}
214220
],
215221
"responses": {

0 commit comments

Comments
 (0)