public interface ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> |
beginUpdateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Sets a database's long term retention policy.
|
Mono<ManagedBackupShortTermRetentionPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Sets a database's long term retention policy.
|
Mono<ManagedBackupShortTermRetentionPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
get(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Gets a dropped database's short term retention policy.
|
Mono<ManagedBackupShortTermRetentionPolicyInner> |
getAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Gets a dropped database's short term retention policy.
|
com.azure.core.http.rest.Response<ManagedBackupShortTermRetentionPolicyInner> |
getWithResponse(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
com.azure.core.util.Context context)
Gets a dropped database's short term retention policy.
|
Mono<com.azure.core.http.rest.Response<ManagedBackupShortTermRetentionPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Gets a dropped database's short term retention policy.
|
com.azure.core.http.rest.PagedIterable<ManagedBackupShortTermRetentionPolicyInner> |
listByRestorableDroppedDatabase(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId)
Gets a dropped database's short term retention policy list.
|
com.azure.core.http.rest.PagedIterable<ManagedBackupShortTermRetentionPolicyInner> |
listByRestorableDroppedDatabase(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
com.azure.core.util.Context context)
Gets a dropped database's short term retention policy list.
|
com.azure.core.http.rest.PagedFlux<ManagedBackupShortTermRetentionPolicyInner> |
listByRestorableDroppedDatabaseAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId)
Gets a dropped database's short term retention policy list.
|
ManagedBackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
ManagedBackupShortTermRetentionPolicyInner |
update(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays,
com.azure.core.util.Context context)
Sets a database's long term retention policy.
|
Mono<ManagedBackupShortTermRetentionPolicyInner> |
updateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName)
Sets a database's long term retention policy.
|
Mono<ManagedBackupShortTermRetentionPolicyInner> |
updateAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String managedInstanceName,
String restorableDroppedDatabaseId,
ManagedShortTermRetentionPolicyName policyName,
Integer retentionDays)
Sets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<ManagedBackupShortTermRetentionPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.policyName - The policy 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.Mono<ManagedBackupShortTermRetentionPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.policyName - The policy 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.ManagedBackupShortTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.policyName - The policy 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.Response<ManagedBackupShortTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.policyName - The policy 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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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 managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabaseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)
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.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<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)
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.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<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, 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.managedInstanceName - The name of the managed instance.restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.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.