import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog Org Connection resource. Org Connections make data from a source org available in the destination org for selected connection data types (for example, logs or metrics). Org Connections can only be created from a source org to a specified destination org * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new org connection resource * const foo = new datadog.OrgConnection("foo", { * connectionTypes: [ * "metrics", * "logs", * ], * sinkOrgId: "00000000-0000-0000-0000-000000000000", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/orgConnection:OrgConnection foo "" * ``` */ export declare class OrgConnection extends pulumi.CustomResource { /** * Get an existing OrgConnection 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, state?: OrgConnectionState, opts?: pulumi.CustomResourceOptions): OrgConnection; /** * Returns true if the given object is an instance of OrgConnection. 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 OrgConnection; /** * Set of connection types to enable for this connection (., metrics, logs). */ readonly connectionTypes: pulumi.Output; /** * Timestamp when the connection was created (RFC 3339). */ readonly createdAt: pulumi.Output; /** * Creator user ID (UUID). */ readonly createdBy: pulumi.Output; /** * UUID of the sink (destination) organization. Must be a valid UUID. */ readonly sinkOrgId: pulumi.Output; /** * Name of the sink (destination) organization. */ readonly sinkOrgName: pulumi.Output; /** * UUID of the source (current) organization. */ readonly sourceOrgId: pulumi.Output; /** * Name of the source organization. */ readonly sourceOrgName: pulumi.Output; /** * Create a OrgConnection 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: OrgConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrgConnection resources. */ export interface OrgConnectionState { /** * Set of connection types to enable for this connection (., metrics, logs). */ connectionTypes?: pulumi.Input[]>; /** * Timestamp when the connection was created (RFC 3339). */ createdAt?: pulumi.Input; /** * Creator user ID (UUID). */ createdBy?: pulumi.Input; /** * UUID of the sink (destination) organization. Must be a valid UUID. */ sinkOrgId?: pulumi.Input; /** * Name of the sink (destination) organization. */ sinkOrgName?: pulumi.Input; /** * UUID of the source (current) organization. */ sourceOrgId?: pulumi.Input; /** * Name of the source organization. */ sourceOrgName?: pulumi.Input; } /** * The set of arguments for constructing a OrgConnection resource. */ export interface OrgConnectionArgs { /** * Set of connection types to enable for this connection (., metrics, logs). */ connectionTypes: pulumi.Input[]>; /** * UUID of the sink (destination) organization. Must be a valid UUID. */ sinkOrgId: pulumi.Input; }