1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. Mesh

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/v1beta1.Mesh

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

    Creates a new Mesh in a given project and location.

    Create Mesh Resource

    new Mesh(name: string, args: MeshArgs, opts?: CustomResourceOptions);
    @overload
    def Mesh(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             interception_port: Optional[int] = None,
             labels: Optional[Mapping[str, str]] = None,
             location: Optional[str] = None,
             mesh_id: Optional[str] = None,
             name: Optional[str] = None,
             project: Optional[str] = None)
    @overload
    def Mesh(resource_name: str,
             args: MeshArgs,
             opts: Optional[ResourceOptions] = None)
    func NewMesh(ctx *Context, name string, args MeshArgs, opts ...ResourceOption) (*Mesh, error)
    public Mesh(string name, MeshArgs args, CustomResourceOptions? opts = null)
    public Mesh(String name, MeshArgs args)
    public Mesh(String name, MeshArgs args, CustomResourceOptions options)
    
    type: google-native:networkservices/v1beta1:Mesh
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Mesh Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Mesh resource accepts the following input properties:

    MeshId string
    Required. Short name of the Mesh resource to be 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.
    Location string
    Name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    Project string
    MeshId string
    Required. Short name of the Mesh resource to be 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.
    Location string
    Name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    Project string
    meshId String
    Required. Short name of the Mesh resource to be 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.
    location String
    name String
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    project String
    meshId string
    Required. Short name of the Mesh resource to be 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.
    location string
    name string
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    project string
    mesh_id str
    Required. Short name of the Mesh resource to be 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.
    location str
    name str
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    project str
    meshId String
    Required. Short name of the Mesh resource to be 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.
    location String
    name String
    Name of the Mesh resource. It matches pattern projects/*/locations/global/meshes/.
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Mesh resource produces the following output properties:

    CreateTime string
    The timestamp when the resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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