Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1.getMesh
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
getMesh Result
The following output properties are available:
- Create
Time string The timestamp when the resource was created.
- Description string
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 will 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/
.- Self
Link string Server-defined URL of this resource
- Update
Time string The timestamp when the resource was updated.
- Create
Time string The timestamp when the resource was created.
- Description string
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 will 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/
.- Self
Link string Server-defined URL of this resource
- Update
Time string The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was created.
- description String
Optional. A free-text description of the resource. Max length 1024 characters.
- interception
Port 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 will 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/
.- self
Link String Server-defined URL of this resource
- update
Time String The timestamp when the resource was updated.
- create
Time string The timestamp when the resource was created.
- description string
Optional. A free-text description of the resource. Max length 1024 characters.
- interception
Port 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 will 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/
.- self
Link string Server-defined URL of this resource
- update
Time 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 will 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.
- create
Time String The timestamp when the resource was created.
- description String
Optional. A free-text description of the resource. Max length 1024 characters.
- interception
Port 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 will 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/
.- self
Link String Server-defined URL of this resource
- update
Time String The timestamp when the resource was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.