1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. getVirtualHubRouteTableV2
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.network.getVirtualHubRouteTableV2

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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, 2024-01-01, 2024-03-01, 2024-05-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>
Copy
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]
Copy
func LookupVirtualHubRouteTableV2(ctx *Context, args *LookupVirtualHubRouteTableV2Args, opts ...InvokeOption) (*LookupVirtualHubRouteTableV2Result, error)
func LookupVirtualHubRouteTableV2Output(ctx *Context, args *LookupVirtualHubRouteTableV2OutputArgs, opts ...InvokeOption) LookupVirtualHubRouteTableV2ResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVirtualHubRouteTableV2Result> getVirtualHubRouteTableV2(GetVirtualHubRouteTableV2Args args, InvokeOptions options)
public static Output<GetVirtualHubRouteTableV2Result> getVirtualHubRouteTableV2(GetVirtualHubRouteTableV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getVirtualHubRouteTableV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VirtualHubRouteTableV2.
RouteTableName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHubRouteTableV2.
VirtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VirtualHubRouteTableV2.
RouteTableName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHubRouteTableV2.
VirtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the VirtualHubRouteTableV2.
routeTableName
This property is required.
Changes to this property will trigger replacement.
String
The name of the VirtualHubRouteTableV2.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VirtualHubRouteTableV2.
routeTableName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHubRouteTableV2.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the VirtualHub.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name of the VirtualHubRouteTableV2.
route_table_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the VirtualHubRouteTableV2.
virtual_hub_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the VirtualHub.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the VirtualHubRouteTableV2.
routeTableName
This property is required.
Changes to this property will trigger replacement.
String
The name of the VirtualHubRouteTableV2.
virtualHubName
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi