Interface ManagedInstanceEncryptionProtectorsClient
public interface ManagedInstanceEncryptionProtectorsClient
An instance of this class provides access to all the operations defined in ManagedInstanceEncryptionProtectorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters, com.azure.core.util.Context context) Updates an existing encryption protector.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.beginRevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.beginRevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Revalidates an existing encryption protector.beginRevalidateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.createOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.createOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters, com.azure.core.util.Context context) Updates an existing encryption protector.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.get(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.getAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.com.azure.core.http.rest.Response<ManagedInstanceEncryptionProtectorInner> getWithResponse(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Gets a managed instance encryption protector.Mono<com.azure.core.http.rest.Response<ManagedInstanceEncryptionProtectorInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of managed instance encryption protectors.com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of managed instance encryption protectors.com.azure.core.http.rest.PagedFlux<ManagedInstanceEncryptionProtectorInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of managed instance encryption protectors.voidrevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.voidrevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Revalidates an existing encryption protector.revalidateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> revalidateWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.
-
Method Details
-
listByInstanceAsync
com.azure.core.http.rest.PagedFlux<ManagedInstanceEncryptionProtectorInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of managed instance encryption protectors.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of managed instance encryption protectors as paginated response with
PagedFlux. - 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of managed instance encryption protectors.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of managed instance encryption protectors 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ManagedInstanceEncryptionProtectorInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of managed instance encryption protectors.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.context- The context to associate with this operation.- Returns:
- a list of managed instance encryption protectors 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedInstanceEncryptionProtectorInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be retrieved.- Returns:
- a managed instance encryption protector along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<ManagedInstanceEncryptionProtectorInner> getAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be retrieved.- Returns:
- a managed instance encryption protector on successful completion of
Mono. - 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<ManagedInstanceEncryptionProtectorInner> getWithResponse(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Gets a managed instance encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be retrieved.context- The context to associate with this operation.- Returns:
- a managed instance 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.
-
get
ManagedInstanceEncryptionProtectorInner get(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Gets a managed instance encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be retrieved.- Returns:
- a managed instance 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.- Returns:
- the managed instance encryption protector along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.- Returns:
- the
PollerFluxfor polling of the managed instance 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.- Returns:
- the
SyncPollerfor polling of the managed instance 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceEncryptionProtectorInner>, ManagedInstanceEncryptionProtectorInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters, com.azure.core.util.Context context) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the managed instance 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.
-
createOrUpdateAsync
Mono<ManagedInstanceEncryptionProtectorInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.- Returns:
- the managed instance encryption protector on successful completion of
Mono. - 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.
-
createOrUpdate
ManagedInstanceEncryptionProtectorInner createOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.- Returns:
- the managed instance 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.
-
createOrUpdate
ManagedInstanceEncryptionProtectorInner createOrUpdate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, ManagedInstanceEncryptionProtectorInner parameters, com.azure.core.util.Context context) Updates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.parameters- The requested encryption protector resource state.context- The context to associate with this operation.- Returns:
- the managed instance 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.
-
revalidateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> revalidateWithResponseAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginRevalidateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginRevalidateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.- Returns:
- the
PollerFluxfor polling of long-running 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.
-
beginRevalidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginRevalidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRevalidate(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
revalidateAsync
Mono<Void> revalidateAsync(String resourceGroupName, String managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.- Returns:
- A
Monothat completes when a successful response is received. - 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 managedInstanceName, EncryptionProtectorName encryptionProtectorName) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.- 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 managedInstanceName, EncryptionProtectorName encryptionProtectorName, com.azure.core.util.Context context) Revalidates an existing encryption protector.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.encryptionProtectorName- The name of the encryption protector to be updated.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.
-