Partager via


Datastores interface

Interface representing a Datastores.

Methods

createOrUpdate(string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create or update datastore.

delete(string, string, string, DatastoresDeleteOptionalParams)

Delete datastore.

get(string, string, string, DatastoresGetOptionalParams)

Get datastore.

list(string, string, DatastoresListOptionalParams)

List datastores.

listSecrets(string, string, string, DatastoresListSecretsOptionalParams)

Get datastore secrets.

Method Details

createOrUpdate(string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create or update datastore.

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

Parameters

resourceGroupName

string

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

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Datastore name.

body
Datastore

Datastore entity to create or update.

options
DatastoresCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Datastore>

delete(string, string, string, DatastoresDeleteOptionalParams)

Delete datastore.

function delete(resourceGroupName: string, workspaceName: string, name: string, options?: DatastoresDeleteOptionalParams): 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

Datastore name.

options
DatastoresDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DatastoresGetOptionalParams)

Get datastore.

function get(resourceGroupName: string, workspaceName: string, name: string, options?: DatastoresGetOptionalParams): Promise<Datastore>

Parameters

resourceGroupName

string

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

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Datastore name.

options
DatastoresGetOptionalParams

The options parameters.

Returns

Promise<Datastore>

list(string, string, DatastoresListOptionalParams)

List datastores.

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

Parameters

resourceGroupName

string

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

workspaceName

string

Name of Azure Machine Learning workspace.

options
DatastoresListOptionalParams

The options parameters.

Returns

listSecrets(string, string, string, DatastoresListSecretsOptionalParams)

Get datastore secrets.

function listSecrets(resourceGroupName: string, workspaceName: string, name: string, options?: DatastoresListSecretsOptionalParams): Promise<DatastoreSecretsUnion>

Parameters

resourceGroupName

string

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

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Datastore name.

options
DatastoresListSecretsOptionalParams

The options parameters.

Returns