1. Packages
  2. Google Cloud Native
  3. API Docs
  4. datastream
  5. datastream/v1
  6. getRoute

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.30.0 published on Friday, Apr 14, 2023 by Pulumi

google-native.datastream/v1.getRoute

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.30.0 published on Friday, Apr 14, 2023 by Pulumi

    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
    PrivateConnectionId string
    RouteId string
    Project string
    Location string
    PrivateConnectionId string
    RouteId string
    Project string
    location String
    privateConnectionId String
    routeId String
    project String
    location string
    privateConnectionId string
    routeId string
    project string
    location String
    privateConnectionId String
    routeId String
    project String

    getRoute Result

    The following output properties are available:

    CreateTime string

    The create time of the resource.

    DestinationAddress string

    Destination address for connection

    DestinationPort int

    Destination port for connection

    DisplayName string

    Display name.

    Labels Dictionary<string, string>

    Labels.

    Name string

    The resource's name.

    UpdateTime string

    The update time of the resource.

    CreateTime string

    The create time of the resource.

    DestinationAddress string

    Destination address for connection

    DestinationPort int

    Destination port for connection

    DisplayName string

    Display name.

    Labels map[string]string

    Labels.

    Name string

    The resource's name.

    UpdateTime string

    The update time of the resource.

    createTime String

    The create time of the resource.

    destinationAddress String

    Destination address for connection

    destinationPort Integer

    Destination port for connection

    displayName String

    Display name.

    labels Map<String,String>

    Labels.

    name String

    The resource's name.

    updateTime String

    The update time of the resource.

    createTime string

    The create time of the resource.

    destinationAddress string

    Destination address for connection

    destinationPort number

    Destination port for connection

    displayName string

    Display name.

    labels {[key: string]: string}

    Labels.

    name string

    The resource's name.

    updateTime 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.

    createTime String

    The create time of the resource.

    destinationAddress String

    Destination address for connection

    destinationPort Number

    Destination port for connection

    displayName String

    Display name.

    labels Map<String>

    Labels.

    name String

    The resource's name.

    updateTime String

    The update time of the resource.

    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.30.0 published on Friday, Apr 14, 2023 by Pulumi