你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.