public interface SqlPoolGeoBackupPoliciesClient
Modifier and Type | Method and Description |
---|---|
GeoBackupPolicyInner |
createOrUpdate(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.
|
GeoBackupPolicyInner |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName,
GeoBackupPolicyName geoBackupPolicyName)
Get the specified SQL pool geo backup policy.
|
com.azure.core.http.rest.Response<GeoBackupPolicyInner> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
GeoBackupPolicyName geoBackupPolicyName,
com.azure.core.util.Context context)
Get the specified SQL pool geo backup policy.
|
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Get list of SQL pool geo backup policies.
|
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Get list of SQL pool geo backup policies.
|
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.GeoBackupPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner 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.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.com.azure.core.http.rest.Response<GeoBackupPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters, com.azure.core.util.Context context)
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.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.GeoBackupPolicyInner get(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName)
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.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.com.azure.core.http.rest.Response<GeoBackupPolicyInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.