UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

61 lines 2.11 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "./types/enums"; /** * Get details about a specific Insights account. */ export declare function getInsightsAccount(args: GetInsightsAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetInsightsAccountResult>; export interface GetInsightsAccountArgs { accountName: string; organizationName: string; } export interface GetInsightsAccountResult { /** * Name of the insights account. */ readonly accountName: 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'). */ readonly environment: string; /** * The insights account identifier. */ readonly insightsAccountId: string; /** * The organization's name. */ readonly organizationName: string; /** * The cloud provider for scanning. */ readonly provider: enums.CloudProvider; /** * Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}. */ readonly providerConfig?: { [key: string]: any; }; /** * Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'. */ readonly scanSchedule: enums.ScanSchedule; /** * Whether scheduled scanning is enabled. */ readonly scheduledScanEnabled: boolean; /** * Key-value tags to associate with the insights account. */ readonly tags?: { [key: string]: string; }; } /** * Get details about a specific Insights account. */ export declare function getInsightsAccountOutput(args: GetInsightsAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInsightsAccountResult>; export interface GetInsightsAccountOutputArgs { accountName: pulumi.Input<string>; organizationName: pulumi.Input<string>; } //# sourceMappingURL=getInsightsAccount.d.ts.map