Watch Aspire live streamsDocsTry Aspire

ManagedInstanceLongTermRetentionPolicyProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.Sql v13.6.0-preview.1.26478.8
interface ManagedInstanceLongTermRetentionPolicyProxy {
backupStorageAccessTier: BicepValueProxy | SqlBackupStorageAccessTier;
readonly id: BicepValueProxy;
monthlyRetention: BicepValueProxy | string;
readonly name: BicepValueProxy | string;
parent: ManagedDatabaseProxy;
readonly systemData: SqlSystemDataProxy;
weeklyRetention: BicepValueProxy | string;
weekOfYear: BicepValueProxy | number;
yearlyRetention: BicepValueProxy | string;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearBackupStorageAccessTier(): void;
clearMonthlyRetention(): void;
clearWeeklyRetention(): void;
clearWeekOfYear(): void;
clearYearlyRetention(): void;
}

Properties

propertybackupStorageAccessTierBicepValueProxy | SqlBackupStorageAccessTierget · set
Gets or sets the BackupStorageAccessTier provisioning property.
propertyidBicepValueProxyget
Gets the Id provisioning property.
propertymonthlyRetentionBicepValueProxy | stringget · set
Gets or sets the MonthlyRetention provisioning property.
propertynameBicepValueProxy | stringget
Gets the Name provisioning property.
propertyparentManagedDatabaseProxyget · set
Gets or sets the Parent provisioning property.
propertysystemDataSqlSystemDataProxyget
Gets the SystemData provisioning property.
propertyweeklyRetentionBicepValueProxy | stringget · set
Gets or sets the WeeklyRetention provisioning property.
propertyweekOfYearBicepValueProxy | numberget · set
Gets or sets the WeekOfYear provisioning property.
propertyyearlyRetentionBicepValueProxy | stringget · set
Gets or sets the YearlyRetention provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
Clears the BackupStorageAccessTier provisioning property.
clearBackupStorageAccessTier(): void
Clears the MonthlyRetention provisioning property.
clearMonthlyRetention(): void
Clears the WeeklyRetention provisioning property.
clearWeeklyRetention(): void
Clears the WeekOfYear provisioning property.
clearWeekOfYear(): void
Clears the YearlyRetention provisioning property.
clearYearlyRetention(): void