{ "swagger": "2.0", "info": { "version": "2016-08-10", "title": "RecoveryServicesBackupClient", "x-ms-code-generation-settings": { "internalConstructors": false } }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/providers/Microsoft.RecoveryServices/operations": { "get": { "tags": [ "Operations" ], "description": "Returns the list of available operations.", "operationId": "Operations_List", "parameters": [ { "$ref": "#/parameters/ApiVersion" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/ClientDiscoveryResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink", "itemName": "value" }, "x-ms-examples": { "ListOperations": { "$ref": "./examples/ListOperations.json" } } } } }, "definitions": { "ClientDiscoveryDisplay": { "description": "Localized display information of an operation.", "type": "object", "properties": { "provider": { "description": "Name of the provider for display purposes", "type": "string" }, "resource": { "description": "ResourceType for which this Operation can be performed.", "type": "string" }, "operation": { "description": "Operations Name itself.", "type": "string" }, "description": { "description": "Description of the operation having details of what operation is about.", "type": "string" } } }, "ClientDiscoveryForLogSpecification": { "description": "Class to represent shoebox log specification in json client discovery.", "type": "object", "properties": { "name": { "description": "Name for shoebox log specification.", "type": "string" }, "displayName": { "description": "Localized display name", "type": "string" }, "blobDuration": { "description": "blob duration of shoebox log specification", "type": "string" } } }, "ClientDiscoveryForProperties": { "description": "Class to represent shoebox properties in json client discovery.", "type": "object", "properties": { "serviceSpecification": { "$ref": "#/definitions/ClientDiscoveryForServiceSpecification", "description": "Operation properties." } } }, "ClientDiscoveryForServiceSpecification": { "description": "Class to represent shoebox service specification in json client discovery.", "type": "object", "properties": { "logSpecifications": { "description": "List of log specifications of this operation.", "type": "array", "items": { "$ref": "#/definitions/ClientDiscoveryForLogSpecification" } } } }, "ClientDiscoveryResponse": { "description": "Operations List response which contains list of available APIs.", "type": "object", "properties": { "value": { "description": "List of available operations.", "type": "array", "items": { "$ref": "#/definitions/ClientDiscoveryValueForSingleApi" } }, "nextLink": { "description": "Link to the next chunk of Response.", "type": "string" } } }, "ClientDiscoveryValueForSingleApi": { "description": "Available operation details.", "type": "object", "properties": { "name": { "description": "Name of the Operation.", "type": "string" }, "display": { "$ref": "#/definitions/ClientDiscoveryDisplay", "description": "Contains the localized display information for this particular operation" }, "origin": { "description": "The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX", "type": "string" }, "properties": { "$ref": "#/definitions/ClientDiscoveryForProperties", "description": "ShoeBox properties for the given operation." } } } }, "parameters": { "ApiVersion": { "name": "api-version", "in": "query", "description": "Client Api Version.", "required": true, "type": "string" } }, "securityDefinitions": { "azure_auth": { "type": "oauth2", "description": "Azure Active Directory OAuth2 Flow", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account." } } }, "security": [ { "azure_auth": [ "user_impersonation" ] } ] }