openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 3.77 kB
JSON
{"openapi":"3.0.0","info":{"description":"The HDInsight Management Client.","title":"HDInsightManagementClient","version":"2018-06-01-preview","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/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"hdinsight-locations","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages":{"get":{"description":"Lists the usages for the specified location.","operationId":"Locations_ListUsages","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/LocationParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK response definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsagesListResult"}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Describes the format of Error response.","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"}}}}},"tags":["Regions"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"parameters":{"ApiVersionParameter":{"description":"The HDInsight client API Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get the subscription usages for specific location":{"value":"2018-06-01-preview"}}},"LocationParameter":{"description":"The location to get capabilities for.","in":"path","name":"location","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get the subscription usages for specific location":{"value":"West US"}}},"SubscriptionIdParameter":{"description":"The subscription credentials which 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"},"examples":{"Get the subscription usages for specific location":{"value":"subid"}}}},"securitySchemes":{"azure_auth":{"description":"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":{"LocalizedName":{"description":"The details about the localizable name of a type of usage.","properties":{"localizedValue":{"description":"The localized name of the used resource.","type":"string"},"value":{"description":"The name of the used resource.","type":"string"}},"readOnly":true},"Usage":{"description":"The details about the usage of a particular limited resource.","properties":{"currentValue":{"description":"The current usage.","type":"integer"},"limit":{"description":"The maximum allowed usage.","type":"integer"},"name":{"$ref":"#/components/schemas/LocalizedName"},"unit":{"description":"The type of measurement for usage.","type":"string"}},"readOnly":true},"UsagesListResult":{"description":"The response for the operation to get regional usages for a subscription.","properties":{"value":{"description":"The list of usages.","items":{"$ref":"#/components/schemas/Usage"},"type":"array"}},"readOnly":true}}}}