@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api SqlManagementClient
@base https://management.azure.com
@version 2018-06-01-preview
@auth OAuth2
@common_fields {subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}
@desc Gets an instance pool.
@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., instancePoolName: any # The name of the instance pool to be retrieved.}
@returns(200) Successfully retrieved the specified instance pool.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}
@desc Creates or updates an instance pool.
@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., instancePoolName: any # The name of the instance pool to be created or updated., parameters: map # The requested instance pool resource state.}
@returns(200) Successfully updated the instance pool.
@returns(201) Successfully created the instance pool.
@returns(202) Accepted

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}
@desc Deletes an instance pool
@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., instancePoolName: any # The name of the instance pool to be deleted}
@returns(200) Successfully deleted the instance pool.
@returns(202) Accepted
@returns(204) The specified instance pool does not exist.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}
@desc Updates an instance pool.
@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., instancePoolName: any # The name of the instance pool to be updated., parameters: map # The requested instance pool resource state.}
@returns(200) Successfully updated the instance pool.
@returns(202) Accepted

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools
@desc Gets a list of instance pools in the resource group
@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.}
@returns(200) Successfully retrieved the list of instance pools.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools
@desc Gets a list of all instance pools in the subscription.
@returns(200) Successfully retrieved the list of instance pools in a subscription.

@end
