Interface RestorableDroppedManagedDatabasesClient
public interface RestorableDroppedManagedDatabasesClient
An instance of this class provides access to all the operations defined in RestorableDroppedManagedDatabasesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets a restorable dropped managed database.Gets a restorable dropped managed database.com.azure.core.http.rest.Response<RestorableDroppedManagedDatabaseInner>getWithResponse(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, com.azure.core.util.Context context) Gets a restorable dropped managed database.Mono<com.azure.core.http.rest.Response<RestorableDroppedManagedDatabaseInner>>getWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId) Gets a restorable dropped managed database.com.azure.core.http.rest.PagedIterable<RestorableDroppedManagedDatabaseInner>listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of restorable dropped managed databases.com.azure.core.http.rest.PagedIterable<RestorableDroppedManagedDatabaseInner>listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of restorable dropped managed databases.com.azure.core.http.rest.PagedFlux<RestorableDroppedManagedDatabaseInner>listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of restorable dropped managed databases.
-
Method Details
-
listByInstanceAsync
com.azure.core.http.rest.PagedFlux<RestorableDroppedManagedDatabaseInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of restorable dropped managed databases.- 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 restorable dropped managed databases 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<RestorableDroppedManagedDatabaseInner> listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of restorable dropped managed databases.- 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 restorable dropped managed databases 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<RestorableDroppedManagedDatabaseInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of restorable dropped managed databases.- 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 restorable dropped managed databases 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<RestorableDroppedManagedDatabaseInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId) Gets a restorable dropped managed database.- 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.restorableDroppedDatabaseId- The restorableDroppedDatabaseId parameter.- Returns:
- a restorable dropped managed database 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<RestorableDroppedManagedDatabaseInner> getAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId) Gets a restorable dropped managed database.- 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.restorableDroppedDatabaseId- The restorableDroppedDatabaseId parameter.- Returns:
- a restorable dropped managed database 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<RestorableDroppedManagedDatabaseInner> getWithResponse(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, com.azure.core.util.Context context) Gets a restorable dropped managed database.- 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.restorableDroppedDatabaseId- The restorableDroppedDatabaseId parameter.context- The context to associate with this operation.- Returns:
- a restorable dropped managed database 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
RestorableDroppedManagedDatabaseInner get(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId) Gets a restorable dropped managed database.- 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.restorableDroppedDatabaseId- The restorableDroppedDatabaseId parameter.- Returns:
- a restorable dropped managed database.
- 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.
-