NAME

Update-DcsObjectImmutabilityExpiration

SYNOPSIS

Requests to update the expiration date of the specified immutable object.

SYNTAX

Update-DcsObjectImmutabilityExpiration [-ParentObject] <String> -RetentionPeriod <DateTime> [-Connection <String>] [-PipelineVariable <String>] [<CommonParameters>]


Update-DcsObjectImmutabilityExpiration [-Immutable] <String> -RetentionPeriod <DateTime> [-Connection <String>] [-PipelineVariable <String>] [<CommonParameters>]


DESCRIPTION

Requests to update the expiration date of the specified immutable object.

PARAMETERS

-ParentObject <String>
Name or ID of the parent object.

Required: true
Position: 1
Default value:
Accept pipeline input: true
Accept wildcard characters: false

-Immutable <String>
ID of the immutability object.

Required: true
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-RetentionPeriod <DateTime>
The date and time of the immutability retention period. One way to provide the RetentionPeriod parameter would be by piping a variable created by invoking New-Object with the TypeName parameter of DateTime with the correct arguments (see Help for New-Object, Get-Date). The RetentionPeriod parameter can also be provided in a string with the date and time. An example of the format to use is "Tuesday, March 29, 2011 2:51:00 PM".

Required: true
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection <String>
Alias representing the connection to the server group. If not specified, the default connection will be used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable <String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (<http://go.microsoft.com/fwlink/?LinkID=113216).>

INPUTS

OUTPUTS

ImmutableDataObject that identifies the immutability.

NOTES

Also see Add-DcsObjectImmutability, Get-DcsObjectImmutability.

EXAMPLES


-------------- Example 1 Requests to update the expiration date of the specified immutable object-------------
Update-DcsObjectImmutabilityExpiration -ParentObject "Virtual disk 1 @ 8/12/2025 10:58:05 AM UTC" -RetentionPeriod 2025.12.10

Request to update the expiration date of "Virtual disk 1 @ 8/12/2025 10:58:05 AM UTC" immutability data.

ParentObjectId:V.{25C53AAB-7384-11F0-A4E7-00155D020673}-00000001--V.{25C53AAB-7384-11F0-A4E7-00155D020673}-00000006
Hash:305B66A59D15B252092FBDA9D09711230C429F351897CBD430E7B55A35FD3B97
ImmutableObjectTimeStamp:8/12/2025 11:03:25 AM
ExpiryTimestamp:8/13/2025 5:58:05 PM
State:Completed
VerificationTimeStamp :8/12/2025 11:26:13 AM
VerificationState:VerificationInProgress
ExpiryTimeRequested:12/10/2025 5:00:00 AM
DeleteRequested:False
PendingApproval:True
PendingChanges:True
RequestedApprovalUsers: 
AcceptedApprovalUsers:{{49b2c323-1014-4f63-b96d-c0ce2bb3ea62}, {799d6c45-7b4a-45c3-a449-7c92618c4583}}
SequenceNumber:3716673
Id:3bdfbf2227d246b0974789379ce404b1
Caption:Immutable Virtual disk 1 @ 8/12/2025 10:58:05 AM UTC on SSV2
ExtendedCaption:Immutable Virtual disk 1 @ 8/12/2025 10:58:05 AM UTC on SSV2 expires - 8/13/2025 5:58:05 PM
Internal:False