UNPKG

@pulumiverse/cpln

Version:

A Pulumi package for creating and managing Control Plane (cpln) resources.

169 lines (168 loc) 5.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class CloudAccount extends pulumi.CustomResource { /** * Get an existing CloudAccount 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudAccountState, opts?: pulumi.CustomResourceOptions): CloudAccount; /** * Returns true if the given object is an instance of CloudAccount. 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 CloudAccount; /** * Contains AWS cloud account configuration. */ readonly aws: pulumi.Output<outputs.CloudAccountAws | undefined>; /** * Contains Azure cloud account configuration. */ readonly azures: pulumi.Output<outputs.CloudAccountAzure[] | undefined>; /** * The ID, in GUID format, of the Cloud Account. */ readonly cplnId: pulumi.Output<string>; /** * Description of the Cloud Account. */ readonly description: pulumi.Output<string>; /** * Contains GCP cloud account configuration. */ readonly gcp: pulumi.Output<outputs.CloudAccountGcp | undefined>; /** * GCP roles used during the configuration of the cloud account at GCP. */ readonly gcpRoles: pulumi.Output<string[]>; /** * GCP service account name used during the configuration of the cloud account at GCP. */ readonly gcpServiceAccountName: pulumi.Output<string>; /** * Name of the Cloud Account. */ readonly name: pulumi.Output<string>; /** * Contains NGS cloud account configuration. */ readonly ngs: pulumi.Output<outputs.CloudAccountNgs | undefined>; /** * Full link to this resource. Can be referenced by other resources. */ readonly selfLink: pulumi.Output<string>; /** * Status of the Cloud Account. */ readonly statuses: pulumi.Output<outputs.CloudAccountStatus[]>; /** * Key-value map of resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; }>; /** * Create a CloudAccount 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?: CloudAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudAccount resources. */ export interface CloudAccountState { /** * Contains AWS cloud account configuration. */ aws?: pulumi.Input<inputs.CloudAccountAws>; /** * Contains Azure cloud account configuration. */ azures?: pulumi.Input<pulumi.Input<inputs.CloudAccountAzure>[]>; /** * The ID, in GUID format, of the Cloud Account. */ cplnId?: pulumi.Input<string>; /** * Description of the Cloud Account. */ description?: pulumi.Input<string>; /** * Contains GCP cloud account configuration. */ gcp?: pulumi.Input<inputs.CloudAccountGcp>; /** * GCP roles used during the configuration of the cloud account at GCP. */ gcpRoles?: pulumi.Input<pulumi.Input<string>[]>; /** * GCP service account name used during the configuration of the cloud account at GCP. */ gcpServiceAccountName?: pulumi.Input<string>; /** * Name of the Cloud Account. */ name?: pulumi.Input<string>; /** * Contains NGS cloud account configuration. */ ngs?: pulumi.Input<inputs.CloudAccountNgs>; /** * Full link to this resource. Can be referenced by other resources. */ selfLink?: pulumi.Input<string>; /** * Status of the Cloud Account. */ statuses?: pulumi.Input<pulumi.Input<inputs.CloudAccountStatus>[]>; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; } /** * The set of arguments for constructing a CloudAccount resource. */ export interface CloudAccountArgs { /** * Contains AWS cloud account configuration. */ aws?: pulumi.Input<inputs.CloudAccountAws>; /** * Contains Azure cloud account configuration. */ azures?: pulumi.Input<pulumi.Input<inputs.CloudAccountAzure>[]>; /** * Description of the Cloud Account. */ description?: pulumi.Input<string>; /** * Contains GCP cloud account configuration. */ gcp?: pulumi.Input<inputs.CloudAccountGcp>; /** * Name of the Cloud Account. */ name?: pulumi.Input<string>; /** * Contains NGS cloud account configuration. */ ngs?: pulumi.Input<inputs.CloudAccountNgs>; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }