EnvironmentVersions Interface

public interface EnvironmentVersions

Resource collection API of EnvironmentVersions.

Method Summary

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

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

Get version.

abstract EnvironmentVersion getById(String id)

Get version.

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

Get version.

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

Get version.

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

List versions.

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

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

Begins definition for a new EnvironmentVersion resource.

Parameters:

name - resource name.

Returns:

the first stage of the new EnvironmentVersion 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 EnvironmentVersion 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 EnvironmentVersion getById(String id)

Get version.

Parameters:

id - the resource ID.

Returns:

version along with Response<T>.

getByIdWithResponse

public abstract Response<EnvironmentVersion> 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<EnvironmentVersion> 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<EnvironmentVersion> list(String resourceGroupName, String workspaceName, String name)

List versions.

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:

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

list

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

List versions.

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.
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 EnvironmentVersion 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