{ "swagger": "2.0", "info": { "version": "2015-12-01-preview", "title": "Compute Admin Client" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/providers/Microsoft.Compute.Admin/operations": { "get": { "x-ms-examples": { "Returns the list of supported REST operations.": { "$ref": "./examples/Operations/List.json" } }, "description": "Returns the list of supported REST operations.", "tags": [ "Compute" ], "operationId": "Operations_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OperationList" } }, "default": { "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", "schema": { "$ref": "Compute.json#/definitions/CrpErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } }, "definitions": { "Resource": { "description": "Base resource object.", "type": "object", "properties": { "id": { "readOnly": true, "description": "ID of the resource.", "type": "string" }, "name": { "readOnly": true, "description": "Name of the resource.", "type": "string" }, "type": { "readOnly": true, "description": "Type of Resource.", "type": "string" }, "location": { "description": "Location of the resource.", "type": "string" } }, "x-ms-azure-resource": true }, "CrpResource": { "description": "Base resource object.", "type": "object", "properties": { "id": { "readOnly": true, "description": "ID of the resource.", "type": "string" }, "name": { "readOnly": true, "description": "Name of the resource.", "type": "string" }, "type": { "readOnly": true, "description": "Type of Resource.", "type": "string" }, "location": { "description": "Location of the resource.", "type": "string" } }, "x-ms-azure-resource": true }, "ProvisioningState": { "description": "The provisioning state of the resource.", "enum": [ "Creating", "Failed", "Succeeded", "Canceled" ], "type": "string", "x-ms-enum": { "name": "ProvisioningState" } }, "Operation": { "description": "Describes the supported REST operation.", "type": "object", "properties": { "name": { "description": "The name of the operation being performed on this particular object. This name should match the name that appears in RBAC or the event service.", "type": "string" }, "isDataAction": { "description": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.", "type": "boolean", "readOnly": true }, "display": { "description": "Contains the localized display information for this particular operation or action.", "$ref": "#/definitions/Display" } } }, "Display": { "description": "Contains the localized display information for this particular operation or action.", "type": "object", "properties": { "provider": { "description": "The localized, friendly version of the resource provider name. The provider name is expected to include the name of the publisher or company responsible. The provider name format should use title case and begin with \"Microsoft\" for first-party services. For example, the provider name may be\"Microsoft Monitoring Insights\" or \"Microsoft Compute.\"", "type": "string" }, "resource": { "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.", "type": "string" }, "operation": { "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.", "type": "string" }, "description": { "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.", "type": "string" } } }, "OperationList": { "description": "List of Operations", "type": "object", "properties": { "value": { "description": "Array of operations", "type": "array", "items": { "$ref": "#/definitions/Operation" }, "x-ms-identifiers": [ "name" ] }, "nextLink": { "description": "URI to the next page of operations.", "type": "string" } } }, "ErrorDetail": { "description": "The error detail.", "type": "object", "properties": { "code": { "readOnly": true, "type": "string", "description": "The error code." }, "message": { "readOnly": true, "type": "string", "description": "The error message." }, "target": { "readOnly": true, "type": "string", "description": "The error target." } } }, "CrpErrorResponse": { "title": "Error response", "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", "type": "object", "properties": { "error": { "description": "The error object.", "$ref": "#/definitions/ErrorDetail" } } }, "ErrorAdditionalInfo": { "type": "object", "properties": { "type": { "readOnly": true, "type": "string", "description": "The additional info type." }, "info": { "readOnly": true, "type": "object", "description": "The additional info." } }, "description": "The resource management error additional info." } }, "parameters": { "SubscriptionIdParameter": { "name": "subscriptionId", "in": "path", "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "required": true, "type": "string" }, "LocationParameter": { "description": "Location of the resource.", "name": "location", "in": "path", "required": true, "type": "string", "x-ms-parameter-location": "method" }, "PublisherParameter": { "description": "Name of the publisher.", "name": "publisher", "in": "path", "required": true, "type": "string", "x-ms-parameter-location": "method" }, "VersionParameter": { "description": "The version of the resource.", "name": "version", "in": "path", "required": true, "type": "string", "x-ms-parameter-location": "method" } }, "securityDefinitions": { "azure_auth": { "type": "oauth2", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", "description": "Authorization uses an Azure Active Directory OAuth2 flow.", "scopes": { "user_impersonation": "impersonate your user account" } } }, "security": [ { "azure_auth": [ "user_impersonation" ] } ] }