1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. ReadInsightsAccountResponse

ReadInsightsAccountResponse

    A cloud account configured for Pulumi Insights resource discovery.

    Properties

    • id string required
      ID of the account.
    • name string required
      The name of the account.
    • ownedBy UserInfo required
      The user with ownership of this Insights account
    • name string required
      The user’s display name.
    • githubLogin string required
      The user’s login name.
    • avatarUrl string required
      The URL of the user’s avatar image.
    • email string optional
      IMPORTANT: The email address of the user is only included on a few admin-only APIs. For nearly all APIs that return a UserInfo object, this will not be provided. considered sensitive information.
    • provider string required
      The cloud provider for the account (e.g., aws, gcp, azure-native).
    • providerVersion string optional
      The version of the Pulumi provider package used for discovery.
    • providerEnvRef string optional
      Reference to an ESC environment containing provider credentials, in the format ‘project/environment’ with an optional @version suffix.
    • scheduledScanEnabled boolean required
      If true, the account is scheduled for recurring discovery.
    • agentPoolID string optional
      The ID of the agent pool to run account discovery workflows. If not specified, discovery will use the default agent pool.
    • providerConfig object optional
      Provider-specific configuration for the account.
    • scanStatus ScanStatus optional
      Status of the last discovery scan for this account.
    • accountName string optional
      The name of the insights account associated with this scan.
    • id string required
      The unique identifier of the workflow run.
    • orgId string required
      The organization ID.
    • resourceCount integer optional
      The number of resources discovered by this scan.
    • userId string required
      The user ID who initiated the workflow run.
    • status enum required
      The current status of the workflow run.
      Values: running, failed, succeeded
    • startedAt string required
      The time the workflow run started.
    • finishedAt string required
      The time the workflow run finished, if completed.
    • lastUpdatedAt string required
      The time the workflow run was last updated.
    • jobTimeout string required
      The timeout for jobs in the workflow run.
    • jobs array[JobRun] optional
      The list of job runs within the workflow.