ModelVersions Interface

public interface ModelVersions

Resource collection API of ModelVersions.

Method Summary

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

Begins definition for a new ModelVersion 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 ModelVersion get(String resourceGroupName, String workspaceName, String name, String version)

Get version.

abstract ModelVersion getById(String id)

Get version.

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

Get version.

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

Get version.

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

List model versions.

abstract PagedIterable<ModelVersion> list(String resourceGroupName, String workspaceName, String name, String skip, String orderBy, Integer top, String version, String description, Integer offset, String tags, String properties, String feed, ListViewType listViewType, Context context)

List model 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 ModelVersion.DefinitionStages.Blank define(String name)

Begins definition for a new ModelVersion resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ModelVersion 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. This is case-sensitive.
version - Version identifier. This is case-sensitive.

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. This is case-sensitive.
version - Version identifier. This is case-sensitive.
context - The context to associate with this operation.

Returns:

get

public abstract ModelVersion 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. This is case-sensitive.
version - Version identifier. This is case-sensitive.

Returns:

version.

getById

public abstract ModelVersion getById(String id)

Get version.

Parameters:

id - the resource ID.

Returns:

version along with Response<T>.

getByIdWithResponse

public abstract Response<ModelVersion> 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<ModelVersion> 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. This is case-sensitive.
version - Version identifier. This is case-sensitive.
context - The context to associate with this operation.

Returns:

version along with Response<T>.

list

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

List model versions.

Parameters:

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

Returns:

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

list

public abstract PagedIterable<ModelVersion> list(String resourceGroupName, String workspaceName, String name, String skip, String orderBy, Integer top, String version, String description, Integer offset, String tags, String properties, String feed, ListViewType listViewType, Context context)

List model versions.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - Name of Azure Machine Learning workspace.
name - Model name. This is case-sensitive.
skip - Continuation token for pagination.
orderBy - Ordering of list.
top - Maximum number of records to return.
version - Model version.
description - Model description.
offset - Number of initial results to skip.
tags - Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
properties - Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2.
feed - Name of the feed.
listViewType - View type for including/excluding (for example) archived entities.
context - The context to associate with this operation.

Returns:

a paginated list of ModelVersion 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