1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1
  6. getMesh

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkservices/v1.getMesh

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single Mesh.

    Using getMesh

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMesh(args: GetMeshArgs, opts?: InvokeOptions): Promise<GetMeshResult>
    function getMeshOutput(args: GetMeshOutputArgs, opts?: InvokeOptions): Output<GetMeshResult>
    def get_mesh(location: Optional[str] = None,
                 mesh_id: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetMeshResult
    def get_mesh_output(location: Optional[pulumi.Input[str]] = None,
                 mesh_id: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetMeshResult]
    func LookupMesh(ctx *Context, args *LookupMeshArgs, opts ...InvokeOption) (*LookupMeshResult, error)
    func LookupMeshOutput(ctx *Context, args *LookupMeshOutputArgs, opts ...InvokeOption) LookupMeshResultOutput

    > Note: This function is named LookupMesh in the Go SDK.

    public static class GetMesh 
    {
        public static Task<GetMeshResult> InvokeAsync(GetMeshArgs args, InvokeOptions? opts = null)
        public static Output<GetMeshResult> Invoke(GetMeshInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMeshResult> getMesh(GetMeshArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:networkservices/v1:getMesh
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    MeshId string
    Project string
    Location string
    MeshId string
    Project string
    location String
    meshId String
    project String
    location string
    meshId string
    project string
    location String
    meshId String
    project String

    getMesh Result

    The following output properties are available:

    CreateTime string
    The timestamp when the resource was created.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    InterceptionPort int
    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.
    Labels Dictionary<string, string>
    Optional. Set of label tags associated with the Mesh resource.
    Name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    SelfLink string
    Server-defined URL of this resource
    UpdateTime string
    The timestamp when the resource was updated.
    CreateTime string
    The timestamp when the resource was created.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    InterceptionPort int
    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.
    Labels map[string]string
    Optional. Set of label tags associated with the Mesh resource.
    Name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    SelfLink string
    Server-defined URL of this resource
    UpdateTime string
    The timestamp when the resource was updated.
    createTime String
    The timestamp when the resource was created.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    interceptionPort Integer
    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.
    labels Map<String,String>
    Optional. Set of label tags associated with the Mesh resource.
    name String
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    selfLink String
    Server-defined URL of this resource
    updateTime String
    The timestamp when the resource was updated.
    createTime string
    The timestamp when the resource was created.
    description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    interceptionPort number
    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.
    labels {[key: string]: string}
    Optional. Set of label tags associated with the Mesh resource.
    name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    selfLink string
    Server-defined URL of this resource
    updateTime string
    The timestamp when the resource was updated.
    create_time str
    The timestamp when the resource was created.
    description str
    Optional. A free-text description of the resource. Max length 1024 characters.
    interception_port int
    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.
    labels Mapping[str, str]
    Optional. Set of label tags associated with the Mesh resource.
    name str
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    self_link str
    Server-defined URL of this resource
    update_time str
    The timestamp when the resource was updated.
    createTime String
    The timestamp when the resource was created.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    interceptionPort Number
    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.
    labels Map<String>
    Optional. Set of label tags associated with the Mesh resource.
    name String
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    selfLink String
    Server-defined URL of this resource
    updateTime String
    The timestamp when the resource was updated.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi