WorkspaceManagedSqlServerEncryptionProtectors Interface

public interface WorkspaceManagedSqlServerEncryptionProtectors

Resource collection API of WorkspaceManagedSqlServerEncryptionProtectors.

Method Summary

Modifier and Type Method and Description
abstract Blank define(EncryptionProtectorName name)

Begins definition for a new EncryptionProtector resource.

abstract EncryptionProtector get(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)

Get workspace server's encryption protector.

abstract EncryptionProtector getById(String id)

Get workspace server's encryption protector.

abstract Response<EncryptionProtector> getByIdWithResponse(String id, Context context)

Get workspace server's encryption protector.

abstract Response<EncryptionProtector> getWithResponse(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, Context context)

Get workspace server's encryption protector.

abstract PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName)

Get list of encryption protectors for the server.

abstract PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName, Context context)

Get list of encryption protectors for the server.

abstract void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)

Revalidates server's existing encryption protector.

abstract void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, Context context)

Revalidates server's existing encryption protector.

Method Details

define

public abstract 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.

get

public abstract EncryptionProtector get(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)

Get workspace server's encryption protector. 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.

getById

public abstract EncryptionProtector getById(String id)

Get workspace server's encryption protector. Get workspace managed sql server's encryption protector.

Parameters:

id - the resource ID.

Returns:

workspace managed sql server's encryption protector along with Response<T>.

getByIdWithResponse

public abstract Response<EncryptionProtector> getByIdWithResponse(String id, Context context)

Get workspace server's encryption protector. 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<T>.

getWithResponse

public abstract Response<EncryptionProtector> getWithResponse(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, Context context)

Get workspace server's encryption protector. 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<T>.

list

public abstract PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName)

Get list of encryption protectors for the server. 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<T>.

list

public abstract PagedIterable<EncryptionProtector> list(String resourceGroupName, String workspaceName, Context context)

Get list of encryption protectors for the server. 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<T>.

revalidate

public abstract void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName)

Revalidates server's existing encryption protector. 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.

revalidate

public abstract void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName, Context context)

Revalidates server's existing encryption protector. 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.

Applies to