addLongTermRetentionPolicy

Method
📦 Aspire.Hosting.Azure.Provisioning.Sql v17.0.0-preview.1.26567.5
interface AzureResourceInfrastructure {
// ... omitted for brevity
addLongTermRetentionPolicy(
bicepIdentifier: string,
resourceVersion?: string): LongTermRetentionPolicyProxy;
}

Signature

methodaddLongTermRetentionPolicy
Adds a LongTermRetentionPolicy provisioning model.
addLongTermRetentionPolicy(
bicepIdentifier: string,
resourceVersion?: string): LongTermRetentionPolicyProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
LongTermRetentionPolicyProxy

Applies to

This method applies to the following types: