{ "swagger": "2.0", "info": { "title": "PostgreSQLManagementClient", "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", "version": "2024-08-01" }, "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": "Microsoft Entra OAuth2 Flow", "scopes": { "user_impersonation": "impersonate your user account" } } }, "paths": { "/providers/Microsoft.DBforPostgreSQL/operations": { "get": { "tags": [ "Operations" ], "operationId": "Operations_List", "x-ms-examples": { "List all available REST API operations.": { "$ref": "./examples/OperationList.json" } }, "description": "Lists all available REST API operations.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OperationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } } } }, "definitions": { "OperationDisplay": { "type": "object", "properties": { "provider": { "type": "string", "readOnly": true, "description": "Name of the resource provider." }, "resource": { "type": "string", "readOnly": true, "description": "Type of resource on which the operation is performed." }, "operation": { "type": "string", "readOnly": true, "description": "Name of the operation." }, "description": { "type": "string", "readOnly": true, "description": "Description of the operation." } }, "description": "Display metadata associated with the operation." }, "Operation": { "type": "object", "properties": { "name": { "type": "string", "readOnly": true, "description": "Name of the operation being performed on this particular object." }, "display": { "$ref": "#/definitions/OperationDisplay", "readOnly": true, "description": "Localized display information for this particular operation or action." }, "isDataAction": { "description": "Indicates if the operation is a data action.", "type": "boolean" }, "origin": { "type": "string", "readOnly": true, "description": "Intended executor of the operation.", "enum": [ "NotSpecified", "user", "system" ], "x-ms-enum": { "name": "OperationOrigin", "modelAsString": true } }, "properties": { "type": "object", "additionalProperties": { "type": "object" }, "readOnly": true, "x-ms-client-flatten": false, "description": "Additional descriptions for the operation." } }, "description": "REST API operation definition." }, "OperationListResult": { "description": "List of resource provider operations.", "type": "object", "properties": { "value": { "description": "Collection of available operation details", "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/Operation" }, "x-ms-identifiers": [ "name" ] }, "nextLink": { "description": "Link used to get the next page of results.", "type": "string" } } } }, "parameters": {} }