LinkedStorageAccounts interface
Interface representing a LinkedStorageAccounts.
Methods
create |
Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type. |
delete(string, string, Data |
Deletes all linked storage accounts of a specific data source type associated with the specified workspace. |
get(string, string, Data |
Gets all linked storage account of a specific data source type associated with the specified workspace. |
list |
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.
The options parameters.
Returns
Promise<LinkedStorageAccountsResource>
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.
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.
The options parameters.
Returns
Promise<LinkedStorageAccountsResource>
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.
The options parameters.