LinkedStorageAccounts interface

Interface representing a LinkedStorageAccounts.

Methods

createOrUpdate(string, string, DataSourceType, LinkedStorageAccountsResource, LinkedStorageAccountsCreateOrUpdateOptionalParams)

Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.

delete(string, string, DataSourceType, LinkedStorageAccountsDeleteOptionalParams)

Deletes all linked storage accounts of a specific data source type associated with the specified workspace.

get(string, string, DataSourceType, LinkedStorageAccountsGetOptionalParams)

Gets all linked storage account of a specific data source type associated with the specified workspace.

listByWorkspace(string, string, LinkedStorageAccountsListByWorkspaceOptionalParams)

Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.

Method Details

createOrUpdate(string, string, DataSourceType, LinkedStorageAccountsResource, LinkedStorageAccountsCreateOrUpdateOptionalParams)

Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.

function createOrUpdate(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, parameters: LinkedStorageAccountsResource, options?: LinkedStorageAccountsCreateOrUpdateOptionalParams): Promise<LinkedStorageAccountsResource>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

dataSourceType
DataSourceType

Linked storage accounts type.

parameters
LinkedStorageAccountsResource

The parameters required to create or update linked storage accounts.

options
LinkedStorageAccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, DataSourceType, LinkedStorageAccountsDeleteOptionalParams)

Deletes all linked storage accounts of a specific data source type associated with the specified workspace.

function delete(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, options?: LinkedStorageAccountsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

dataSourceType
DataSourceType

Linked storage accounts type.

options
LinkedStorageAccountsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, DataSourceType, LinkedStorageAccountsGetOptionalParams)

Gets all linked storage account of a specific data source type associated with the specified workspace.

function get(resourceGroupName: string, workspaceName: string, dataSourceType: DataSourceType, options?: LinkedStorageAccountsGetOptionalParams): Promise<LinkedStorageAccountsResource>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

dataSourceType
DataSourceType

Linked storage accounts type.

options
LinkedStorageAccountsGetOptionalParams

The options parameters.

Returns

listByWorkspace(string, string, LinkedStorageAccountsListByWorkspaceOptionalParams)

Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.

function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LinkedStorageAccountsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LinkedStorageAccountsResource, LinkedStorageAccountsResource[], PageSettings>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

options
LinkedStorageAccountsListByWorkspaceOptionalParams

The options parameters.

Returns