import * as pulumi from "@pulumi/pulumi"; /** * Creates a new Mesh in a given project and location. */ export declare class Mesh extends pulumi.CustomResource { /** * Get an existing Mesh 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): Mesh; /** * Returns true if the given object is an instance of Mesh. 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 Mesh; /** * The timestamp when the resource was created. */ readonly createTime: pulumi.Output; /** * Optional. A free-text description of the resource. Max length 1024 characters. */ readonly description: pulumi.Output; /** * Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments. */ readonly interceptionPort: pulumi.Output; /** * Optional. Set of label tags associated with the Mesh resource. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Required. Short name of the Mesh resource to be created. */ readonly meshId: pulumi.Output; /** * Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Server-defined URL of this resource */ readonly selfLink: pulumi.Output; /** * The timestamp when the resource was updated. */ readonly updateTime: pulumi.Output; /** * Create a Mesh 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: MeshArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Mesh resource. */ export interface MeshArgs { /** * Optional. A free-text description of the resource. Max length 1024 characters. */ description?: pulumi.Input; /** * Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments. */ interceptionPort?: pulumi.Input; /** * Optional. Set of label tags associated with the Mesh resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Required. Short name of the Mesh resource to be created. */ meshId: pulumi.Input; /** * Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`. */ name?: pulumi.Input; project?: pulumi.Input; }