import * as pulumi from "@pulumi/pulumi"; /** * Creates a Peering for Managed AD instance. * Auto-naming is currently not supported for this resource. */ export declare class Peering extends pulumi.CustomResource { /** * Get an existing Peering 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, opts?: pulumi.CustomResourceOptions): Peering; /** * Returns true if the given object is an instance of Peering. 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 Peering; /** * The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. */ readonly authorizedNetwork: pulumi.Output; /** * The time the instance was created. */ readonly createTime: pulumi.Output; /** * Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}` */ readonly domainResource: pulumi.Output; /** * Optional. Resource labels to represent user provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`. */ readonly name: pulumi.Output; /** * Required. Peering Id, unique name to identify peering. */ readonly peeringId: pulumi.Output; readonly project: pulumi.Output; /** * The current state of this Peering. */ readonly state: pulumi.Output; /** * Additional information about the current status of this peering, if available. */ readonly statusMessage: pulumi.Output; /** * Last update time. */ readonly updateTime: pulumi.Output; /** * Create a Peering 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: PeeringArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Peering resource. */ export interface PeeringArgs { /** * The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. */ authorizedNetwork: pulumi.Input; /** * Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}` */ domainResource: pulumi.Input; /** * Optional. Resource labels to represent user provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Required. Peering Id, unique name to identify peering. */ peeringId: pulumi.Input; project?: pulumi.Input; }