Skip to content

Commit

Permalink
Merge release api management 2023 09 01 preview - Active (#29184)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.ApiManagement from version preview/2023-05-01-preview to version 2023-09-01-preview

* Updates readme

* Updates API version in new specs and examples

* feat(apim): Introduce gateway resource (#27757)

* WIP

* Update sample

* WIP

* Add GatewayNameParameter

* Clean up

* Update sample

* Add another sample

* Add sample for delete gateway

* Remove endpoints

* Fix typo

* Add list sample

* Clean up

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Add disclaimer

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Make it pretty 💄

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Refer to new file

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Add missing ApiManagementGatewayListResult

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update sample reference

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove ApiManagementGatewayIdentity + List by operation

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Add more sample

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Latest version of common types

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove 200 for delete

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Formatting and re-order

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Align with spec

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Align sample with spec

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Error response from common types

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Rename SKU name

* Have seperate SKU for patch to not make it mandatory

* Remove empty required

* Improve note

* Rename schema

* Remove unused type

* sku.capacity should not be required

---------

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Add loggers, diagnostics, certificates and backends to workspace (#27262)

* Add loggers to workspaces

* Add diagnostics to workspace

* Add certificates to workspace

* Add backends to workspaces

* Change DiagnosticContract to DiagnosticContractProperties in patch

* Revert back DiagnosticContractProperties to DiagnosticContract

* Fix CI and add files to readme

* Fix example

* remove reconnect endpoint

* Add suppressions

* Try different suppression where

* Try different suppression

* Try other suppression

* another test

* finally working suppression

* remove unwanted line

* remove secret examples (#28409)

* Modify CircuitBreaker and BackendPool Contract (#28397)

* md cb contract

* modify pool contract

* correct the limits

---------

Co-authored-by: Samir Solanki <samirsolanki@outlook.com>

* Common Error Response (#28408)

* add operation statuses resource (#28591)

* add operation statuses resource

* fix api-version

* Add locations/operationsResults endpoint for DELETE workflow (#28808)

* add operation results

* fix spec

* operationresults

* fix file name

* feat(Workspace): Add new SkuType for Workspace (#28903)

* new skutype

* virtualNetworkType

* remove default from patch

* List skus API

* add model for sku

* caps enums

* feat)Gateway): Adding gateway config resource (#28478)

* added gateway config resource

* removing Head gateway Config call

* updates

* resolving errors

* trying to resolve more model validations

* resolving some model validations

* resolving model validations

* resoloving delete example errors

* Swagger Prettier

* prettier

* updating so patch has same response as get and put

* removing path for gateway config

* addressing comment

* addressing comments

* nit

* path updatess

* updating as per comments

* Adding workspaceLinks

* resolving some of the errors

* resolved some errors

* resolving some of the errors

* resolving some more errors

* npx prettier

* addressing comments

* updated based on comments

* lint updates

* nit updates

---------

Co-authored-by: Samir Solanki <samirsolanki@outlook.com>

* Fix generation errors (#29207)

* fix(apim): Remove duplicate ErrorResponse schema due to move to common schema

* Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway

* Revert "Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway"

This reverts commit 8d4753d.

* Remove ApiManagement Prefix for GatewayConfigConnections

* Revert "Remove ApiManagement Prefix for GatewayConfigConnections"

This reverts commit 3e8197f.

* Gateway -> ApiGateway to prevent SDK collision with self-hosted gateway

* Create sdk-suppressions.yaml

---------

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Rafał Mielowski <rmielowski@microsoft.com>
Co-authored-by: Mahsa Sadi <mahsasadi@microsoft.com>
Co-authored-by: Vidisha Shah <102258037+vidishamsft@users.noreply.github.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
6 people authored Jun 5, 2024
1 parent ceb3b7f commit 32f566e
Show file tree
Hide file tree
Showing 741 changed files with 79,020 additions and 4 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"swagger": "2.0",
"info": {
"title": "ApiManagementClient",
"description": "REST API for getting policy status in an Azure API Management deployment.",
"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/service/{serviceName}/allPolicies": {
"get": {
"tags": [
"AllPolicies"
],
"operationId": "AllPolicies_ListByService",
"description": "Status of all policies of API Management services.",
"x-ms-examples": {
"ApiManagementListPolicyRestrictions": {
"$ref": "./examples/ApiManagementAllPolicies.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Returns an array of Policy Status.",
"schema": {
"$ref": "./definitions.json#/definitions/AllPoliciesCollection"
}
},
"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"
}
}
}
},
"definitions": {},
"parameters": {}
}
Loading

0 comments on commit 32f566e

Please sign in to comment.