1 <ng-container *ngIf="!!selection">
2 <cds-tabs type="contained"
4 <cds-tab heading="Details">
6 class="cds--data-table--sort cds--data-table--no-border cds--data-table cds--data-table--md"
7 data-testid="rgw-storage-details"
10 @if( isTierMatch( TIER_TYPE_DISPLAY.LOCAL )){
15 <cd-helper class="text-pre-wrap">
21 <td>{{ selection?.zonegroup_name }}</td>
23 } @if(isTierMatch( TIER_TYPE_DISPLAY.LOCAL )){
28 <cd-helper class="text-pre-wrap">
30 Placement Target defines the destination and rules for moving objects between
35 <td>{{ selection?.placement_target }}</td>
37 } @if(isTierMatch( TIER_TYPE_DISPLAY.CLOUD_TIER, TIER_TYPE_DISPLAY.GLACIER)){
42 <cd-helper class="text-pre-wrap">
48 <td>{{ selection?.target_path }}</td>
54 <cd-helper class="text-pre-wrap">
56 {{ targetAccessKeyText }}
62 [columnNumbers]="{ md: 4 }"
69 [value]="selection?.access_key"
73 cdPasswordButton="access_key"></button>
74 <cd-copy-2-clipboard-button source="access_key"> </cd-copy-2-clipboard-button>
82 <cd-helper class="text-pre-wrap">
83 <span> {{ targetSecretKeyText }} </span>
88 [columnNumbers]="{ md: 4 }"
95 [value]="selection?.secret"
99 cdPasswordButton="secret"></button>
100 <cd-copy-2-clipboard-button source="secret"> </cd-copy-2-clipboard-button>
108 <cd-helper class="text-pre-wrap">
109 <span>{{ hostStyleText }}</span>
112 <td>{{ selection?.host_style }}</td>
117 Head Object (Stub File)
118 <cd-helper class="text-pre-wrap">
119 <span> {{ retainHeadObjectText }}</span>
122 <td>{{ selection?.retain_head_object ? 'Enabled' : 'Disabled' }}</td>
128 <cd-helper class="text-pre-wrap">
130 {{ allowReadThroughText }}
134 <td>{{ selection?.allow_read_through ? 'Enabled' : 'Disabled' }}</td>
136 } @if(isTierMatch(TIER_TYPE_DISPLAY.CLOUD_TIER, TIER_TYPE_DISPLAY.GLACIER) &&
137 (selection?.allow_read_through)) {
141 Read through Restore Days
142 <cd-helper class="text-pre-wrap">
144 {{ readthroughrestoreDaysText }}
149 {{ selection?.read_through_restore_days }}
150 {{ selection?.read_through_restore_days === 1 ? 'Day' : 'Days' }}
153 } @if(isTierMatch( TIER_TYPE_DISPLAY.GLACIER)){
158 <cd-helper class="text-pre-wrap">
160 {{ glacierRestoreDayText }}
164 <td> {{ selection?.glacier_restore_days }}
165 {{ selection?.glacier_restore_days === 1 ? 'Day' : 'Days' }}</td>
170 Glacier Restore Tier Type
171 <cd-helper class="text-pre-wrap">
173 {{ glacierRestoreTiertypeText }}
177 <td>{{ selection?.glacier_restore_tier_type }}</td>
179 } @if(isTierMatch( TIER_TYPE_DISPLAY.CLOUD_TIER, TIER_TYPE_DISPLAY.GLACIER)){
183 Restore Storage Class
184 <cd-helper class="text-pre-wrap">
186 {{ restoreStorageClassText }}
190 <td>{{ selection?.restore_storage_class }}</td>
195 Multipart Minimum Part Size
196 <cd-helper class="text-pre-wrap">
198 {{ multipartMinPartText }}
202 <td>{{ selection?.multipart_min_part_size | dimlessBinary }}</td>
207 Multipart Sync Threshold
208 <cd-helper class="text-pre-wrap">
210 {{ multipartSyncThreholdText }}
214 <td>{{ selection?.multipart_sync_threshold | dimlessBinary }}</td>
216 } @if(selection?.acl_mappings.length > 0) {
218 <td class="bold w-25"
221 <ng-container *ngFor="let type of groupedACLs | keyvalue">
223 <div class="cds--label">{{ type.key }}:</div>
224 <div *ngFor="let item of type.value"
225 [cdsStack]="'horizontal'"
228 class="tags-background-gray">
229 {{ item.source_id }} : {{ item.dest_id }}