1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getVirtualHubRouteTableV2
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi

azure-native.network.getVirtualHubRouteTableV2

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi

    Retrieves the details of a VirtualHubRouteTableV2. Azure REST API version: 2023-02-01.

    Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01.

    Using getVirtualHubRouteTableV2

    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 getVirtualHubRouteTableV2(args: GetVirtualHubRouteTableV2Args, opts?: InvokeOptions): Promise<GetVirtualHubRouteTableV2Result>
    function getVirtualHubRouteTableV2Output(args: GetVirtualHubRouteTableV2OutputArgs, opts?: InvokeOptions): Output<GetVirtualHubRouteTableV2Result>
    def get_virtual_hub_route_table_v2(resource_group_name: Optional[str] = None,
                                       route_table_name: Optional[str] = None,
                                       virtual_hub_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetVirtualHubRouteTableV2Result
    def get_virtual_hub_route_table_v2_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                       route_table_name: Optional[pulumi.Input[str]] = None,
                                       virtual_hub_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHubRouteTableV2Result]
    func LookupVirtualHubRouteTableV2(ctx *Context, args *LookupVirtualHubRouteTableV2Args, opts ...InvokeOption) (*LookupVirtualHubRouteTableV2Result, error)
    func LookupVirtualHubRouteTableV2Output(ctx *Context, args *LookupVirtualHubRouteTableV2OutputArgs, opts ...InvokeOption) LookupVirtualHubRouteTableV2ResultOutput

    > Note: This function is named LookupVirtualHubRouteTableV2 in the Go SDK.

    public static class GetVirtualHubRouteTableV2 
    {
        public static Task<GetVirtualHubRouteTableV2Result> InvokeAsync(GetVirtualHubRouteTableV2Args args, InvokeOptions? opts = null)
        public static Output<GetVirtualHubRouteTableV2Result> Invoke(GetVirtualHubRouteTableV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualHubRouteTableV2Result> getVirtualHubRouteTableV2(GetVirtualHubRouteTableV2Args args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getVirtualHubRouteTableV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The resource group name of the VirtualHubRouteTableV2.
    RouteTableName string
    The name of the VirtualHubRouteTableV2.
    VirtualHubName string
    The name of the VirtualHub.
    ResourceGroupName string
    The resource group name of the VirtualHubRouteTableV2.
    RouteTableName string
    The name of the VirtualHubRouteTableV2.
    VirtualHubName string
    The name of the VirtualHub.
    resourceGroupName String
    The resource group name of the VirtualHubRouteTableV2.
    routeTableName String
    The name of the VirtualHubRouteTableV2.
    virtualHubName String
    The name of the VirtualHub.
    resourceGroupName string
    The resource group name of the VirtualHubRouteTableV2.
    routeTableName string
    The name of the VirtualHubRouteTableV2.
    virtualHubName string
    The name of the VirtualHub.
    resource_group_name str
    The resource group name of the VirtualHubRouteTableV2.
    route_table_name str
    The name of the VirtualHubRouteTableV2.
    virtual_hub_name str
    The name of the VirtualHub.
    resourceGroupName String
    The resource group name of the VirtualHubRouteTableV2.
    routeTableName String
    The name of the VirtualHubRouteTableV2.
    virtualHubName String
    The name of the VirtualHub.

    getVirtualHubRouteTableV2 Result

    The following output properties are available:

    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    The provisioning state of the virtual hub route table v2 resource.
    AttachedConnections List<string>
    List of all connections attached to this route table v2.
    Id string
    Resource ID.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Routes List<Pulumi.AzureNative.Network.Outputs.VirtualHubRouteV2Response>
    List of all routes.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    The provisioning state of the virtual hub route table v2 resource.
    AttachedConnections []string
    List of all connections attached to this route table v2.
    Id string
    Resource ID.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Routes []VirtualHubRouteV2Response
    List of all routes.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    The provisioning state of the virtual hub route table v2 resource.
    attachedConnections List<String>
    List of all connections attached to this route table v2.
    id String
    Resource ID.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routes List<VirtualHubRouteV2Response>
    List of all routes.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    provisioningState string
    The provisioning state of the virtual hub route table v2 resource.
    attachedConnections string[]
    List of all connections attached to this route table v2.
    id string
    Resource ID.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routes VirtualHubRouteV2Response[]
    List of all routes.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    provisioning_state str
    The provisioning state of the virtual hub route table v2 resource.
    attached_connections Sequence[str]
    List of all connections attached to this route table v2.
    id str
    Resource ID.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routes Sequence[VirtualHubRouteV2Response]
    List of all routes.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    The provisioning state of the virtual hub route table v2 resource.
    attachedConnections List<String>
    List of all connections attached to this route table v2.
    id String
    Resource ID.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routes List<Property Map>
    List of all routes.

    Supporting Types

    VirtualHubRouteV2Response

    DestinationType string
    The type of destinations.
    Destinations List<string>
    List of all destinations.
    NextHopType string
    The type of next hops.
    NextHops List<string>
    NextHops ip address.
    DestinationType string
    The type of destinations.
    Destinations []string
    List of all destinations.
    NextHopType string
    The type of next hops.
    NextHops []string
    NextHops ip address.
    destinationType String
    The type of destinations.
    destinations List<String>
    List of all destinations.
    nextHopType String
    The type of next hops.
    nextHops List<String>
    NextHops ip address.
    destinationType string
    The type of destinations.
    destinations string[]
    List of all destinations.
    nextHopType string
    The type of next hops.
    nextHops string[]
    NextHops ip address.
    destination_type str
    The type of destinations.
    destinations Sequence[str]
    List of all destinations.
    next_hop_type str
    The type of next hops.
    next_hops Sequence[str]
    NextHops ip address.
    destinationType String
    The type of destinations.
    destinations List<String>
    List of all destinations.
    nextHopType String
    The type of next hops.
    nextHops List<String>
    NextHops ip address.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.44.1 published on Thursday, Jun 6, 2024 by Pulumi