Interface SqlPoolGeoBackupPoliciesClient
public interface SqlPoolGeoBackupPoliciesClient
An instance of this class provides access to all the operations defined in SqlPoolGeoBackupPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters) Updates a SQL Pool geo backup policy.com.azure.core.http.rest.Response<GeoBackupPolicyInner>
createOrUpdateWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters, com.azure.core.util.Context context) Updates a SQL Pool geo backup policy.get
(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName) Get a SQL pool geo backup policycom.azure.core.http.rest.Response<GeoBackupPolicyInner>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, com.azure.core.util.Context context) Get a SQL pool geo backup policycom.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner>
List SQL pool geo backup policiescom.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) List SQL pool geo backup policies
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName) List SQL pool geo backup policiesGet list of SQL pool geo backup policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.- Returns:
- list of SQL pool geo backup policies 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<GeoBackupPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) List SQL pool geo backup policiesGet list of SQL pool geo backup policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.context
- The context to associate with this operation.- Returns:
- list of SQL pool geo backup policies 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<GeoBackupPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters, com.azure.core.util.Context context) Updates a SQL Pool geo backup policy.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.geoBackupPolicyName
- The name of the geo backup policy.parameters
- The required parameters for creating or updating the geo backup policy.context
- The context to associate with this operation.- Returns:
- a database geo backup policy 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.
-
createOrUpdate
GeoBackupPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters) Updates a SQL Pool geo backup policy.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.geoBackupPolicyName
- The name of the geo backup policy.parameters
- The required parameters for creating or updating the geo backup policy.- Returns:
- a database geo backup policy.
- 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<GeoBackupPolicyInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, com.azure.core.util.Context context) Get a SQL pool geo backup policyGet the specified SQL pool geo backup policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.geoBackupPolicyName
- The name of the geo backup policy.context
- The context to associate with this operation.- Returns:
- the specified SQL pool geo backup policy 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
GeoBackupPolicyInner get(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName) Get a SQL pool geo backup policyGet the specified SQL pool geo backup policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.geoBackupPolicyName
- The name of the geo backup policy.- Returns:
- the specified SQL pool geo backup policy.
- 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.
-