ComponentVersions Interface

public interface ComponentVersions

Resource collection API of ComponentVersions.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ComponentVersion resource.

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

Delete version.

abstract void deleteById(String id)

Delete version.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete version.

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

Delete version.

abstract ComponentVersion get(String resourceGroupName, String workspaceName, String name, String version)

Get version.

abstract ComponentVersion getById(String id)

Get version.

abstract Response<ComponentVersion> getByIdWithResponse(String id, Context context)

Get version.

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

Get version.

abstract PagedIterable<ComponentVersion> list(String resourceGroupName, String workspaceName, String name)

List component versions.

abstract PagedIterable<ComponentVersion> list(String resourceGroupName, String workspaceName, String name, String orderBy, Integer top, String skip, ListViewType listViewType, Context context)

List component versions.

abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body)

Publish version asset into registry.

abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body, Context context)

Publish version asset into registry.

Method Details

define

public abstract ComponentVersion.DefinitionStages.Blank define(String name)

Begins definition for a new ComponentVersion resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ComponentVersion definition.

delete

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

Delete version.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Delete version.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete version.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

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

Delete version.

Parameters:

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

Returns:

get

public abstract ComponentVersion get(String resourceGroupName, String workspaceName, String name, String version)

Get version.

Parameters:

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

Returns:

version.

getById

public abstract ComponentVersion getById(String id)

Get version.

Parameters:

id - the resource ID.

Returns:

version along with Response<T>.

getByIdWithResponse

public abstract Response<ComponentVersion> getByIdWithResponse(String id, Context context)

Get version.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

version along with Response<T>.

getWithResponse

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

Get version.

Parameters:

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

Returns:

version along with Response<T>.

list

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

List component versions.

Parameters:

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

Returns:

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

list

public abstract PagedIterable<ComponentVersion> list(String resourceGroupName, String workspaceName, String name, String orderBy, Integer top, String skip, ListViewType listViewType, Context context)

List component versions.

Parameters:

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

Returns:

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

publish

public abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body)

Publish version asset into registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name.
version - Version identifier.
body - Destination registry info.

publish

public abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body, Context context)

Publish version asset into registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Container name.
version - Version identifier.
body - Destination registry info.
context - The context to associate with this operation.

Applies to