Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datastream/v1.Route
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Use this method to create a route for a private connectivity configuration in a project and location. Auto-naming is currently not supported for this resource.
Create Route Resource
new Route(name: string, args: RouteArgs, opts?: CustomResourceOptions);
@overload
def Route(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_address: Optional[str] = None,
destination_port: Optional[int] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
private_connection_id: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
route_id: Optional[str] = None)
@overload
def Route(resource_name: str,
args: RouteArgs,
opts: Optional[ResourceOptions] = None)
func NewRoute(ctx *Context, name string, args RouteArgs, opts ...ResourceOption) (*Route, error)
public Route(string name, RouteArgs args, CustomResourceOptions? opts = null)
type: google-native:datastream/v1:Route
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteArgs
- 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 RouteArgs
- 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 RouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Route 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 Route resource accepts the following input properties:
- Destination
Address string Destination address for connection
- Display
Name string Display name.
- Private
Connection stringId - Route
Id string Required. The Route identifier.
- Destination
Port int Destination port for connection
- Labels Dictionary<string, string>
Labels.
- Location string
- Project string
- Request
Id string Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Destination
Address string Destination address for connection
- Display
Name string Display name.
- Private
Connection stringId - Route
Id string Required. The Route identifier.
- Destination
Port int Destination port for connection
- Labels map[string]string
Labels.
- Location string
- Project string
- Request
Id string Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- destination
Address String Destination address for connection
- display
Name String Display name.
- private
Connection StringId - route
Id String Required. The Route identifier.
- destination
Port Integer Destination port for connection
- labels Map<String,String>
Labels.
- location String
- project String
- request
Id String Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- destination
Address string Destination address for connection
- display
Name string Display name.
- private
Connection stringId - route
Id string Required. The Route identifier.
- destination
Port number Destination port for connection
- labels {[key: string]: string}
Labels.
- location string
- project string
- request
Id string Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- destination_
address str Destination address for connection
- display_
name str Display name.
- private_
connection_ strid - route_
id str Required. The Route identifier.
- destination_
port int Destination port for connection
- labels Mapping[str, str]
Labels.
- location str
- project str
- request_
id str Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- destination
Address String Destination address for connection
- display
Name String Display name.
- private
Connection StringId - route
Id String Required. The Route identifier.
- destination
Port Number Destination port for connection
- labels Map<String>
Labels.
- location String
- project String
- request
Id String Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the Route resource produces the following output properties:
- Create
Time string The create time of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource's name.
- Update
Time string The update time of the resource.
- Create
Time string The create time of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource's name.
- Update
Time string The update time of the resource.
- create
Time String The create time of the resource.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource's name.
- update
Time String The update time of the resource.
- create
Time string The create time of the resource.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The resource's name.
- update
Time string The update time of the resource.
- create_
time str The create time of the resource.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The resource's name.
- update_
time str The update time of the resource.
- create
Time String The create time of the resource.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource's name.
- update
Time String The update time of the resource.
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.