ModelContainersClient Interface

public interface ModelContainersClient

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

Method Summary

Modifier and Type Method and Description
abstract ModelContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ModelContainerInner body)

Create or update container.

abstract Response<ModelContainerInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name, ModelContainerInner body, Context context)

Create or update container.

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

Delete container.

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

Delete container.

abstract ModelContainerInner get(String resourceGroupName, String workspaceName, String name)

Get container.

abstract Response<ModelContainerInner> getWithResponse(String resourceGroupName, String workspaceName, String name, Context context)

Get container.

abstract PagedIterable<ModelContainerInner> list(String resourceGroupName, String workspaceName)

List model containers.

abstract PagedIterable<ModelContainerInner> list(String resourceGroupName, String workspaceName, String skip, Integer count, ListViewType listViewType, Context context)

List model containers.

Method Details

createOrUpdate

public abstract ModelContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ModelContainerInner body)

Create or update container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.
body - Container entity to create or update.

Returns:

azure Resource Manager resource envelope.

createOrUpdateWithResponse

public abstract Response<ModelContainerInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name, ModelContainerInner body, Context context)

Create or update container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.
body - Container entity to create or update.
context - The context to associate with this operation.

Returns:

azure Resource Manager resource envelope along with Response<T>.

delete

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

Delete container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.

deleteWithResponse

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

Delete container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.
context - The context to associate with this operation.

Returns:

get

public abstract ModelContainerInner get(String resourceGroupName, String workspaceName, String name)

Get container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.

Returns:

container.

getWithResponse

public abstract Response<ModelContainerInner> getWithResponse(String resourceGroupName, String workspaceName, String name, Context context)

Get container.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name. This is case-sensitive.
context - The context to associate with this operation.

Returns:

container along with Response<T>.

list

public abstract PagedIterable<ModelContainerInner> list(String resourceGroupName, String workspaceName)

List model containers.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.

Returns:

a paginated list of ModelContainer entities as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ModelContainerInner> list(String resourceGroupName, String workspaceName, String skip, Integer count, ListViewType listViewType, Context context)

List model containers.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
skip - Continuation token for pagination.
count - Maximum number of results to return.
listViewType - View type for including/excluding (for example) archived entities.
context - The context to associate with this operation.

Returns:

a paginated list of ModelContainer entities as paginated response with PagedIterable<T>.

Applies to