@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api SubscriptionsManagementClient
@base https://management.azure.com
@version 2015-11-01
@auth OAuth2
@endpoints 4
@toc subscriptions(4)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations
@desc Get a list of all AzureStack location.
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations/{location}
@desc Get the specified location.
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations/{location}
@desc Updates the specified location.
@required {newLocation: map # The new location}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/locations/{location}/operationsStatus/{operationsStatusName}
@desc Get the operation status.
@returns(200) OK
@returns(202) Accepted
@returns(204) Not Content
@errors {404: Not Found}

@end
