@@ -1097,6 +1097,7 @@ def __init__(self):
10971097 'ForceTapeRemoval': None,
10981098 'Id': None,
10991099 'LastCleaned': None,
1100+ 'MaxFailedTapes': None,
11001101 'MfgSerialNumber': None,
11011102 'MinimumTaskPriority': None,
11021103 'PartitionId': None,
@@ -1141,6 +1142,8 @@ def __init__(self):
11411142 self.attributes = []
11421143 self.elements = {
11431144 'AutoCompactionEnabled': None,
1145+ 'AutoQuiesceEnabled': None,
1146+ 'DriveIdleTimeoutInMinutes': None,
11441147 'DriveType': None,
11451148 'ErrorMessage': None,
11461149 'Id': None,
@@ -1461,6 +1464,7 @@ def __init__(self):
14611464 self.elements = {
14621465 'AvailableCapacityInBytes': None,
14631466 'CacheFilesystem': CacheFilesystem(),
1467+ 'JobLockedCacheInBytes': None,
14641468 'Summary': None,
14651469 'TotalCapacityInBytes': None,
14661470 'UnavailableCapacityInBytes': None,
@@ -1560,6 +1564,8 @@ def __init__(self):
15601564 self.attributes = []
15611565 self.elements = {
15621566 'AutoCompactionEnabled': None,
1567+ 'AutoQuiesceEnabled': None,
1568+ 'DriveIdleTimeoutInMinutes': None,
15631569 'DriveType': None,
15641570 'ErrorMessage': None,
15651571 'Id': None,
@@ -1837,6 +1843,8 @@ def __init__(self):
18371843 self.attributes = []
18381844 self.elements = {
18391845 'AutoCompactionEnabled': None,
1846+ 'AutoQuiesceEnabled': None,
1847+ 'DriveIdleTimeoutInMinutes': None,
18401848 'DriveType': None,
18411849 'ErrorMessage': None,
18421850 'Id': None,
@@ -6979,6 +6987,16 @@ def __init__(self, tape_id, task_priority=None):
69796987 self.http_verb = HttpVerb.PUT
69806988
69816989
6990+ class MarkTapeForCompactionSpectraS3Request(AbstractRequest):
6991+
6992+ def __init__(self, tape_id):
6993+ super(MarkTapeForCompactionSpectraS3Request, self).__init__()
6994+ self.tape_id = tape_id
6995+ self.query_params['operation'] = 'mark_for_compaction'
6996+ self.path = '/_rest_/tape/' + tape_id
6997+ self.http_verb = HttpVerb.PUT
6998+
6999+
69827000class ModifyAllTapePartitionsSpectraS3Request(AbstractRequest):
69837001
69847002 def __init__(self, quiesced):
@@ -6990,9 +7008,11 @@ def __init__(self, quiesced):
69907008
69917009class ModifyTapeDriveSpectraS3Request(AbstractRequest):
69927010
6993- def __init__(self, tape_drive_id, minimum_task_priority=None, quiesced=None, reserved_task_type=None):
7011+ def __init__(self, tape_drive_id, max_failed_tapes=None, minimum_task_priority=None, quiesced=None, reserved_task_type=None):
69947012 super(ModifyTapeDriveSpectraS3Request, self).__init__()
69957013 self.tape_drive_id = tape_drive_id
7014+ if max_failed_tapes is not None:
7015+ self.query_params['max_failed_tapes'] = max_failed_tapes
69967016 if minimum_task_priority is not None:
69977017 self.query_params['minimum_task_priority'] = minimum_task_priority
69987018 if quiesced is not None:
@@ -7005,11 +7025,15 @@ def __init__(self, tape_drive_id, minimum_task_priority=None, quiesced=None, res
70057025
70067026class ModifyTapePartitionSpectraS3Request(AbstractRequest):
70077027
7008- def __init__(self, tape_partition, auto_compaction_enabled=None, minimum_read_reserved_drives=None, minimum_write_reserved_drives=None, quiesced=None, serial_number=None):
7028+ def __init__(self, tape_partition, auto_compaction_enabled=None, auto_quiesce_enabled=None, drive_idle_timeout_in_minutes=None, minimum_read_reserved_drives=None, minimum_write_reserved_drives=None, quiesced=None, serial_number=None):
70097029 super(ModifyTapePartitionSpectraS3Request, self).__init__()
70107030 self.tape_partition = tape_partition
70117031 if auto_compaction_enabled is not None:
70127032 self.query_params['auto_compaction_enabled'] = auto_compaction_enabled
7033+ if auto_quiesce_enabled is not None:
7034+ self.query_params['auto_quiesce_enabled'] = auto_quiesce_enabled
7035+ if drive_idle_timeout_in_minutes is not None:
7036+ self.query_params['drive_idle_timeout_in_minutes'] = drive_idle_timeout_in_minutes
70137037 if minimum_read_reserved_drives is not None:
70147038 self.query_params['minimum_read_reserved_drives'] = minimum_read_reserved_drives
70157039 if minimum_write_reserved_drives is not None:
@@ -10900,6 +10924,14 @@ def process_response(self, response):
1090010924 self.result = parseModel(xmldom.fromstring(response.read()), Tape())
1090110925
1090210926
10927+ class MarkTapeForCompactionSpectraS3Response(AbstractResponse):
10928+
10929+ def process_response(self, response):
10930+ self.__check_status_codes__([200])
10931+ if self.response.status == 200:
10932+ self.result = parseModel(xmldom.fromstring(response.read()), Tape())
10933+
10934+
1090310935class ModifyAllTapePartitionsSpectraS3Response(AbstractResponse):
1090410936
1090510937 def process_response(self, response):
@@ -13034,6 +13066,11 @@ def inspect_tape_spectra_s3(self, request):
1303413066 raise TypeError('request for inspect_tape_spectra_s3 should be of type InspectTapeSpectraS3Request but was ' + request.__class__.__name__)
1303513067 return InspectTapeSpectraS3Response(self.net_client.get_response(request), request)
1303613068
13069+ def mark_tape_for_compaction_spectra_s3(self, request):
13070+ if not isinstance(request, MarkTapeForCompactionSpectraS3Request):
13071+ raise TypeError('request for mark_tape_for_compaction_spectra_s3 should be of type MarkTapeForCompactionSpectraS3Request but was ' + request.__class__.__name__)
13072+ return MarkTapeForCompactionSpectraS3Response(self.net_client.get_response(request), request)
13073+
1303713074 def modify_all_tape_partitions_spectra_s3(self, request):
1303813075 if not isinstance(request, ModifyAllTapePartitionsSpectraS3Request):
1303913076 raise TypeError('request for modify_all_tape_partitions_spectra_s3 should be of type ModifyAllTapePartitionsSpectraS3Request but was ' + request.__class__.__name__)
0 commit comments