import { Expressionable, ResourceDefinition } from 'arm-templator'; export interface AzureBackupServerContainer { containerType: Expressionable; } export interface AzureFileshareProtectedItem { friendlyName?: Expressionable; protectionStatus?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; healthStatus?: Expressionable<('Passed' | 'ActionRequired' | 'ActionSuggested' | 'Invalid')>; lastBackupStatus?: Expressionable; lastBackupTime?: Expressionable; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface AzureFileshareProtectedItemExtendedInfo { oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; policyState?: Expressionable; } export interface AzureFileShareProtectionPolicy { workLoadType?: Expressionable<('Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase')>; schedulePolicy?: Expressionable; retentionPolicy?: Expressionable; timeZone?: Expressionable; backupManagementType: Expressionable; } export interface AzureIaaSClassicComputeVMContainer { containerType: Expressionable; } export interface AzureIaaSClassicComputeVMProtectedItem { protectedItemType: Expressionable; } export interface AzureIaaSComputeVMContainer { containerType: Expressionable; } export interface AzureIaaSComputeVMProtectedItem { protectedItemType: Expressionable; } export interface AzureIaaSVMHealthDetails { code?: Expressionable; title?: Expressionable; message?: Expressionable; recommendations?: Expressionable; } export interface AzureIaaSVMProtectedItem { friendlyName?: Expressionable; virtualMachineId?: Expressionable; protectionStatus?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; healthStatus?: Expressionable<('Passed' | 'ActionRequired' | 'ActionSuggested' | 'Invalid')>; healthDetails?: Expressionable; lastBackupStatus?: Expressionable; lastBackupTime?: Expressionable; protectedItemDataId?: Expressionable; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface AzureIaaSVMProtectedItemExtendedInfo { oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; policyInconsistent?: Expressionable; } export interface AzureIaaSVMProtectionPolicy { schedulePolicy?: Expressionable; retentionPolicy?: Expressionable; instantRpRetentionRangeInDays?: Expressionable; timeZone?: Expressionable; backupManagementType: Expressionable; } export interface AzureSQLAGWorkloadContainerProtectionContainer { containerType: Expressionable; } export interface AzureSqlContainer { containerType: Expressionable; } export interface AzureSqlProtectedItem { protectedItemDataId?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface AzureSqlProtectedItemExtendedInfo { oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; policyState?: Expressionable; } export interface AzureSqlProtectionPolicy { retentionPolicy?: Expressionable; backupManagementType: Expressionable; } export interface AzureStorageContainer { sourceResourceId?: Expressionable; storageAccountVersion?: Expressionable; resourceGroup?: Expressionable; protectedItemCount?: Expressionable; containerType: Expressionable; } export interface AzureVMAppContainerProtectionContainer { containerType: Expressionable; } export interface AzureVmWorkloadProtectedItem { friendlyName?: Expressionable; serverName?: Expressionable; parentName?: Expressionable; parentType?: Expressionable; protectionStatus?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; lastBackupStatus?: Expressionable<('Invalid' | 'Healthy' | 'Unhealthy' | 'IRPending')>; lastBackupTime?: Expressionable; lastBackupErrorDetail?: Expressionable; protectedItemDataSourceId?: Expressionable; protectedItemHealthStatus?: Expressionable<('Invalid' | 'Healthy' | 'Unhealthy' | 'NotReachable' | 'IRPending')>; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface AzureVmWorkloadProtectedItemExtendedInfo { oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; policyState?: Expressionable; } export interface AzureVmWorkloadProtectionPolicy { workLoadType?: Expressionable<('Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase')>; settings?: Expressionable; subProtectionPolicy?: Expressionable; backupManagementType: Expressionable; } export interface AzureVmWorkloadSAPAseDatabaseProtectedItem { protectedItemType: Expressionable; } export interface AzureVmWorkloadSAPHanaDatabaseProtectedItem { protectedItemType: Expressionable; } export interface AzureVmWorkloadSQLDatabaseProtectedItem { protectedItemType: Expressionable; } export interface AzureWorkloadContainer { sourceResourceId?: Expressionable; lastUpdatedTime?: Expressionable; extendedInfo?: Expressionable; workloadType?: Expressionable<('Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase')>; operationType?: Expressionable<('Invalid' | 'Register' | 'Reregister')>; containerType: Expressionable; } export interface AzureWorkloadContainerExtendedInfo { hostServerName?: Expressionable; inquiryInfo?: Expressionable; nodesList?: Expressionable; } export interface BackupResourceConfig { storageModelType?: Expressionable<('Invalid' | 'GeoRedundant' | 'LocallyRedundant')>; storageType?: Expressionable<('Invalid' | 'GeoRedundant' | 'LocallyRedundant')>; storageTypeState?: Expressionable<('Invalid' | 'Locked' | 'Unlocked')>; } export interface ContainerIdentityInfo { uniqueName?: Expressionable; aadTenantId?: Expressionable; servicePrincipalClientId?: Expressionable; audience?: Expressionable; } export interface DailyRetentionFormat { daysOfTheMonth?: Expressionable; } export interface DailyRetentionSchedule { retentionTimes?: Expressionable; retentionDuration?: Expressionable; } export interface Day { date?: Expressionable; isLast?: Expressionable; } export interface DistributedNodesInfo { nodeName?: Expressionable; status?: Expressionable; errorDetail?: Expressionable; } export interface DpmContainer { canReRegister?: Expressionable; containerId?: Expressionable; protectedItemCount?: Expressionable; dpmAgentVersion?: Expressionable; dpmServers?: Expressionable; upgradeAvailable?: Expressionable; protectionStatus?: Expressionable; extendedInfo?: Expressionable; containerType: Expressionable; } export interface DPMContainerExtendedInfo { lastRefreshedAt?: Expressionable; } export interface DPMProtectedItem { friendlyName?: Expressionable; backupEngineName?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; isScheduledForDeferredDelete?: Expressionable; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface DPMProtectedItemExtendedInfo { protected?: Expressionable; isPresentOnCloud?: Expressionable; lastBackupStatus?: Expressionable; lastRefreshedAt?: Expressionable; oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; onPremiseOldestRecoveryPoint?: Expressionable; onPremiseLatestRecoveryPoint?: Expressionable; onPremiseRecoveryPointCount?: Expressionable; isCollocated?: Expressionable; protectionGroupName?: Expressionable; diskStorageUsedInBytes?: Expressionable; totalDiskStorageSizeInBytes?: Expressionable; } export interface ErrorDetail { code?: Expressionable; message?: Expressionable; recommendations?: Expressionable; } export interface GenericContainer { fabricName?: Expressionable; extendedInformation?: Expressionable; containerType: Expressionable; } export interface GenericContainerExtendedInfo { rawCertData?: Expressionable; containerIdentityInfo?: Expressionable; } export interface GenericProtectedItem { friendlyName?: Expressionable; policyState?: Expressionable; protectionState?: Expressionable<('Invalid' | 'IRPending' | 'Protected' | 'ProtectionError' | 'ProtectionStopped' | 'ProtectionPaused')>; protectedItemId?: Expressionable; fabricName?: Expressionable; protectedItemType: Expressionable; } export interface GenericProtectionPolicy { subProtectionPolicy?: Expressionable; timeZone?: Expressionable; fabricName?: Expressionable; backupManagementType: Expressionable; } export interface IaaSVMContainer { virtualMachineId?: Expressionable; virtualMachineVersion?: Expressionable; resourceGroup?: Expressionable; containerType: Expressionable; } export interface InquiryInfo { status?: Expressionable; errorDetail?: Expressionable; inquiryDetails?: Expressionable; } export interface InquiryValidation { status?: Expressionable; errorDetail?: Expressionable; } export interface LogSchedulePolicy { scheduleFrequencyInMins?: Expressionable; schedulePolicyType: Expressionable; } export interface LongTermRetentionPolicy { dailySchedule?: Expressionable; weeklySchedule?: Expressionable; monthlySchedule?: Expressionable; yearlySchedule?: Expressionable; retentionPolicyType: Expressionable; } export interface LongTermSchedulePolicy { schedulePolicyType: Expressionable; } export interface MabContainer { canReRegister?: Expressionable; containerId?: Expressionable; protectedItemCount?: Expressionable; agentVersion?: Expressionable; extendedInfo?: Expressionable; mabContainerHealthDetails?: Expressionable; containerHealthState?: Expressionable; containerType: Expressionable; } export interface MabContainerExtendedInfo { lastRefreshedAt?: Expressionable; backupItemType?: Expressionable<('Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase')>; backupItems?: Expressionable; policyName?: Expressionable; lastBackupStatus?: Expressionable; } export interface MABContainerHealthDetails { code?: Expressionable; title?: Expressionable; message?: Expressionable; recommendations?: Expressionable; } export interface MabFileFolderProtectedItem { friendlyName?: Expressionable; computerName?: Expressionable; lastBackupStatus?: Expressionable; protectionState?: Expressionable; isScheduledForDeferredDelete?: Expressionable; deferredDeleteSyncTimeInUTC?: Expressionable; extendedInfo?: Expressionable; protectedItemType: Expressionable; } export interface MabFileFolderProtectedItemExtendedInfo { lastRefreshedAt?: Expressionable; oldestRecoveryPoint?: Expressionable; recoveryPointCount?: Expressionable; } export interface MabProtectionPolicy { schedulePolicy?: Expressionable; retentionPolicy?: Expressionable; backupManagementType: Expressionable; } export interface MonthlyRetentionSchedule { retentionScheduleFormatType?: Expressionable<('Invalid' | 'Daily' | 'Weekly')>; retentionScheduleDaily?: Expressionable; retentionScheduleWeekly?: Expressionable; retentionTimes?: Expressionable; retentionDuration?: Expressionable; } export interface ProtectedItem { backupManagementType?: Expressionable<('Invalid' | 'AzureIaasVM' | 'MAB' | 'DPM' | 'AzureBackupServer' | 'AzureSql' | 'AzureStorage' | 'AzureWorkload' | 'DefaultBackup')>; workloadType?: Expressionable<('Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase')>; containerName?: Expressionable; sourceResourceId?: Expressionable; policyId?: Expressionable; lastRecoveryPoint?: Expressionable; backupSetName?: Expressionable; createMode?: Expressionable<('Invalid' | 'Default' | 'Recover')>; protectedItemType: Expressionable; } export interface ProtectionContainer { friendlyName?: Expressionable; backupManagementType?: Expressionable<('Invalid' | 'AzureIaasVM' | 'MAB' | 'DPM' | 'AzureBackupServer' | 'AzureSql' | 'AzureStorage' | 'AzureWorkload' | 'DefaultBackup')>; registrationStatus?: Expressionable; healthStatus?: Expressionable; containerType: Expressionable; } export interface ProtectionPolicy { protectedItemsCount?: Expressionable; backupManagementType: Expressionable; } export interface RetentionDuration { count?: Expressionable; durationType?: Expressionable<('Invalid' | 'Days' | 'Weeks' | 'Months' | 'Years')>; } export interface RetentionPolicy { retentionPolicyType: Expressionable; } export interface SchedulePolicy { schedulePolicyType: Expressionable; } export interface Settings { timeZone?: Expressionable; issqlcompression?: Expressionable; isCompression?: Expressionable; } export interface SimpleRetentionPolicy { retentionDuration?: Expressionable; retentionPolicyType: Expressionable; } export interface SimpleSchedulePolicy { scheduleRunFrequency?: Expressionable<('Invalid' | 'Daily' | 'Weekly')>; scheduleRunDays?: Expressionable<('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[]>; scheduleRunTimes?: Expressionable; scheduleWeeklyFrequency?: Expressionable; schedulePolicyType: Expressionable; } export interface SubProtectionPolicy { policyType?: Expressionable<('Invalid' | 'Full' | 'Differential' | 'Log' | 'CopyOnlyFull')>; schedulePolicy?: Expressionable; retentionPolicy?: Expressionable; } export interface WeeklyRetentionFormat { daysOfTheWeek?: Expressionable<('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[]>; weeksOfTheMonth?: Expressionable<('First' | 'Second' | 'Third' | 'Fourth' | 'Last' | 'Invalid')[]>; } export interface WeeklyRetentionSchedule { daysOfTheWeek?: Expressionable<('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[]>; retentionTimes?: Expressionable; retentionDuration?: Expressionable; } export interface WorkloadInquiryDetails { type?: Expressionable; itemCount?: Expressionable; inquiryValidation?: Expressionable; } export interface YearlyRetentionSchedule { retentionScheduleFormatType?: Expressionable<('Invalid' | 'Daily' | 'Weekly')>; monthsOfYear?: Expressionable<('Invalid' | 'January' | 'February' | 'March' | 'April' | 'May' | 'June' | 'July' | 'August' | 'September' | 'October' | 'November' | 'December')[]>; retentionScheduleDaily?: Expressionable; retentionScheduleWeekly?: Expressionable; retentionTimes?: Expressionable; retentionDuration?: Expressionable; } export declare namespace vaults { namespace backupFabrics { namespace protectionContainers { type ProtectionContainersResource = ResourceDefinition; function create(name: [Expressionable, Expressionable, Expressionable], properties: ProtectionContainer, location?: Expressionable): ProtectionContainersResource; } } } export declare namespace vaults { namespace backupFabrics { namespace protectionContainers { namespace protectedItems { type ProtectedItemsResource = ResourceDefinition; function create(name: [Expressionable, Expressionable, Expressionable, Expressionable], properties: ProtectedItem, location?: Expressionable): ProtectedItemsResource; } } } } export declare namespace vaults { namespace backupPolicies { type BackupPoliciesResource = ResourceDefinition; function create(name: [Expressionable, Expressionable], properties: ProtectionPolicy, location?: Expressionable): BackupPoliciesResource; } } export declare namespace vaults { namespace backupstorageconfig { type BackupstorageconfigResource = ResourceDefinition; function create(name: [Expressionable, Expressionable], properties: BackupResourceConfig, location?: Expressionable): BackupstorageconfigResource; } }