Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1.Mesh
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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)
type: google-native:networkservices/v1: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:
- Mesh
Id 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.
- 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.
- Location string
- Name string
Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/
.- Project string
- Mesh
Id 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.
- 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.
- Location string
- Name string
Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/
.- Project string
- mesh
Id 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.
- 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.
- location String
- name String
Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/
.- project String
- mesh
Id 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.
- 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.
- 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 will 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
- mesh
Id 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.
- 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.
- 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:
- Create
Time string The timestamp when the resource was created.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
- id string
The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- create
Time String The timestamp when the resource was created.
- id String
The provider-assigned unique ID for this managed resource.
- 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.