-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add loggers, diagnostics, certificates and backends to workspace #27262
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
Mielek
merged 34 commits into
Azure:release-ApiManagement-2023-09-01-preview
from
Mielek:rm/2023-09-01-preview/main
Mar 22, 2024
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
54ffc30
Add loggers to workspaces
Mielek 614f6fb
Add diagnostics to workspace
Mielek 32fc612
Add certificates to workspace
Mielek 6e05a59
Add backends to workspaces
Mielek 0639024
Change DiagnosticContract to DiagnosticContractProperties in patch
Mielek b767af9
Revert back DiagnosticContractProperties to DiagnosticContract
Mielek 430c957
Fix CI and add files to readme
Mielek 66090f3
Fix example
Mielek b648334
remove reconnect endpoint
Mielek 97fda66
Add suppressions
Mielek bb23346
Try different suppression where
Mielek 3618545
Try different suppression
Mielek 40e6fca
Try other suppression
Mielek 2fa31e4
another test
Mielek c1da7e0
finally working suppression
Mielek 44f945f
remove unwanted line
Mielek 5564779
Revert "remove reconnect endpoint"
Mielek c26f980
Remove reconnect endpoint
Mielek ba5b2cb
fix
Mielek 4319100
Lint fix
Mielek 56b8042
Revert "Lint fix"
Mielek 94722ec
Suppress
Mielek 0234c93
Suppression update
Mielek 9d17f90
Add diagnostic update contract
Mielek 3d3497c
update suppression
Mielek 4a8917c
suppression update
Mielek d42ffc4
supp
Mielek efd077c
supp2
Mielek 52851d5
supp3
Mielek 97267b3
Fix breaking change
Mielek fe03958
revert
Mielek 7b762c6
update
Mielek 283abfb
Merge branch 'release-ApiManagement-2023-09-01-preview' into rm/2023-…
Mielek 48378b2
I hope last fix
Mielek 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
397 changes: 397 additions & 0 deletions
397
...rce-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimworkspacebackends.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,397 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "ApiManagementClient", | ||
| "description": "Use these REST APIs for performing operations on Backend entity in Azure API Management deployment. The Backend entity in API Management represents a backend service that is configured to skip certification chain validation when using a self-signed certificate to test mutual certificate authentication.", | ||
| "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}/workspaces/{workspaceId}/backends": { | ||
| "get": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_ListByWorkspace", | ||
| "description": "Lists a collection of backends in the specified workspace.", | ||
| "x-ms-examples": { | ||
| "ApiManagementListWorkspaceBackends": { | ||
| "$ref": "./examples/ApiManagementListWorkspaceBackends.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "name": "$filter", | ||
| "in": "query", | ||
| "required": false, | ||
| "type": "string", | ||
| "description": "| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| title | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| url | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/TopQueryParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/SkipQueryParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Lists a collection of Backend entities.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendCollection" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| }, | ||
| "x-ms-odata": "./definitions.json#/definitions/BackendContract" | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/backends/{backendId}": { | ||
| "head": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_GetEntityTag", | ||
| "description": "Gets the entity state (Etag) version of the backend specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementHeadWorkspaceBackend": { | ||
| "$ref": "./examples/ApiManagementHeadWorkspaceBackend.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/BackendIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Specified backend entity exists and current entity state version is present in the ETag header.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "get": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_Get", | ||
| "description": "Gets the details of the backend specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementGetWorkspaceBackend": { | ||
| "$ref": "./examples/ApiManagementGetWorkspaceBackend.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/BackendIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "The response body contains the specified Backend entity.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "put": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_CreateOrUpdate", | ||
| "description": "Creates or Updates a backend.", | ||
| "x-ms-examples": { | ||
| "ApiManagementCreateWorkspaceBackendServiceFabric": { | ||
| "$ref": "./examples/ApiManagementCreateWorkspaceBackendServiceFabric.json" | ||
| }, | ||
| "ApiManagementCreateWorkspaceBackendProxyBackend": { | ||
| "$ref": "./examples/ApiManagementCreateWorkspaceBackendProxyBackend.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/BackendIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendContract" | ||
| }, | ||
| "description": "Create parameters." | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "201": { | ||
| "description": "Backend was successfully created.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendContract" | ||
| } | ||
| }, | ||
| "200": { | ||
| "description": "The existing backend was successfully updated.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendContract" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "patch": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_Update", | ||
| "description": "Updates an existing backend.", | ||
| "x-ms-examples": { | ||
| "ApiManagementUpdateWorkspaceBackend": { | ||
| "$ref": "./examples/ApiManagementUpdateWorkspaceBackend.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/BackendIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendUpdateParameters" | ||
| }, | ||
| "description": "Update parameters." | ||
| }, | ||
| { | ||
| "$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": { | ||
| "200": { | ||
| "description": "The existing backend was successfully updated.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/BackendContract" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "delete": { | ||
| "tags": [ | ||
| "Backend" | ||
| ], | ||
| "operationId": "WorkspaceBackend_Delete", | ||
| "description": "Deletes the specified backend.", | ||
| "x-ms-examples": { | ||
| "ApiManagementDeleteWorkspaceBackend": { | ||
| "$ref": "./examples/ApiManagementDeleteWorkspaceBackend.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/WorkspaceIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/BackendIdParameter" | ||
| }, | ||
| { | ||
| "$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": { | ||
| "200": { | ||
| "description": "The backend was successfully deleted." | ||
| }, | ||
| "204": { | ||
| "description": "The backend was successfully deleted." | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": {}, | ||
| "parameters": {} | ||
| } | ||
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.