Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/V2024/Models/DraftResponse.md
2025-05-07 14:37:48 +00:00

3.0 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-draft-response DraftResponse DraftResponse DraftResponse powershellsdk
powershell
PowerShell
sdk
DraftResponse
V2024DraftResponse
/tools/sdk/powershell/v2024/models/draft-response
SDK
Software Development Kit
DraftResponse
V2024DraftResponse

DraftResponse

Properties

Name Type Description Notes
JobId String Unique id assigned to this job. [optional]
Status Enum [ "NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED" ] Status of the job. [optional]
Type Enum [ "CREATE_DRAFT" ] Type of the job, will always be CREATE_DRAFT for this type of job. [optional]
Message String Message providing information about the outcome of the draft process. [optional]
RequesterName String The name of user that that initiated the draft process. [optional]
FileExists Boolean Whether or not a file was generated for this draft. [optional] [default to $true]
Created System.DateTime The time the job was started. [optional]
Modified System.DateTime The time of the last update to the job. [optional]
Completed System.DateTime The time the job was completed. [optional]
Name String Name of the draft. [optional]
SourceTenant String Tenant owner of the backup from which the draft was generated. [optional]
SourceBackupId String Id of the backup from which the draft was generated. [optional]
SourceBackupName String Name of the backup from which the draft was generated. [optional]
Mode Enum [ "RESTORE", "PROMOTE", "UPLOAD" ] Denotes the origin of the source backup from which the draft was generated. - RESTORE - Same tenant. - PROMOTE - Different tenant. - UPLOAD - Uploaded configuration. [optional]
ApprovalStatus Enum [ "DEFAULT", "PENDING_APPROVAL", "APPROVED", "DENIED" ] Approval status of the draft used to determine whether or not the draft can be deployed. [optional]
ApprovalComment []ApprovalComment List of comments that have been exchanged between an approval requester and an approver. [optional]

Examples

  • Prepare the resource
$DraftResponse = Initialize-V2024DraftResponse  -JobId 07659d7d-2cce-47c0-9e49-185787ee565a `
 -Status COMPLETE `
 -Type CREATE_DRAFT `
 -Message Draft creation message `
 -RequesterName requester.name `
 -FileExists true `
 -Created 2021-05-11T22:23:16Z `
 -Modified 2021-05-11T22:23:16Z `
 -Completed 2021-05-11T22:23:16Z `
 -Name Draft name `
 -SourceTenant source-tenant `
 -SourceBackupId 549bf881-1ac4-4a64-9acf-6014e8a3a887 `
 -SourceBackupName Source backup name `
 -Mode RESTORE `
 -ApprovalStatus APPROVED `
 -ApprovalComment null
  • Convert the resource to JSON
$DraftResponse | ConvertTo-JSON

[Back to top]