public interface BackupShortTermRetentionPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Updates a database's short term retention policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Updates a database's short term retention policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> |
beginUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Updates a database's short term retention policy.
|
Mono<BackupShortTermRetentionPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Updates a database's short term retention policy.
|
Mono<BackupShortTermRetentionPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
get(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Gets a database's short term retention policy.
|
Mono<BackupShortTermRetentionPolicyInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Gets a database's short term retention policy.
|
com.azure.core.http.rest.Response<BackupShortTermRetentionPolicyInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
com.azure.core.util.Context context)
Gets a database's short term retention policy.
|
Mono<com.azure.core.http.rest.Response<BackupShortTermRetentionPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Gets a database's short term retention policy.
|
com.azure.core.http.rest.PagedIterable<BackupShortTermRetentionPolicyInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName)
Gets a database's short term retention policy.
|
com.azure.core.http.rest.PagedIterable<BackupShortTermRetentionPolicyInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName,
com.azure.core.util.Context context)
Gets a database's short term retention policy.
|
com.azure.core.http.rest.PagedFlux<BackupShortTermRetentionPolicyInner> |
listByDatabaseAsync(String resourceGroupName,
String serverName,
String databaseName)
Gets a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
BackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Updates a database's short term retention policy.
|
Mono<BackupShortTermRetentionPolicyInner> |
updateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName)
Updates a database's short term retention policy.
|
Mono<BackupShortTermRetentionPolicyInner> |
updateAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
ShortTermRetentionPolicyName policyName,
Integer retentionDays)
Updates a database's short term retention policy.
|
Mono<com.azure.core.http.rest.Response<BackupShortTermRetentionPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.Mono<BackupShortTermRetentionPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.BackupShortTermRetentionPolicyInner get(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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<BackupShortTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.Mono<BackupShortTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.Mono<BackupShortTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.BackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.BackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.BackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupShortTermRetentionPolicyInner>,BackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.Mono<BackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.Mono<BackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.BackupShortTermRetentionPolicyInner update(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.BackupShortTermRetentionPolicyInner update(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName, Integer retentionDays, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".retentionDays - The backup retention period in days. This is how many days Point-in-Time Restore will be
supported.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.BackupShortTermRetentionPolicyInner update(String resourceGroupName, String serverName, String databaseName, ShortTermRetentionPolicyName policyName)
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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be "default".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.PagedFlux<BackupShortTermRetentionPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
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.serverName - The name of the server.databaseName - The name of the database.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<BackupShortTermRetentionPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
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.serverName - The name of the server.databaseName - The name of the database.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<BackupShortTermRetentionPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
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.serverName - The name of the server.databaseName - The name of the database.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.Copyright © 2020 Microsoft Corporation. All rights reserved.