Insights
InsightsAccounts

ScanAccount

Starts a resource discovery scan for an Insights account. For parent accounts, triggers scans across all child accounts.

post/api/preview/insights/{orgName}/accounts/{accountName}/scan

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/preview/insights/{orgName}/accounts/{accountName}/scan
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

accountNamestring required

The Insights account name

Request body

batchSizeinteger

The batch size for processing resources during the scan.

listConcurrencyinteger

The concurrency level for list operations during the scan.

readConcurrencyinteger

The concurrency level for read operations during the scan.

readTimeoutstring

The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').

agentPoolIDstring

The ID of the agent pool to use for scanning. If not specified, the default agent pool will be used.

Response

OK. Returns the WorkflowRun representing the scan.

finishedAtstring date-time required

The time the workflow run finished, if completed.

idstring required

The unique identifier of the workflow run.

jobTimeoutstring date-time required

The timeout for jobs in the workflow run.

lastUpdatedAtstring date-time required

The time the workflow run was last updated.

orgIdstring required

The organization ID.

startedAtstring date-time required

The time the workflow run started.

status'running' | 'failed' | 'succeeded' required

The current status of the workflow run.

userIdstring required

The user ID who initiated the workflow run.

Changes

No recorded changes to this operation across all 1 revision of this API.