CodeContainersClient Interface

public interface CodeContainersClient

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

Method Summary

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

Create or update container.

abstract Response<CodeContainerInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name, CodeContainerInner 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 CodeContainerInner get(String resourceGroupName, String workspaceName, String name)

Get container.

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

Get container.

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

List containers.

abstract PagedIterable<CodeContainerInner> list(String resourceGroupName, String workspaceName, String skip, Context context)

List containers.

Method Details

createOrUpdate

public abstract CodeContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name, CodeContainerInner 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<CodeContainerInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name, CodeContainerInner 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 CodeContainerInner 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<CodeContainerInner> 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<CodeContainerInner> list(String resourceGroupName, String workspaceName)

List 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 CodeContainer entities as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<CodeContainerInner> list(String resourceGroupName, String workspaceName, String skip, Context context)

List 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.
context - The context to associate with this operation.

Returns:

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

Applies to