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.getHubRouteTable
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 RouteTable. 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 getHubRouteTable
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 getHubRouteTable(args: GetHubRouteTableArgs, opts?: InvokeOptions): Promise<GetHubRouteTableResult>
function getHubRouteTableOutput(args: GetHubRouteTableOutputArgs, opts?: InvokeOptions): Output<GetHubRouteTableResult>def get_hub_route_table(resource_group_name: Optional[str] = None,
                        route_table_name: Optional[str] = None,
                        virtual_hub_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetHubRouteTableResult
def get_hub_route_table_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[GetHubRouteTableResult]func LookupHubRouteTable(ctx *Context, args *LookupHubRouteTableArgs, opts ...InvokeOption) (*LookupHubRouteTableResult, error)
func LookupHubRouteTableOutput(ctx *Context, args *LookupHubRouteTableOutputArgs, opts ...InvokeOption) LookupHubRouteTableResultOutput> Note: This function is named LookupHubRouteTable in the Go SDK.
public static class GetHubRouteTable 
{
    public static Task<GetHubRouteTableResult> InvokeAsync(GetHubRouteTableArgs args, InvokeOptions? opts = null)
    public static Output<GetHubRouteTableResult> Invoke(GetHubRouteTableInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHubRouteTableResult> getHubRouteTable(GetHubRouteTableArgs args, InvokeOptions options)
public static Output<GetHubRouteTableResult> getHubRouteTable(GetHubRouteTableArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getHubRouteTable
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The resource group name of the VirtualHub.
- RouteTable stringName 
- The name of the RouteTable.
- VirtualHub stringName 
- The name of the VirtualHub.
- ResourceGroup stringName 
- The resource group name of the VirtualHub.
- RouteTable stringName 
- The name of the RouteTable.
- VirtualHub stringName 
- The name of the VirtualHub.
- resourceGroup StringName 
- The resource group name of the VirtualHub.
- routeTable StringName 
- The name of the RouteTable.
- virtualHub StringName 
- The name of the VirtualHub.
- resourceGroup stringName 
- The resource group name of the VirtualHub.
- routeTable stringName 
- The name of the RouteTable.
- virtualHub stringName 
- The name of the VirtualHub.
- resource_group_ strname 
- The resource group name of the VirtualHub.
- route_table_ strname 
- The name of the RouteTable.
- virtual_hub_ strname 
- The name of the VirtualHub.
- resourceGroup StringName 
- The resource group name of the VirtualHub.
- routeTable StringName 
- The name of the RouteTable.
- virtualHub StringName 
- The name of the VirtualHub.
getHubRouteTable Result
The following output properties are available:
- AssociatedConnections List<string>
- List of all connections associated with this route table.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- PropagatingConnections List<string>
- List of all connections that advertise to this route table.
- ProvisioningState string
- The provisioning state of the RouteTable resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Labels List<string>
- List of labels associated with this route table.
- 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. Hub Route Response> 
- List of all routes.
- AssociatedConnections []string
- List of all connections associated with this route table.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- PropagatingConnections []string
- List of all connections that advertise to this route table.
- ProvisioningState string
- The provisioning state of the RouteTable resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Labels []string
- List of labels associated with this route table.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Routes
[]HubRoute Response 
- List of all routes.
- associatedConnections List<String>
- List of all connections associated with this route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- propagatingConnections List<String>
- List of all connections that advertise to this route table.
- provisioningState String
- The provisioning state of the RouteTable resource.
- type String
- Resource type.
- id String
- Resource ID.
- labels List<String>
- List of labels associated with this route table.
- 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<HubRoute Response> 
- List of all routes.
- associatedConnections string[]
- List of all connections associated with this route table.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- propagatingConnections string[]
- List of all connections that advertise to this route table.
- provisioningState string
- The provisioning state of the RouteTable resource.
- type string
- Resource type.
- id string
- Resource ID.
- labels string[]
- List of labels associated with this route table.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routes
HubRoute Response[] 
- List of all routes.
- associated_connections Sequence[str]
- List of all connections associated with this route table.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- propagating_connections Sequence[str]
- List of all connections that advertise to this route table.
- provisioning_state str
- The provisioning state of the RouteTable resource.
- type str
- Resource type.
- id str
- Resource ID.
- labels Sequence[str]
- List of labels associated with this route table.
- 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[HubRoute Response] 
- List of all routes.
- associatedConnections List<String>
- List of all connections associated with this route table.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- propagatingConnections List<String>
- List of all connections that advertise to this route table.
- provisioningState String
- The provisioning state of the RouteTable resource.
- type String
- Resource type.
- id String
- Resource ID.
- labels List<String>
- List of labels associated with this route table.
- 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
HubRouteResponse  
- DestinationType string
- The type of destinations (eg: CIDR, ResourceId, Service).
- Destinations List<string>
- List of all destinations.
- Name string
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- NextHop string
- NextHop resource ID.
- NextHop stringType 
- The type of next hop (eg: ResourceId).
- DestinationType string
- The type of destinations (eg: CIDR, ResourceId, Service).
- Destinations []string
- List of all destinations.
- Name string
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- NextHop string
- NextHop resource ID.
- NextHop stringType 
- The type of next hop (eg: ResourceId).
- destinationType String
- The type of destinations (eg: CIDR, ResourceId, Service).
- destinations List<String>
- List of all destinations.
- name String
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- nextHop String
- NextHop resource ID.
- nextHop StringType 
- The type of next hop (eg: ResourceId).
- destinationType string
- The type of destinations (eg: CIDR, ResourceId, Service).
- destinations string[]
- List of all destinations.
- name string
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- nextHop string
- NextHop resource ID.
- nextHop stringType 
- The type of next hop (eg: ResourceId).
- destination_type str
- The type of destinations (eg: CIDR, ResourceId, Service).
- destinations Sequence[str]
- List of all destinations.
- name str
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- next_hop str
- NextHop resource ID.
- next_hop_ strtype 
- The type of next hop (eg: ResourceId).
- destinationType String
- The type of destinations (eg: CIDR, ResourceId, Service).
- destinations List<String>
- List of all destinations.
- name String
- The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- nextHop String
- NextHop resource ID.
- nextHop StringType 
- The type of next hop (eg: ResourceId).
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