get Backup Long Term Retention Policy
suspend fun getBackupLongTermRetentionPolicy(argument: GetBackupLongTermRetentionPolicyPlainArgs): GetBackupLongTermRetentionPolicyResult
Gets a database's long term retention policy. Uses Azure REST API version 2017-03-01-preview.
Return
A long term retention policy.
Parameters
argument
null
suspend fun getBackupLongTermRetentionPolicy(databaseName: String, policyName: String, resourceGroupName: String, serverName: String): GetBackupLongTermRetentionPolicyResult
Return
A long term retention policy.
Parameters
database Name
The name of the database.
policy Name
The policy name. Should always be Default.
resource Group Name
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
server Name
The name of the server.
See also
suspend fun getBackupLongTermRetentionPolicy(argument: suspend GetBackupLongTermRetentionPolicyPlainArgsBuilder.() -> Unit): GetBackupLongTermRetentionPolicyResult
Return
A long term retention policy.
Parameters
argument
Builder for com.pulumi.azurenative.sql.kotlin.inputs.GetBackupLongTermRetentionPolicyPlainArgs.