This provider is currently in preview.
Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
This provider is currently in preview.
Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
Get a list of all Insights accounts for an organization.
Using getInsightsAccounts
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 getInsightsAccounts(args: GetInsightsAccountsArgs, opts?: InvokeOptions): Promise<GetInsightsAccountsResult>
function getInsightsAccountsOutput(args: GetInsightsAccountsOutputArgs, opts?: InvokeOptions): Output<GetInsightsAccountsResult>def get_insights_accounts(organization_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInsightsAccountsResult
def get_insights_accounts_output(organization_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInsightsAccountsResult]func GetInsightsAccounts(ctx *Context, args *GetInsightsAccountsArgs, opts ...InvokeOption) (*GetInsightsAccountsResult, error)
func GetInsightsAccountsOutput(ctx *Context, args *GetInsightsAccountsOutputArgs, opts ...InvokeOption) GetInsightsAccountsResultOutput> Note: This function is named GetInsightsAccounts in the Go SDK.
public static class GetInsightsAccounts
{
public static Task<GetInsightsAccountsResult> InvokeAsync(GetInsightsAccountsArgs args, InvokeOptions? opts = null)
public static Output<GetInsightsAccountsResult> Invoke(GetInsightsAccountsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInsightsAccountsResult> getInsightsAccounts(GetInsightsAccountsArgs args, InvokeOptions options)
public static Output<GetInsightsAccountsResult> getInsightsAccounts(GetInsightsAccountsArgs args, InvokeOptions options)
fn::invoke:
function: pulumiservice:getInsightsAccounts
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization
Name string
- Organization
Name string
- organization
Name String
- organization
Name string
- organization
Name String
getInsightsAccounts Result
The following output properties are available:
Supporting Types
CloudProvider
InsightsAccountState
- Account
Name 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').
- Insights
Account stringId - The insights account identifier.
- Organization
Name string - The organization's name.
- Provider
Pulumi.
Pulumi Service. Cloud Provider - The cloud provider for scanning.
- Scan
Schedule Pulumi.Pulumi Service. Scan Schedule - Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
- Scheduled
Scan boolEnabled - Whether scheduled scanning is enabled.
- Provider
Config Dictionary<string, object> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- Dictionary<string, string>
- Key-value tags to associate with the insights account.
- Account
Name 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').
- Insights
Account stringId - The insights account identifier.
- Organization
Name string - The organization's name.
- Provider
Cloud
Provider - 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 boolEnabled - Whether scheduled scanning is enabled.
- Provider
Config map[string]interface{} - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- map[string]string
- Key-value tags to associate with the insights account.
- account
Name 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').
- insights
Account StringId - The insights account identifier.
- organization
Name String - The organization's name.
- provider
Cloud
Provider - 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 BooleanEnabled - Whether scheduled scanning is enabled.
- provider
Config Map<String,Object> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- Map<String,String>
- Key-value tags to associate with the insights account.
- account
Name 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').
- insights
Account stringId - The insights account identifier.
- organization
Name string - The organization's name.
- provider
Cloud
Provider - 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 booleanEnabled - Whether scheduled scanning is enabled.
- provider
Config {[key: string]: any} - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- {[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_ strid - The insights account identifier.
- organization_
name str - The organization's name.
- provider
Cloud
Provider - 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_ boolenabled - 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"]}.
- Mapping[str, str]
- Key-value tags to associate with the insights account.
- account
Name 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').
- insights
Account StringId - The insights account identifier.
- organization
Name String - The organization's name.
- provider "aws" | "azure-native" | "gcp" | "kubernetes" | "oci"
- The cloud provider for scanning.
- scan
Schedule "none" | "daily" - Schedule for automated scanning. Use 'daily' to enable daily scans, or 'none' to disable scheduled scanning. Defaults to 'none'.
- scheduled
Scan BooleanEnabled - Whether scheduled scanning is enabled.
- provider
Config Map<Any> - Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
- Map<String>
- Key-value tags to associate with the insights account.
ScanSchedule
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
Pulumi Cloud v0.34.0 published on Friday, Jan 23, 2026 by Pulumi
