Interface StorageInsightConfigs
public interface StorageInsightConfigs
Resource collection API of StorageInsightConfigs.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new StorageInsight resource.void
Deletes a storageInsightsConfigs resource.void
deleteById
(String id) Deletes a storageInsightsConfigs resource.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) 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.Gets a storage insight instance.com.azure.core.http.rest.Response<StorageInsight>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets a storage insight instance.com.azure.core.http.rest.Response<StorageInsight>
getWithResponse
(String resourceGroupName, String workspaceName, String storageInsightName, com.azure.core.util.Context context) Gets a storage insight instance.com.azure.core.http.rest.PagedIterable<StorageInsight>
listByWorkspace
(String resourceGroupName, String workspaceName) Lists the storage insight instances within a workspace.com.azure.core.http.rest.PagedIterable<StorageInsight>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists the storage insight instances within a workspace.
-
Method Details
-
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<StorageInsight> 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<StorageInsight> 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<StorageInsight> 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.
-
getById
Gets a storage insight instance.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<StorageInsight> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a storage insight instance.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes a storageInsightsConfigs resource.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a storageInsightsConfigs resource.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new StorageInsight resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new StorageInsight definition.
-