-
Notifications
You must be signed in to change notification settings - Fork 5.7k
feat)Gateway): Adding gateway config resource #28478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
solankisamir
merged 33 commits into
Azure:release-ApiManagement-2023-09-01-preview
from
vidishamsft:gatewayConfig-2023-09-01-preview
May 21, 2024
Merged
Changes from 21 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
5f06a19
added gateway config resource
vidishamsft ba203f9
removing Head gateway Config call
vidishamsft 4a8f029
updates
vidishamsft b404dd5
resolving errors
vidishamsft 3a2e0dc
trying to resolve more model validations
vidishamsft 0397a4e
resolving some model validations
vidishamsft 119a56f
resolving model validations
vidishamsft e5a5a77
resoloving delete example errors
vidishamsft 9daf3c4
Swagger Prettier
vidishamsft f6e03ee
Merge branch 'release-ApiManagement-2023-09-01-preview' into gatewayC…
solankisamir 884fa54
prettier
vidishamsft ac071e3
Merge branch 'gatewayConfig-2023-09-01-preview' of https://github.com…
vidishamsft f46d505
updating so patch has same response as get and put
vidishamsft 54c5af5
removing path for gateway config
vidishamsft b417831
Merge branch 'release-ApiManagement-2023-09-01-preview' into gatewayC…
solankisamir 4ec94e2
addressing comment
vidishamsft 25c5b03
Merge branch 'gatewayConfig-2023-09-01-preview' of https://github.com…
vidishamsft 3d95ca2
addressing comments
vidishamsft afb3abb
nit
vidishamsft 8d79ff5
path updatess
vidishamsft 0771289
updating as per comments
vidishamsft c931bf8
Adding workspaceLinks
vidishamsft e501473
resolving some of the errors
vidishamsft 028e9c2
resolved some errors
vidishamsft 71a3aa8
resolving some of the errors
vidishamsft 3414256
resolving some more errors
vidishamsft a100276
npx prettier
vidishamsft da99dd6
addressing comments
vidishamsft 550148a
updated based on comments
vidishamsft 956d6db
Merge branch 'release-ApiManagement-2023-09-01-preview' into gatewayC…
solankisamir a4cb02d
lint updates
vidishamsft 7f3c6ce
Merge branch 'gatewayConfig-2023-09-01-preview' of https://github.com…
vidishamsft 98f8c69
nit updates
vidishamsft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
248 changes: 248 additions & 0 deletions
248
...ager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimgatewayConfigConnections.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,248 @@ | ||
| { | ||
| "swagger": "2.0", | ||
|
vidishamsft marked this conversation as resolved.
|
||
| "info": { | ||
| "title": "ApiManagementClient", | ||
| "description": "Use these REST APIs to manage Azure API Management gateway config connections deployments.", | ||
| "version": "2023-09-01-preview" | ||
| }, | ||
| "host": "management.azure.com", | ||
| "schemes": [ | ||
| "https" | ||
| ], | ||
| "consumes": [ | ||
| "application/json" | ||
| ], | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow.", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "paths": { | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/gateways/{gatewayName}/configConnections": { | ||
| "get": { | ||
| "tags": [ | ||
| "ApiManagementGatewayConfigConnection" | ||
| ], | ||
| "operationId": "ApiManagementGatewayConfigConnection_ListByGateway", | ||
| "description": "List all API Management gateway config connections within a gateway.", | ||
| "x-ms-examples": { | ||
| "ApiManagementListGatewayConfigConnection": { | ||
| "$ref": "./examples/ApiManagementListGatewayConfigConnection.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/GatewayNameParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "The API Management gateway config connection list.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionListResult" | ||
|
|
||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| } | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/gateways/{gatewayName}/configConnections/{configConnectionId}": { | ||
|
vidishamsft marked this conversation as resolved.
Outdated
|
||
| "get": { | ||
| "tags": [ | ||
| "ApiManagementGatewayConfigConnection" | ||
| ], | ||
| "operationId": "ApiManagementGatewayConfigConnection_Get", | ||
| "description": "Gets an API Management gateway config connection resource description.", | ||
| "x-ms-examples": { | ||
| "ApiManagementGetGatewayConfigConnection": { | ||
| "$ref": "./examples/ApiManagementGetGatewayConfigConnection.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/GatewayNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ConfigConnectionIdParameter" | ||
|
vidishamsft marked this conversation as resolved.
Outdated
|
||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Successfully got the API Management gateway config connection resource.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionResource" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "put": { | ||
| "tags": [ | ||
| "ApiManagementGatewayConfigConnection" | ||
| ], | ||
| "operationId": "ApiManagementGatewayConfigConnection_CreateOrUpdate", | ||
| "description": "Creates or updates an API Management gateway config connection. This is long running operation and could take several minutes to complete.", | ||
| "x-ms-examples": { | ||
| "ApiManagementCreateGatewayConfigConnection": { | ||
| "$ref": "./examples/ApiManagementCreateGatewayConfigConnection.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/GatewayNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ConfigConnectionIdParameter" | ||
|
vidishamsft marked this conversation as resolved.
Outdated
|
||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionResource" | ||
| }, | ||
| "description": "Parameters supplied to the CreateOrUpdate API Management gateway config connection operation." | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "The gateway config connection was successfully updated.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionResource" | ||
| } | ||
| }, | ||
| "201": { | ||
| "description": "The gateway config connection was successfully created.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionResource" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-long-running-operation": true, | ||
| "x-ms-long-running-operation-options": { | ||
| "final-state-via": "location" | ||
| } | ||
| }, | ||
| "delete": { | ||
| "tags": [ | ||
| "ApiManagementGatewayConfigConnection" | ||
| ], | ||
| "operationId": "ApiManagementGatewayConfigConnection_Delete", | ||
| "description": "Deletes an existing API Management gateway config connection.", | ||
| "x-ms-examples": { | ||
| "ApiManagementGatewayDeleteGateway": { | ||
| "$ref": "./examples/ApiManagementDeleteGatewayConfigConnection.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/GatewayNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ConfigConnectionIdParameter" | ||
|
solankisamir marked this conversation as resolved.
Outdated
|
||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "202": { | ||
| "description": "The gateway config connection delete request was accepted.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/ApiManagementGatewayConfigConnectionResource" | ||
| }, | ||
| "headers": { | ||
| "location": { | ||
| "description": "Location header", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "204": { | ||
| "description": "The gateway config connection does not exist." | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-long-running-operation": true | ||
| } | ||
| } | ||
| }, | ||
| "parameters": {} | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.