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