Insights
InsightsAccounts

CreateAccount

Creates a new Insights account. An Insights account represents a cloud provider account (e.g., AWS, Azure, OCI) configured for resource discovery.

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

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}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

accountNamestring required

The Insights account name

Request body

agentPoolIDstring

The ID of the agent pool to run account discovery workflows. If not specified, discovery will use the default agent pool.

cronstring

Deprecated: Use scanSchedule instead. Cron expression for scheduling scans.

environmentstring required

Reference to an ESC environment containing provider credentials, in the format 'project/environment' with an optional @version suffix.

provider'aws' | 'gcp' | 'azure-native' | 'oci' | 'kubernetes' required

The cloud provider for the account (e.g., aws, gcp, azure-native).

providerConfigobject

Provider-specific configuration for the account.

scanSchedule'none' | '12h' | 'daily'

Schedule for automated discovery scans (e.g., 'none', 'daily').

Response

No Content

Changes

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