Interface LinkedStorageAccountsClient
public interface LinkedStorageAccountsClient
An instance of this class provides access to all the operations defined in LinkedStorageAccountsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, LinkedStorageAccountsResourceInner parameters) Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.com.azure.core.http.rest.Response<LinkedStorageAccountsResourceInner>
createOrUpdateWithResponse
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, LinkedStorageAccountsResourceInner parameters, com.azure.core.util.Context context) Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.void
delete
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType) Deletes all linked storage accounts of a specific data source type associated with the specified workspace.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context) Deletes all linked storage accounts of a specific data source type associated with the specified workspace.get
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType) Gets all linked storage account of a specific data source type associated with the specified workspace.com.azure.core.http.rest.Response<LinkedStorageAccountsResourceInner>
getWithResponse
(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context) Gets all linked storage account of a specific data source type associated with the specified workspace.com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResourceInner>
listByWorkspace
(String resourceGroupName, String workspaceName) Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResourceInner>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.
-
Method Details
-
createOrUpdate
LinkedStorageAccountsResourceInner createOrUpdate(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, LinkedStorageAccountsResourceInner parameters) Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.parameters
- The parameters required to create or update linked storage accounts.- Returns:
- linked storage accounts top level resource container.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<LinkedStorageAccountsResourceInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, LinkedStorageAccountsResourceInner parameters, com.azure.core.util.Context context) Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.parameters
- The parameters required to create or update linked storage accounts.context
- The context to associate with this operation.- Returns:
- linked storage accounts top level resource container along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes all linked storage accounts of a specific data source type associated with the specified workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context) Deletes all linked storage accounts of a specific data source type associated with the specified workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
LinkedStorageAccountsResourceInner get(String resourceGroupName, String workspaceName, DataSourceType dataSourceType) Gets all linked storage account of a specific data source type associated with the specified workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.- Returns:
- all linked storage account of a specific data source type associated with the specified workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<LinkedStorageAccountsResourceInner> getWithResponse(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context) Gets all linked storage account of a specific data source type associated with the specified workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.dataSourceType
- Linked storage accounts type.context
- The context to associate with this operation.- Returns:
- all linked storage account of a specific data source type associated with the specified workspace along
with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResourceInner> listByWorkspace(String resourceGroupName, String workspaceName) Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- all linked storage accounts associated with the specified workspace, storage accounts will be sorted by
their data source type as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResourceInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- all linked storage accounts associated with the specified workspace, storage accounts will be sorted by
their data source type as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-