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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getVirtualHubRouteTableV2
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 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>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)
public static Output<GetVirtualHubRouteTableV2Result> getVirtualHubRouteTableV2(GetVirtualHubRouteTableV2Args args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getVirtualHubRouteTableV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The resource group name of the VirtualHubRouteTableV2.
- RouteTable stringName 
- The name of the VirtualHubRouteTableV2.
- VirtualHub stringName 
- The name of the VirtualHub.
- ResourceGroup stringName 
- The resource group name of the VirtualHubRouteTableV2.
- RouteTable stringName 
- The name of the VirtualHubRouteTableV2.
- VirtualHub stringName 
- The name of the VirtualHub.
- resourceGroup StringName 
- The resource group name of the VirtualHubRouteTableV2.
- routeTable StringName 
- The name of the VirtualHubRouteTableV2.
- virtualHub StringName 
- The name of the VirtualHub.
- resourceGroup stringName 
- The resource group name of the VirtualHubRouteTableV2.
- routeTable stringName 
- The name of the VirtualHubRouteTableV2.
- virtualHub stringName 
- The name of the VirtualHub.
- resource_group_ strname 
- The resource group name of the VirtualHubRouteTableV2.
- route_table_ strname 
- The name of the VirtualHubRouteTableV2.
- virtual_hub_ strname 
- The name of the VirtualHub.
- resourceGroup StringName 
- The resource group name of the VirtualHubRouteTableV2.
- routeTable StringName 
- The name of the VirtualHubRouteTableV2.
- virtualHub StringName 
- 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.Azure Native. Network. Outputs. Virtual Hub Route V2Response> 
- 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
[]VirtualHub Route V2Response 
- 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<VirtualHub Route V2Response> 
- 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
VirtualHub Route V2Response[] 
- 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[VirtualHub Route V2Response] 
- 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.
- NextHop stringType 
- The type of next hops.
- NextHops List<string>
- NextHops ip address.
- DestinationType string
- The type of destinations.
- Destinations []string
- List of all destinations.
- NextHop stringType 
- The type of next hops.
- NextHops []string
- NextHops ip address.
- destinationType String
- The type of destinations.
- destinations List<String>
- List of all destinations.
- nextHop StringType 
- The type of next hops.
- nextHops List<String>
- NextHops ip address.
- destinationType string
- The type of destinations.
- destinations string[]
- List of all destinations.
- nextHop stringType 
- 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_ strtype 
- 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.
- nextHop StringType 
- The type of next hops.
- nextHops List<String>
- NextHops ip address.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi