azure-native.network.getHubRouteTable

Explore with Pulumi AI

Retrieves the details of a RouteTable. API Version: 2020-11-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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:network:getHubRouteTable
  arguments:
    # arguments dictionary

The following arguments are supported:

ResourceGroupName string

The resource group name of the VirtualHub.

RouteTableName string

The name of the RouteTable.

VirtualHubName string

The name of the VirtualHub.

ResourceGroupName string

The resource group name of the VirtualHub.

RouteTableName string

The name of the RouteTable.

VirtualHubName string

The name of the VirtualHub.

resourceGroupName String

The resource group name of the VirtualHub.

routeTableName String

The name of the RouteTable.

virtualHubName String

The name of the VirtualHub.

resourceGroupName string

The resource group name of the VirtualHub.

routeTableName string

The name of the RouteTable.

virtualHubName string

The name of the VirtualHub.

resource_group_name str

The resource group name of the VirtualHub.

route_table_name str

The name of the RouteTable.

virtual_hub_name str

The name of the VirtualHub.

resourceGroupName String

The resource group name of the VirtualHub.

routeTableName String

The name of the RouteTable.

virtualHubName String

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.AzureNative.Network.Outputs.HubRouteResponse>

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 []HubRouteResponse

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<HubRouteResponse>

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 HubRouteResponse[]

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[HubRouteResponse]

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.

NextHopType string

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.

NextHopType string

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.

nextHopType String

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.

nextHopType string

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_type str

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.

nextHopType String

The type of next hop (eg: ResourceId).

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0