@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Machine Learning Workspaces Management Client
@base https://management.azure.com
@version 2019-10-01
@auth OAuth2
@common_fields {api-version: any # The client API version.}
@endpoints 9
@toc providers(1), subscriptions(8)

@group providers
@endpoint GET /providers/Microsoft.MachineLearning/operations
@desc Lists all of the available Azure Machine Learning Studio REST API operations.
@returns(200) The request was successful; the request was well-formed and received properly.

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}
@desc Gets the properties of the specified machine learning workspace.
@required {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs., workspaceName: any # The name of the machine learning workspace.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}
@desc Creates or updates a workspace with the specified parameters.
@required {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs., workspaceName: any # The name of the machine learning workspace., parameters: map # The parameters for creating or updating a machine learning workspace.}
@returns(200) The request was successful; the resource already exists and was updated.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}
@desc Deletes a machine learning workspace.
@required {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs., workspaceName: any # The name of the machine learning workspace.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(204) The machine learning workspace does not exist in the subscription.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}
@desc Updates a machine learning workspace with the specified parameters.
@required {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs., workspaceName: any # The name of the machine learning workspace., parameters: any # The parameters for updating a machine learning workspace.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys
@desc Resync storage keys associated with this workspace.
@required {subscriptionId: any # The Microsoft Azure subscription ID., workspaceName: any # The name of the machine learning workspace., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys
@desc List the authorization keys associated with this workspace.
@required {subscriptionId: any # The Microsoft Azure subscription ID., workspaceName: any # The name of the machine learning workspace., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces
@desc Lists all the available machine learning workspaces under the specified resource group.
@required {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the machine learning workspace belongs.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces
@desc Lists all the available machine learning workspaces under the specified subscription.
@required {subscriptionId: any # The Microsoft Azure subscription ID.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endgroup

@end
