Skip to main content

LifecycleActionRequest

Properties​

NameTypeDescriptionNotes
IdStringLifecycle request identifier.[optional]
TenantIdStringTenant identifier for the lifecycle request.[optional]
StatusTypeStringType of request. Always LIFECYCLE_ACTIONS_REQUEST for lifecycle action requests.[optional]
RequestedByStringID of the identity that submitted the request.[optional]
TargetTypeEnum [ "AI_AGENT" ]Type of machine identity the request applies to.[optional]
TargetIdStringID of the machine identity the request applies to.[optional]
OperationTypeLifecycleaction[optional]
WorkflowIdStringIdentifier of the workflow that processes the request.[optional]
CompletedBooleanIndicates whether the request has finished. A request is finished when its status is COMPLETED, REJECTED, FAILED, or CANCELED.[optional] [default to $false]
DetailsLifecycleActionRequestDetails[optional]
CreatedSystem.DateTimeTime when the lifecycle request was created (ISO-8601).[optional]
ModifiedSystem.DateTimeTime when the lifecycle request was last modified (ISO-8601).[optional]

Examples​

  • Prepare the resource
$LifecycleActionRequest = Initialize-LifecycleActionRequest -Id a1b2c3d4-e5f6-7890-abcd-ef1234567890 `
-TenantId 3b6f2a1e-8c4d-4e9a-9f2b-7d5c1e0a6b38 `
-StatusType LIFECYCLE_ACTIONS_REQUEST `
-RequestedBy 2c9180858082150f0180893dbaf44201 `
-TargetType AI_AGENT `
-TargetId 1c9c8e1f-2f5f-4f77-9f7e-5d37e4fb3ef0 `
-OperationType null `
-WorkflowId sp:resource-lifecycle:AI_AGENT:a1b2c3d4-e5f6-7890-abcd-ef1234567890 `
-Completed false `
-Details null `
-Created 2026-05-26T19:00Z `
-Modified 2026-05-26T19:05Z
  • Convert the resource to JSON
$LifecycleActionRequest | ConvertTo-JSON

[Back to top]