Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datastream/v1.getRoute
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Use this method to get details about a route.
Using getRoute
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 getRoute(args: GetRouteArgs, opts?: InvokeOptions): Promise<GetRouteResult>
function getRouteOutput(args: GetRouteOutputArgs, opts?: InvokeOptions): Output<GetRouteResult>
def get_route(location: Optional[str] = None,
private_connection_id: Optional[str] = None,
project: Optional[str] = None,
route_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteResult
def get_route_output(location: Optional[pulumi.Input[str]] = None,
private_connection_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
route_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteResult]
func LookupRoute(ctx *Context, args *LookupRouteArgs, opts ...InvokeOption) (*LookupRouteResult, error)
func LookupRouteOutput(ctx *Context, args *LookupRouteOutputArgs, opts ...InvokeOption) LookupRouteResultOutput
> Note: This function is named LookupRoute
in the Go SDK.
public static class GetRoute
{
public static Task<GetRouteResult> InvokeAsync(GetRouteArgs args, InvokeOptions? opts = null)
public static Output<GetRouteResult> Invoke(GetRouteInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRouteResult> getRoute(GetRouteArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datastream/v1:getRoute
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Private
Connection stringId - Route
Id string - Project string
- Location string
- Private
Connection stringId - Route
Id string - Project string
- location String
- private
Connection StringId - route
Id String - project String
- location string
- private
Connection stringId - route
Id string - project string
- location str
- private_
connection_ strid - route_
id str - project str
- location String
- private
Connection StringId - route
Id String - project String
getRoute Result
The following output properties are available:
- Create
Time string The create time of the resource.
- Destination
Address string Destination address for connection
- Destination
Port int Destination port for connection
- Display
Name string Display name.
- Labels Dictionary<string, string>
Labels.
- Name string
The resource's name.
- Update
Time string The update time of the resource.
- Create
Time string The create time of the resource.
- Destination
Address string Destination address for connection
- Destination
Port int Destination port for connection
- Display
Name string Display name.
- Labels map[string]string
Labels.
- Name string
The resource's name.
- Update
Time string The update time of the resource.
- create
Time String The create time of the resource.
- destination
Address String Destination address for connection
- destination
Port Integer Destination port for connection
- display
Name String Display name.
- labels Map<String,String>
Labels.
- name String
The resource's name.
- update
Time String The update time of the resource.
- create
Time string The create time of the resource.
- destination
Address string Destination address for connection
- destination
Port number Destination port for connection
- display
Name string Display name.
- labels {[key: string]: string}
Labels.
- name string
The resource's name.
- update
Time string The update time of the resource.
- create_
time str The create time of the resource.
- destination_
address str Destination address for connection
- destination_
port int Destination port for connection
- display_
name str Display name.
- labels Mapping[str, str]
Labels.
- name str
The resource's name.
- update_
time str The update time of the resource.
- create
Time String The create time of the resource.
- destination
Address String Destination address for connection
- destination
Port Number Destination port for connection
- display
Name String Display name.
- labels Map<String>
Labels.
- 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.