glacier_restore_tier_type?: string;
restore_storage_class?: string;
read_through_restore_days?: number;
+ target_storage_class?: string;
};
storage_class?: string;
name?: string;
GLACIER: 'Cloud S3 Glacier'
};
+export const GLACIER_TARGET_STORAGE_CLASS = 'GLACIER';
+
export const ALLOW_READ_THROUGH_TEXT =
'Enables fetching objects from remote cloud S3 if not found locally.';
EXPEDITED_TIER_TYPE_TEXT,
TextLabels,
CLOUD_TIER_REQUIRED_FIELDS,
- GLACIER_REQUIRED_FIELDS
+ GLACIER_REQUIRED_FIELDS,
+ GLACIER_TARGET_STORAGE_CLASS
} from '../models/rgw-storage-class.model';
import { NotificationType } from '~/app/shared/enum/notification-type.enum';
import { NotificationService } from '~/app/shared/services/notification.service';
tier_config: {
...tierConfig,
glacier_restore_days: rawFormValue.glacier_restore_days,
- glacier_restore_tier_type: rawFormValue.glacier_restore_tier_type
+ glacier_restore_tier_type: rawFormValue.glacier_restore_tier_type,
+ target_storage_class: GLACIER_TARGET_STORAGE_CLASS
}
}
]