azure-native.network.getHubRouteTable
Explore with Pulumi AI
Retrieves the details of a RouteTable.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Resource
Group stringName - The resource group name of the VirtualHub.
- Route
Table stringName - The name of the RouteTable.
- Virtual
Hub stringName - The name of the VirtualHub.
- Resource
Group stringName - The resource group name of the VirtualHub.
- Route
Table stringName - The name of the RouteTable.
- Virtual
Hub stringName - The name of the VirtualHub.
- resource
Group StringName - The resource group name of the VirtualHub.
- route
Table StringName - The name of the RouteTable.
- virtual
Hub StringName - The name of the VirtualHub.
- resource
Group stringName - The resource group name of the VirtualHub.
- route
Table stringName - The name of the RouteTable.
- virtual
Hub 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.
- resource
Group StringName - The resource group name of the VirtualHub.
- route
Table StringName - The name of the RouteTable.
- virtual
Hub StringName - The name of the VirtualHub.
getHubRouteTable Result
The following output properties are available:
- Associated
Connections List<string> - List of all connections associated with this route table.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Propagating
Connections List<string> - List of all connections that advertise to this route table.
- Provisioning
State 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.
- Associated
Connections []string - List of all connections associated with this route table.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Propagating
Connections []string - List of all connections that advertise to this route table.
- Provisioning
State 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
[]Hub
Route Response - List of all routes.
- associated
Connections List<String> - List of all connections associated with this route table.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- propagating
Connections List<String> - List of all connections that advertise to this route table.
- provisioning
State 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<Hub
Route Response> - List of all routes.
- associated
Connections string[] - List of all connections associated with this route table.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- propagating
Connections string[] - List of all connections that advertise to this route table.
- provisioning
State 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
Hub
Route Response[] - List of all routes.
- associated_
connections Sequence[str] - List of all connections associated with this route table.
- azure_
api_ strversion - The Azure API version of the resource.
- 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[Hub
Route Response] - List of all routes.
- associated
Connections List<String> - List of all connections associated with this route table.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- propagating
Connections List<String> - List of all connections that advertise to this route table.
- provisioning
State 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
- Destination
Type 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.
- Next
Hop string - NextHop resource ID.
- Next
Hop stringType - The type of next hop (eg: ResourceId).
- Destination
Type 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.
- Next
Hop string - NextHop resource ID.
- Next
Hop stringType - The type of next hop (eg: ResourceId).
- destination
Type 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.
- next
Hop String - NextHop resource ID.
- next
Hop StringType - The type of next hop (eg: ResourceId).
- destination
Type 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.
- next
Hop string - NextHop resource ID.
- next
Hop 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).
- destination
Type 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.
- next
Hop String - NextHop resource ID.
- next
Hop StringType - The type of next hop (eg: ResourceId).
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0