@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api SubscriptionDefinitionsClient
@base https://management.azure.com
@version 2017-11-01-preview
@auth OAuth2
@endpoints 5
@toc providers(5)

@endpoint GET /providers/Microsoft.Subscription/operations
@desc Lists all of the available Microsoft.Subscription API operations.
@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}
@returns(200) OK. The request has succeeded.

@endpoint PUT /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}
@desc Create an Azure subscription definition.
@required {subscriptionDefinitionName: any # The name of the Azure subscription definition., api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01, body: any # The subscription definition creation.}
@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.
@returns(202) Accepted. Subscription creation is in progress.

@endpoint GET /providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}
@desc Get an Azure subscription definition.
@required {subscriptionDefinitionName: any # The name of the Azure subscription definition., api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}
@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.

@endpoint GET /providers/Microsoft.Subscription/subscriptionDefinitions
@desc List an Azure subscription definition by subscriptionId.
@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01}
@returns(200) Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.

@endpoint GET /providers/Microsoft.Subscription/subscriptionOperations/{operationId}
@desc Retrieves the status of the subscription definition PUT operation. The URI of this API is returned in the Location field of the response header.
@required {api-version: any # Version of the API to be used with the client request. Current version is 2015-06-01, operationId: any # The operation ID, which can be found from the Location field in the generate recommendation response header.}
@returns(200) Successful completion of the asynchronous operation
@returns(202) Accepted. Subscription update is in progress.

@end
