UNPKG

openapi-directory

Version:

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

1 lines 7.05 kB
{"openapi":"3.0.0","info":{"description":"The Admin Subscriptions Management Client.","title":"SubscriptionsManagementClient","version":"2015-11-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/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Location.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"azsadmin-Location","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations":{"get":{"description":"Get a list of all AzureStack location.","operationId":"Locations_List","parameters":[{"description":"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 a list of all AzureStack location.":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2015-11-01"},"examples":{"Get a list of all AzureStack location.":{"value":"2015-11-01"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationList"},"examples":{"Get a list of all AzureStack location.":{"$ref":"#/components/examples/Get_a_list_of_all_AzureStack_location."}}}}}},"tags":["Locations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations/{location}":{"delete":{"description":"Deletes the specified location.","operationId":"Locations_Delete","parameters":[{"description":"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":{"Deletes the specified location.":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"}}},{"description":"The AzureStack location.","in":"path","name":"location","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Deletes the specified location.":{"value":"local"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2015-11-01"},"examples":{"Deletes the specified location.":{"value":"2015-11-01"}}}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"}},"tags":["Locations"]},"get":{"description":"Get the specified location.","operationId":"Locations_Get","parameters":[{"description":"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 specified location.":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"}}},{"description":"The AzureStack location.","in":"path","name":"location","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get the specified location.":{"value":"local"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2015-11-01"},"examples":{"Get the specified location.":{"value":"2015-11-01"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"},"examples":{"Get the specified location.":{"$ref":"#/components/examples/Get_the_specified_location."}}}}}},"tags":["Locations"]},"put":{"description":"Updates the specified location.","operationId":"Locations_CreateOrUpdate","parameters":[{"description":"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":{"Updates the specified location.":{"value":"20ff7fc3-e762-44dd-bd96-b71116dcdc23"}}},{"description":"The AzureStack location.","in":"path","name":"location","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Updates the specified location.":{"value":"local"}}},{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2015-11-01"},"examples":{"Updates the specified location.":{"value":"2015-11-01"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}},"description":"The new location","required":true,"x-ms-parameter-location":"method"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"},"examples":{"Updates the specified location.":{"$ref":"#/components/examples/Updates_the_specified_location."}}}}}},"tags":["Locations"]}}},"servers":[{"url":"https://adminmanagement.local.azurestack.external"}],"components":{"examples":{"Get_a_list_of_all_AzureStack_location.":{"value":{"value":[{"displayName":"local","id":"/subscriptions/8ab2551d-41e5-489b-9273-1cdf1cbc7dc6/providers/Microsoft.Subscriptions.Admin/locations/local","latitude":"","longitude":"","name":"local"}]}},"Get_the_specified_location.":{"value":{"displayName":"local","id":"/subscriptions/8ab2551d-41e5-489b-9273-1cdf1cbc7dc6/providers/Microsoft.Subscriptions.Admin/locations/local","latitude":"","longitude":"","name":"local"}},"Updates_the_specified_location.":{"value":{"displayName":"local","id":"/subscriptions/8ab2551d-41e5-489b-9273-1cdf1cbc7dc6/providers/Microsoft.Subscriptions.Admin/locations/local","latitude":"","longitude":"","name":"local"}}},"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":{"Location":{"description":"Contains information about a geographical location where resource providers can be deployed.","properties":{"displayName":{"description":"Display name of the location.","type":"string"},"id":{"description":"Location identifier.","type":"string"},"latitude":{"description":"Latitude of the location.","type":"string"},"longitude":{"description":"Longitude of the location.","type":"string"},"name":{"description":"Location name.","type":"string"}},"type":"object"},"LocationList":{"description":"List of locations.","properties":{"nextLink":{"description":"URI to next page.","type":"string"},"value":{"description":"List of locations.","items":{"$ref":"#/components/schemas/Location"},"type":"array"}}}}}}