Partager via


CodeContainers interface

Interface representing a CodeContainers.

Methods

createOrUpdate(string, string, string, CodeContainer, CodeContainersCreateOrUpdateOptionalParams)

Create or update container.

delete(string, string, string, CodeContainersDeleteOptionalParams)

Delete container.

get(string, string, string, CodeContainersGetOptionalParams)

Get container.

list(string, string, CodeContainersListOptionalParams)

List containers.

Method Details

createOrUpdate(string, string, string, CodeContainer, CodeContainersCreateOrUpdateOptionalParams)

Create or update container.

function createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: CodeContainer, options?: CodeContainersCreateOrUpdateOptionalParams): Promise<CodeContainer>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

body
CodeContainer

Container entity to create or update.

options
CodeContainersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<CodeContainer>

delete(string, string, string, CodeContainersDeleteOptionalParams)

Delete container.

function delete(resourceGroupName: string, workspaceName: string, name: string, options?: CodeContainersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

options
CodeContainersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, CodeContainersGetOptionalParams)

Get container.

function get(resourceGroupName: string, workspaceName: string, name: string, options?: CodeContainersGetOptionalParams): Promise<CodeContainer>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

options
CodeContainersGetOptionalParams

The options parameters.

Returns

Promise<CodeContainer>

list(string, string, CodeContainersListOptionalParams)

List containers.

function list(resourceGroupName: string, workspaceName: string, options?: CodeContainersListOptionalParams): PagedAsyncIterableIterator<CodeContainer, CodeContainer[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

options
CodeContainersListOptionalParams

The options parameters.

Returns