get Managed Instance Long Term Retention Policy
suspend fun getManagedInstanceLongTermRetentionPolicy(argument: GetManagedInstanceLongTermRetentionPolicyPlainArgs): GetManagedInstanceLongTermRetentionPolicyResult
Gets a managed database's long term retention policy. Azure REST API version: 2022-11-01-preview. Other available API versions: 2023-02-01-preview.
Return
A long term retention policy.
Parameters
argument
null
suspend fun getManagedInstanceLongTermRetentionPolicy(databaseName: String, managedInstanceName: String, policyName: String, resourceGroupName: String): GetManagedInstanceLongTermRetentionPolicyResult
Return
A long term retention policy.
See also
Parameters
database Name
The name of the database.
managed Instance Name
The name of the managed instance.
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.
suspend fun getManagedInstanceLongTermRetentionPolicy(argument: suspend GetManagedInstanceLongTermRetentionPolicyPlainArgsBuilder.() -> Unit): GetManagedInstanceLongTermRetentionPolicyResult
Return
A long term retention policy.
See also
Parameters
argument
Builder for com.pulumi.azurenative.sql.kotlin.inputs.GetManagedInstanceLongTermRetentionPolicyPlainArgs.