1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. getInsightsAccount

This provider is currently in preview.

Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi

    Get details about a specific Insights account.

    Using getInsightsAccount

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInsightsAccount(args: GetInsightsAccountArgs, opts?: InvokeOptions): Promise<GetInsightsAccountResult>
    function getInsightsAccountOutput(args: GetInsightsAccountOutputArgs, opts?: InvokeOptions): Output<GetInsightsAccountResult>
    def get_insights_account(account_name: Optional[str] = None,
                             organization_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetInsightsAccountResult
    def get_insights_account_output(account_name: Optional[pulumi.Input[str]] = None,
                             organization_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetInsightsAccountResult]
    func LookupInsightsAccount(ctx *Context, args *LookupInsightsAccountArgs, opts ...InvokeOption) (*LookupInsightsAccountResult, error)
    func LookupInsightsAccountOutput(ctx *Context, args *LookupInsightsAccountOutputArgs, opts ...InvokeOption) LookupInsightsAccountResultOutput

    > Note: This function is named LookupInsightsAccount in the Go SDK.

    public static class GetInsightsAccount 
    {
        public static Task<GetInsightsAccountResult> InvokeAsync(GetInsightsAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetInsightsAccountResult> Invoke(GetInsightsAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInsightsAccountResult> getInsightsAccount(GetInsightsAccountArgs args, InvokeOptions options)
    public static Output<GetInsightsAccountResult> getInsightsAccount(GetInsightsAccountArgs args, InvokeOptions options)
    
    fn::invoke:
      function: pulumiservice:getInsightsAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getInsightsAccount Result

    The following output properties are available:

    AccountName string
    Name of the insights account.
    Environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    InsightsAccountId string
    The insights account identifier.
    OrganizationName string
    The organization's name.
    Provider Pulumi.PulumiService.CloudProvider
    The cloud provider for scanning.
    ScanSchedule Pulumi.PulumiService.ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    ScheduledScanEnabled bool
    Whether scheduled scanning is enabled.
    ProviderConfig Dictionary<string, object>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    Tags Dictionary<string, string>
    Key-value tags to associate with the insights account.
    AccountName string
    Name of the insights account.
    Environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    InsightsAccountId string
    The insights account identifier.
    OrganizationName string
    The organization's name.
    Provider CloudProvider
    The cloud provider for scanning.
    ScanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    ScheduledScanEnabled bool
    Whether scheduled scanning is enabled.
    ProviderConfig map[string]interface{}
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    Tags map[string]string
    Key-value tags to associate with the insights account.
    accountName String
    Name of the insights account.
    environment String
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    insightsAccountId String
    The insights account identifier.
    organizationName String
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    scheduledScanEnabled Boolean
    Whether scheduled scanning is enabled.
    providerConfig Map<String,Object>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Map<String,String>
    Key-value tags to associate with the insights account.
    accountName string
    Name of the insights account.
    environment string
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    insightsAccountId string
    The insights account identifier.
    organizationName string
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scanSchedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    scheduledScanEnabled boolean
    Whether scheduled scanning is enabled.
    providerConfig {[key: string]: any}
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags {[key: string]: string}
    Key-value tags to associate with the insights account.
    account_name str
    Name of the insights account.
    environment str
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    insights_account_id str
    The insights account identifier.
    organization_name str
    The organization's name.
    provider CloudProvider
    The cloud provider for scanning.
    scan_schedule ScanSchedule
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    scheduled_scan_enabled bool
    Whether scheduled scanning is enabled.
    provider_config Mapping[str, Any]
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Mapping[str, str]
    Key-value tags to associate with the insights account.
    accountName String
    Name of the insights account.
    environment String
    The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
    insightsAccountId String
    The insights account identifier.
    organizationName String
    The organization's name.
    provider "aws" | "azure-native" | "gcp" | "kubernetes" | "oci"
    The cloud provider for scanning.
    scanSchedule "none" | "daily"
    Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
    scheduledScanEnabled Boolean
    Whether scheduled scanning is enabled.
    providerConfig Map<Any>
    Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
    tags Map<String>
    Key-value tags to associate with the insights account.

    Supporting Types

    CloudProvider

    ScanSchedule

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate