Interface WorkspaceManagedSqlServerEncryptionProtectors
-
public interface WorkspaceManagedSqlServerEncryptionProtectors
Resource collection API of WorkspaceManagedSqlServerEncryptionProtectors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionProtector.DefinitionStages.Blank
define(EncryptionProtectorName name)
Begins definition for a new EncryptionProtector resource.EncryptionProtector
get(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)
Get workspace managed sql server's encryption protector.EncryptionProtector
getById(String id)
Get workspace managed sql server's encryption protector.com.azure.core.http.rest.Response<EncryptionProtector>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Get workspace managed sql server's encryption protector.com.azure.core.http.rest.Response<EncryptionProtector>
getWithResponse(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context)
Get workspace managed sql server's encryption protector.com.azure.core.http.rest.PagedIterable<EncryptionProtector>
list(String resourceGroupName, String workspaceName)
Get list of encryption protectors for workspace managed sql server.com.azure.core.http.rest.PagedIterable<EncryptionProtector>
list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Get list of encryption protectors for workspace managed sql server.void
revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)
Revalidates workspace managed sql server's existing encryption protector.void
revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context)
Revalidates workspace managed sql server's existing encryption protector.
-
-
-
Method Detail
-
get
EncryptionProtector get(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)
Get workspace managed sql server's encryption protector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.encryptionProtectorName
- The name of the encryption protector.- Returns:
- workspace managed sql server's encryption protector.
- 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<EncryptionProtector> getWithResponse(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context)
Get workspace managed sql server's encryption protector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.encryptionProtectorName
- The name of the encryption protector.context
- The context to associate with this operation.- Returns:
- workspace managed sql server's encryption protector 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.
-
list
com.azure.core.http.rest.PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName)
Get list of encryption protectors for workspace managed sql server.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- list of encryption protectors for workspace managed sql server 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.
-
list
com.azure.core.http.rest.PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Get list of encryption protectors for workspace managed sql server.- 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:
- list of encryption protectors for workspace managed sql server 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.
-
revalidate
void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)
Revalidates workspace managed sql server's existing encryption protector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.encryptionProtectorName
- The name of the encryption protector.- 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.
-
revalidate
void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context)
Revalidates workspace managed sql server's existing encryption protector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.encryptionProtectorName
- The name of the encryption protector.context
- The context to associate with this operation.- 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
EncryptionProtector getById(String id)
Get workspace managed sql server's encryption protector.- Parameters:
id
- the resource ID.- Returns:
- workspace managed sql server's encryption protector 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<EncryptionProtector> getByIdWithResponse(String id, com.azure.core.util.Context context)
Get workspace managed sql server's encryption protector.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- workspace managed sql server's encryption protector 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.
-
define
EncryptionProtector.DefinitionStages.Blank define(EncryptionProtectorName name)
Begins definition for a new EncryptionProtector resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new EncryptionProtector definition.
-
-