public interface BackupLongTermRetentionPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters)
Sets a database's long term retention policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters,
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<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters)
Sets a database's long term retention policy.
|
BackupLongTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters)
Sets a database's long term retention policy.
|
BackupLongTermRetentionPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters,
com.azure.core.util.Context context)
Sets a database's long term retention policy.
|
Mono<BackupLongTermRetentionPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters)
Sets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
BackupLongTermRetentionPolicyInner parameters)
Sets a database's long term retention policy.
|
BackupLongTermRetentionPolicyInner |
get(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName)
Gets a database's long term retention policy.
|
Mono<BackupLongTermRetentionPolicyInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName)
Gets a database's long term retention policy.
|
com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName,
com.azure.core.util.Context context)
Gets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
LongTermRetentionPolicyName policyName)
Gets a database's long term retention policy.
|
BackupLongTermRetentionPolicyInner |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName)
Gets a database's long term retention policy.
|
Mono<BackupLongTermRetentionPolicyInner> |
listByDatabaseAsync(String resourceGroupName,
String serverName,
String databaseName)
Gets a database's long term retention policy.
|
com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner> |
listByDatabaseWithResponse(String resourceGroupName,
String serverName,
String databaseName,
com.azure.core.util.Context context)
Gets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner>> |
listByDatabaseWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName)
Gets a database's long term retention policy.
|
Mono<com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName 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<BackupLongTermRetentionPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName 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.BackupLongTermRetentionPolicyInner get(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName 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<BackupLongTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName 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, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner 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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be Default.parameters - A long term retention 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner 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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be Default.parameters - A long term retention 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner 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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be Default.parameters - A long term retention 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupLongTermRetentionPolicyInner>,BackupLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner parameters, 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.parameters - A long term retention 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.Mono<BackupLongTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner 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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be Default.parameters - A long term retention 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.BackupLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner 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.serverName - The name of the server.databaseName - The name of the database.policyName - The policy name. Should always be Default.parameters - A long term retention 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.BackupLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName, BackupLongTermRetentionPolicyInner parameters, 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.parameters - A long term retention 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.Mono<com.azure.core.http.rest.Response<BackupLongTermRetentionPolicyInner>> listByDatabaseWithResponseAsync(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.Mono<BackupLongTermRetentionPolicyInner> 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.BackupLongTermRetentionPolicyInner 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.Response<BackupLongTermRetentionPolicyInner> listByDatabaseWithResponse(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.