UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 9.29 kB
{"openapi":"3.0.0","info":{"title":"Azure Stack Azure Bridge Client","version":"2017-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"azurestack-AzureStack","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.AzureStack/operations":{"get":{"description":"Returns the list of supported REST operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationList"},"examples":{"Returns the list of supported REST operations.":{"$ref":"#/components/examples/Returns_the_list_of_supported_REST_operations."}}}}}},"tags":["AzureStack"],"x-ms-pageable":{"nextLinkName":"nextLink"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Returns_the_list_of_supported_REST_operations.":{"value":{"value":[{"display":{"description":"Gets the properties of an Azure Stack registration","operation":"Get Azure Stack Registration","provider":"Azure Stack Resource Provider","resource":"Azure Stack Registration"},"name":"Microsoft.AzureStack/registrations/read","origin":"user,system"},{"display":{"description":"Creates or updates an Azure Stack registration","operation":"Create Azure Stack Registration","provider":"Azure Stack Resource Provider","resource":"Azure Stack Registration"},"name":"Microsoft.AzureStack/registrations/write","origin":"user,system"},{"display":{"description":"Deletes an Azure Stack registration","operation":"Delete Azure Stack Registration","provider":"Azure Stack Resource Provider","resource":"Azure Stack Registration"},"name":"Microsoft.AzureStack/registrations/delete","origin":"user,system"},{"display":{"description":"Gets the latest Azure Stack activation key","operation":"Get Azure Stack Activation Key","provider":"Azure Stack Resource Provider","resource":"Azure Stack Registration"},"name":"Microsoft.AzureStack/registrations/getActivationKey/action","origin":"user,system"},{"display":{"description":"Registers Subscription with Microsoft.AzureStack resource provider","operation":"Register Subscription for Azure Stack","provider":"Azure Stack Resource Provider"},"name":"Microsoft.AzureStack/register/action","origin":"user,system"},{"display":{"description":"Gets the properties of an Azure Stack Marketplace product","operation":"Get Azure Stack Marketplace Product","provider":"Azure Stack Resource Provider","resource":"Azure Stack Marketplace Product"},"name":"Microsoft.AzureStack/registrations/products/read","origin":"user,system"},{"display":{"description":"Retrieves extended details for an Azure Stack Marketplace product","operation":"Get Azure Stack Marketplace Product Details","provider":"Azure Stack Resource Provider","resource":"Azure Stack Marketplace Product"},"name":"Microsoft.AzureStack/registrations/products/listDetails/action","origin":"user,system"},{"display":{"description":"Gets the properties of an Azure Stack Customer Subscription","operation":"Get Azure Stack Customer Subscription","provider":"Azure Stack Resource Provider","resource":"Azure Stack Customer Subscription"},"name":"Microsoft.AzureStack/registrations/customerSubscriptions/read","origin":"user,system"},{"display":{"description":"Creates or updates an Azure Stack Customer Subscription","operation":"Create Azure Stack Customer Subscription","provider":"Azure Stack Resource Provider","resource":"Azure Stack Customer Subscription"},"name":"Microsoft.AzureStack/registrations/customerSubscriptions/write","origin":"user,system"},{"display":{"description":"Deletes an Azure Stack Customer Subscription","operation":"Delete Azure Stack Customer Subscription","provider":"Azure Stack Resource Provider","resource":"Azure Stack Customer Subscription"},"name":"Microsoft.AzureStack/registrations/customerSubscriptions/delete","origin":"user,system"},{"display":{"description":"The localized friendly description for the operation, as it should be shown to the user.","operation":"Read Resource Provider Operations","provider":"Name of the Resource Provider.","resource":"Resource Type Display Name."},"name":"Microsoft.AzureStack/Operations/read","origin":"user,system"}]}}},"parameters":{"ApiVersionParameter":{"description":"Client API Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2017-06-01"},"examples":{"Returns the list of supported REST operations.":{"value":"2017-06-01"}}},"RegistrationNameParameter":{"description":"Name of the Azure Stack registration.","in":"path","name":"registrationName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"}},"ResourceGroupNameParameter":{"description":"Name of the resource group.","in":"path","name":"resourceGroup","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"}},"SubscriptionIdParameter":{"description":"Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"}}},"securitySchemes":{"azure_auth":{"description":"Authorization uses an Azure Active Directory OAuth2 flow.","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"Display":{"description":"Contains the localized display information for this particular operation or action.","properties":{"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"},"operation":{"description":"The localized, friendly name for the operation. Use the name as it will displayed to the user.","type":"string"},"provider":{"description":"The localized, friendly version of the resource provider name.","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"}}},"ErrorDetails":{"description":"The details of the error.","properties":{"code":{"description":"Error code.","readOnly":true,"type":"string"},"message":{"description":"Error message indicating why the operation failed.","readOnly":true,"type":"string"},"target":{"description":"The target of the particular error.","readOnly":true,"type":"string"}}},"ErrorResponse":{"description":"Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.","properties":{"error":{"$ref":"#/components/schemas/ErrorDetails"}},"type":"object"},"Operation":{"description":"Describes the supported REST operation.","properties":{"display":{"$ref":"#/components/schemas/Display"},"name":{"description":"The name of the operation being performed on this particular object.","type":"string"},"origin":{"description":"The intended executor of the operation.","type":"string"}}},"OperationList":{"description":"List of Operations","properties":{"nextLink":{"description":"URI to the next page of operations.","type":"string"},"value":{"description":"Array of operations","items":{"$ref":"#/components/schemas/Operation"},"type":"array"}}},"ProvisioningState":{"description":"The provisioning state of the resource.","enum":["Creating","Failed","Succeeded","Canceled"],"type":"string","x-ms-enum":{"name":"ProvisioningState"}},"Resource":{"description":"Base resource object.","properties":{"etag":{"description":"The entity tag used for optimistic concurrency when modifying the resource.","type":"string"},"id":{"description":"ID of the resource.","readOnly":true,"type":"string"},"name":{"description":"Name of the resource.","readOnly":true,"type":"string"},"type":{"description":"Type of Resource.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true},"TrackedResource":{"description":"Base resource object.","properties":{"etag":{"description":"The entity tag used for optimistic concurrency when modifying the resource.","type":"string"},"id":{"description":"ID of the resource.","readOnly":true,"type":"string"},"location":{"description":"Location of the resource.","enum":["global"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Location"},"x-ms-mutability":["create","read"]},"name":{"description":"Name of the resource.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Custom tags for the resource.","type":"object"},"type":{"description":"Type of Resource.","readOnly":true,"type":"string"}},"required":["location"],"type":"object","x-ms-azure-resource":true}}}}