@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AzureStack Azure Bridge Client
@base https://management.azure.com
@version 2017-06-01
@auth OAuth2
@endpoints 4
@toc subscriptions(4)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions
@desc Returns a list of products.
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}
@desc Returns the specified product.
@required {customerSubscriptionName: any # Name of the product.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}
@desc Deletes a customer subscription under a registration.
@required {customerSubscriptionName: any # Name of the product.}
@returns(200) OK
@returns(204) NO CONTENT

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}
@desc Creates a new customer subscription under a registration.
@required {customerSubscriptionName: any # Name of the product., customerCreationParameters: map # Parameters use to create a customer subscription.}
@returns(200) OK

@end
