Skip to main content

LifecycleActionRequestDetails

Properties

NameTypeDescriptionNotes
StatusLifecyclestatus[optional]
ActionLifecycleaction[optional]
ApproverLifecycleApproverReference[optional]
ApprovedAtSystem.DateTimeTime when the request was approved (ISO-8601).[optional]
CancellerLifecycleRequesterReference[optional]
CanceledAtSystem.DateTimeTime when the request was canceled (ISO-8601).[optional]
CancelCommentStringComment provided when the request was canceled.[optional]
Comments[]LifecycleCommentAppend-only comment thread for the lifecycle request.[optional]
FailurePhaseStringWorkflow phase where the request failed, when applicable.[optional]
FailureReasonStringFailure reason for the lifecycle request, when applicable.[optional]
ResourceLifecycleResourceSummary[optional]
ResourceOwners[]LifecycleOwnerReferenceCached resource owners for the lifecycle target.[optional]
SourceOwnerLifecycleOwnerReference[optional]
RequesterLifecycleRequesterReference[optional]
ApprovalRequestIdStringApprovals identifier when the request was submitted.[optional]
ApprovalSettingsIdStringApproval settings identifier used for the request.[optional]
ProvisioningLifecycleProvisioning[optional]

Examples

  • Prepare the resource
$LifecycleActionRequestDetails = Initialize-LifecycleActionRequestDetails  -Status null `
-Action null `
-Approver null `
-ApprovedAt 2026-05-26T19:02Z `
-Canceller null `
-CanceledAt 2026-05-26T19:03Z `
-CancelComment Cancelling - will resubmit after maintenance window `
-Comments null `
-FailurePhase WORKFLOW_START `
-FailureReason Operation can't be performed on AgentAlias when Agent is in Not Prepared state. `
-Resource null `
-ResourceOwners null `
-SourceOwner null `
-Requester null `
-ApprovalRequestId a0220198-4b01-444b-8ac3-7a8a147a3791 `
-ApprovalSettingsId approval-settings-001 `
-Provisioning null
  • Convert the resource to JSON
$LifecycleActionRequestDetails | ConvertTo-JSON

[Back to top]