MachineLearningServicesClient Interface

public interface MachineLearningServicesClient

An instance of this class provides access to all the operations defined in MachineLearningServicesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties)

Creates or updates service.

abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties, Context context)

Creates or updates service.

abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties)

Creates or updates service.

abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties, Context context)

Creates or updates service.

abstract void delete(String resourceGroupName, String workspaceName, String serviceName)

Delete a specific Service..

abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String serviceName, Context context)

Delete a specific Service..

abstract ServiceResourceInner get(String resourceGroupName, String workspaceName, String serviceName)

Get a Service by name.

abstract Response<ServiceResourceInner> getWithResponse(String resourceGroupName, String workspaceName, String serviceName, Boolean expand, Context context)

Get a Service by name.

abstract PagedIterable<ServiceResourceInner> listByWorkspace(String resourceGroupName, String workspaceName)

Gets services in specified workspace.

abstract PagedIterable<ServiceResourceInner> listByWorkspace(String resourceGroupName, String workspaceName, String skip, String modelId, String modelName, String tag, String tags, String properties, String runId, Boolean expand, OrderString orderby, Context context)

Gets services in specified workspace.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties)

Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
properties - The payload that is used to create or update the Service.

Returns:

machine Learning service object wrapped into ARM resource envelope.

beginCreateOrUpdate

public abstract SyncPoller<>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties, Context context)

Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
properties - The payload that is used to create or update the Service.
context - The context to associate with this operation.

Returns:

machine Learning service object wrapped into ARM resource envelope.

createOrUpdate

public abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties)

Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
properties - The payload that is used to create or update the Service.

Returns:

machine Learning service object wrapped into ARM resource envelope.

createOrUpdate

public abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String serviceName, CreateServiceRequest properties, Context context)

Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
properties - The payload that is used to create or update the Service.
context - The context to associate with this operation.

Returns:

machine Learning service object wrapped into ARM resource envelope.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String serviceName)

Delete a specific Service..

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String workspaceName, String serviceName, Context context)

Delete a specific Service..

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
context - The context to associate with this operation.

Returns:

the response.

get

public abstract ServiceResourceInner get(String resourceGroupName, String workspaceName, String serviceName)

Get a Service by name.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.

Returns:

a Service by name.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String workspaceName, String serviceName, Boolean expand, Context context)

Get a Service by name.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
serviceName - Name of the Azure Machine Learning service.
expand - Set to True to include Model details.
context - The context to associate with this operation.

Returns:

a Service by name.

listByWorkspace

public abstract PagedIterable listByWorkspace(String resourceGroupName, String workspaceName)

Gets services in specified workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

Returns:

services in specified workspace.

listByWorkspace

public abstract PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, String skip, String modelId, String modelName, String tag, String tags, String properties, String runId, Boolean expand, OrderString orderby, Context context)

Gets services in specified workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
skip - Continuation token for pagination.
modelId - The Model Id.
modelName - The Model name.
tag - The object tag.
tags - A set of tags with which to filter the returned services. It is a comma separated string of tags key or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .
properties - A set of properties with which to filter the returned services. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .
runId - runId for model associated with service.
expand - Set to True to include Model details.
orderby - The option to order the response.
context - The context to associate with this operation.

Returns:

services in specified workspace.

Applies to