Interface StorageInsightConfigsClient
public interface StorageInsightConfigsClient
An instance of this class provides access to all the operations defined in StorageInsightConfigsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, String storageInsightName, StorageInsightInner parameters) Create or update a storage insight.com.azure.core.http.rest.Response<StorageInsightInner>
createOrUpdateWithResponse
(String resourceGroupName, String workspaceName, String storageInsightName, StorageInsightInner parameters, com.azure.core.util.Context context) Create or update a storage insight.void
Deletes a storageInsightsConfigs resource.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String workspaceName, String storageInsightName, com.azure.core.util.Context context) Deletes a storageInsightsConfigs resource.Gets a storage insight instance.com.azure.core.http.rest.Response<StorageInsightInner>
getWithResponse
(String resourceGroupName, String workspaceName, String storageInsightName, com.azure.core.util.Context context) Gets a storage insight instance.com.azure.core.http.rest.PagedIterable<StorageInsightInner>
listByWorkspace
(String resourceGroupName, String workspaceName) Lists the storage insight instances within a workspace.com.azure.core.http.rest.PagedIterable<StorageInsightInner>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists the storage insight instances within a workspace.
-
Method Details
-
createOrUpdate
StorageInsightInner createOrUpdate(String resourceGroupName, String workspaceName, String storageInsightName, StorageInsightInner parameters) Create or update a storage insight.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.parameters
- The parameters required to create or update a storage insight.- Returns:
- the top level storage insight 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<StorageInsightInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String storageInsightName, StorageInsightInner parameters, com.azure.core.util.Context context) Create or update a storage insight.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.parameters
- The parameters required to create or update a storage insight.context
- The context to associate with this operation.- Returns:
- the top level storage insight 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.
-
get
Gets a storage insight instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.- Returns:
- a storage insight instance.
- 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<StorageInsightInner> getWithResponse(String resourceGroupName, String workspaceName, String storageInsightName, com.azure.core.util.Context context) Gets a storage insight instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.context
- The context to associate with this operation.- Returns:
- a storage insight instance 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 a storageInsightsConfigs resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.- 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, String storageInsightName, com.azure.core.util.Context context) Deletes a storageInsightsConfigs resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.storageInsightName
- Name of the storageInsightsConfigs resource.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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<StorageInsightInner> listByWorkspace(String resourceGroupName, String workspaceName) Lists the storage insight instances within a workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- the list storage insights operation response 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<StorageInsightInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists the storage insight instances within a workspace.- 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:
- the list storage insights operation response 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.
-