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

110 lines 4.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Insights account. An Insights account represents a cloud provider account (e.g., AWS, Azure, OCI) configured for resource discovery. */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Account; /** * The ID of the agent pool to run account discovery workflows. * If not specified, discovery will use the default agent pool. */ readonly agentPoolID: pulumi.Output<string | undefined>; /** * The name of the account. */ readonly name: pulumi.Output<string>; /** * The user with ownership of this Insights account */ readonly ownedBy: pulumi.Output<any>; /** * The cloud provider for the account (e.g., aws, gcp, azure-native). */ readonly provider: pulumi.Output<string>; /** * Provider-specific configuration for the account. */ readonly providerConfig: pulumi.Output<{ [key: string]: any; } | undefined>; /** * Reference to an ESC environment containing provider credentials, * in the format 'project/environment' with an optional @version suffix. */ readonly providerEnvRef: pulumi.Output<string | undefined>; /** * The version of the Pulumi provider package used for discovery. */ readonly providerVersion: pulumi.Output<string | undefined>; /** * Status of the last discovery scan for this account. */ readonly scanStatus: pulumi.Output<any | undefined>; /** * If true, the account is scheduled for recurring discovery. */ readonly scheduledScanEnabled: pulumi.Output<boolean>; /** * Create a Account resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * The Insights account name */ accountName: pulumi.Input<string>; /** * The ID of the agent pool to run account discovery workflows. * If not specified, discovery will use the default agent pool. */ agentPoolID?: pulumi.Input<string | undefined>; /** * Deprecated: Use scanSchedule instead. Cron expression for scheduling scans. */ cron?: pulumi.Input<string | undefined>; /** * Reference to an ESC environment containing provider credentials, * in the format 'project/environment' with an optional @version suffix. */ environment: pulumi.Input<string>; /** * The organization name */ orgName: pulumi.Input<string>; /** * The cloud provider for the account (e.g., aws, gcp, azure-native). */ provider: pulumi.Input<string>; /** * Provider-specific configuration for the account. */ providerConfig?: pulumi.Input<{ [key: string]: any; } | undefined>; /** * Schedule for automated discovery scans (e.g., 'none', 'daily'). */ scanSchedule?: pulumi.Input<string | undefined>; } //# sourceMappingURL=account.d.ts.map