Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. InsightsAccount

InsightsAccount

    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
      The user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information.
    • ↳ servicePrincipalKind enum optional
      The type of service principal the user is. Set only where service principals are listed next to people, such as an organization’s members and the access granted on an entity.
      Values:
      team — Team
      The service principal of a team, which the team’s access tokens authenticate as.
      user-defined — UserDefined
      A service principal created by a member of the organization, with its own roles, entity access and access tokens.
      custom-agent-definition — CustomAgentDefinition
      The service principal of a custom Neo agent, which gets its access from the agent’s settings.
      delivery — Delivery
      The service principal Pulumi Delivery creates for a pipeline that names no identity of its own.
    • provider string required
      The cloud provider for the account (e.g., aws, gcp, azure-native).
    • 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.

      The infrastructure platform for humans and agents.