BackupConfigurationResponse.fromMap constructor

BackupConfigurationResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory BackupConfigurationResponse.fromMap(Map<String, dynamic> map) {
  return BackupConfigurationResponse(
    backupRetentionSettings: pulumi.Input.fromValue(BackupRetentionSettingsResponse.fromMap((map['backupRetentionSettings']! as Map).cast<String, dynamic>())),
    binaryLogEnabled: pulumi.Input.fromValue(map['binaryLogEnabled'] as bool),
    enabled: pulumi.Input.fromValue(map['enabled'] as bool),
    kind: pulumi.Input.fromValue(map['kind'] as String),
    location: pulumi.Input.fromValue(map['location'] as String),
    pointInTimeRecoveryEnabled: pulumi.Input.fromValue(map['pointInTimeRecoveryEnabled'] as bool),
    replicationLogArchivingEnabled: pulumi.Input.fromValue(map['replicationLogArchivingEnabled'] as bool),
    startTime: pulumi.Input.fromValue(map['startTime'] as String),
    transactionLogRetentionDays: pulumi.Input.fromValue(map['transactionLogRetentionDays'] as int),
  );
}