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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.network.getVirtualHub
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Retrieves the details of a VirtualHub. Azure REST API version: 2023-02-01.
Other available API versions: 2018-07-01, 2020-04-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01.
Using getVirtualHub
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 getVirtualHub(args: GetVirtualHubArgs, opts?: InvokeOptions): Promise<GetVirtualHubResult>
function getVirtualHubOutput(args: GetVirtualHubOutputArgs, opts?: InvokeOptions): Output<GetVirtualHubResult>
def get_virtual_hub(resource_group_name: Optional[str] = None,
virtual_hub_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualHubResult
def get_virtual_hub_output(resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_hub_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHubResult]
func LookupVirtualHub(ctx *Context, args *LookupVirtualHubArgs, opts ...InvokeOption) (*LookupVirtualHubResult, error)
func LookupVirtualHubOutput(ctx *Context, args *LookupVirtualHubOutputArgs, opts ...InvokeOption) LookupVirtualHubResultOutput
> Note: This function is named LookupVirtualHub
in the Go SDK.
public static class GetVirtualHub
{
public static Task<GetVirtualHubResult> InvokeAsync(GetVirtualHubArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualHubResult> Invoke(GetVirtualHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualHubResult> getVirtualHub(GetVirtualHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getVirtualHub
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The resource group name of the VirtualHub.
- Virtual
Hub stringName - The name of the VirtualHub.
- Resource
Group stringName - The resource group name of the VirtualHub.
- Virtual
Hub stringName - The name of the VirtualHub.
- resource
Group StringName - The resource group name of the VirtualHub.
- virtual
Hub StringName - The name of the VirtualHub.
- resource
Group stringName - The resource group name of the VirtualHub.
- virtual
Hub stringName - The name of the VirtualHub.
- resource_
group_ strname - The resource group name of the VirtualHub.
- virtual_
hub_ strname - The name of the VirtualHub.
- resource
Group StringName - The resource group name of the VirtualHub.
- virtual
Hub StringName - The name of the VirtualHub.
getVirtualHub Result
The following output properties are available:
- Bgp
Connections List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - List of references to Bgp Connections.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Ip
Configurations List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - List of references to IpConfigurations.
- Kind string
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- Location string
- Resource location.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the virtual hub resource.
- Route
Maps List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - List of references to RouteMaps.
- Routing
State string - The routing state.
- Type string
- Resource type.
- Address
Prefix string - Address-prefix for this VirtualHub.
- Allow
Branch boolTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- Azure
Firewall Pulumi.Azure Native. Network. Outputs. Sub Resource Response - The azureFirewall associated with this VirtualHub.
- Express
Route Pulumi.Gateway Azure Native. Network. Outputs. Sub Resource Response - The expressRouteGateway associated with this VirtualHub.
- Hub
Routing stringPreference - The hubRoutingPreference of this VirtualHub.
- Id string
- Resource ID.
- P2SVpn
Gateway Pulumi.Azure Native. Network. Outputs. Sub Resource Response - The P2SVpnGateway associated with this VirtualHub.
- Preferred
Routing stringGateway - The preferred gateway to route on-prem traffic
- Route
Table Pulumi.Azure Native. Network. Outputs. Virtual Hub Route Table Response - The routeTable associated with this virtual hub.
- Security
Partner Pulumi.Provider Azure Native. Network. Outputs. Sub Resource Response - The securityPartnerProvider associated with this VirtualHub.
- Security
Provider stringName - The Security Provider name.
- Sku string
- The sku of this VirtualHub.
- Dictionary<string, string>
- Resource tags.
- Virtual
Hub List<Pulumi.Route Table V2s Azure Native. Network. Outputs. Virtual Hub Route Table V2Response> - List of all virtual hub route table v2s associated with this VirtualHub.
- Virtual
Router doubleAsn - VirtualRouter ASN.
- Virtual
Router Pulumi.Auto Scale Configuration Azure Native. Network. Outputs. Virtual Router Auto Scale Configuration Response - The VirtualHub Router autoscale configuration.
- Virtual
Router List<string>Ips - VirtualRouter IPs.
- Virtual
Wan Pulumi.Azure Native. Network. Outputs. Sub Resource Response - The VirtualWAN to which the VirtualHub belongs.
- Vpn
Gateway Pulumi.Azure Native. Network. Outputs. Sub Resource Response - The VpnGateway associated with this VirtualHub.
- Bgp
Connections []SubResource Response - List of references to Bgp Connections.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Ip
Configurations []SubResource Response - List of references to IpConfigurations.
- Kind string
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- Location string
- Resource location.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the virtual hub resource.
- Route
Maps []SubResource Response - List of references to RouteMaps.
- Routing
State string - The routing state.
- Type string
- Resource type.
- Address
Prefix string - Address-prefix for this VirtualHub.
- Allow
Branch boolTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- Azure
Firewall SubResource Response - The azureFirewall associated with this VirtualHub.
- Express
Route SubGateway Resource Response - The expressRouteGateway associated with this VirtualHub.
- Hub
Routing stringPreference - The hubRoutingPreference of this VirtualHub.
- Id string
- Resource ID.
- P2SVpn
Gateway SubResource Response - The P2SVpnGateway associated with this VirtualHub.
- Preferred
Routing stringGateway - The preferred gateway to route on-prem traffic
- Route
Table VirtualHub Route Table Response - The routeTable associated with this virtual hub.
- Security
Partner SubProvider Resource Response - The securityPartnerProvider associated with this VirtualHub.
- Security
Provider stringName - The Security Provider name.
- Sku string
- The sku of this VirtualHub.
- map[string]string
- Resource tags.
- Virtual
Hub []VirtualRoute Table V2s Hub Route Table V2Response - List of all virtual hub route table v2s associated with this VirtualHub.
- Virtual
Router float64Asn - VirtualRouter ASN.
- Virtual
Router VirtualAuto Scale Configuration Router Auto Scale Configuration Response - The VirtualHub Router autoscale configuration.
- Virtual
Router []stringIps - VirtualRouter IPs.
- Virtual
Wan SubResource Response - The VirtualWAN to which the VirtualHub belongs.
- Vpn
Gateway SubResource Response - The VpnGateway associated with this VirtualHub.
- bgp
Connections List<SubResource Response> - List of references to Bgp Connections.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- ip
Configurations List<SubResource Response> - List of references to IpConfigurations.
- kind String
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- location String
- Resource location.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the virtual hub resource.
- route
Maps List<SubResource Response> - List of references to RouteMaps.
- routing
State String - The routing state.
- type String
- Resource type.
- address
Prefix String - Address-prefix for this VirtualHub.
- allow
Branch BooleanTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- azure
Firewall SubResource Response - The azureFirewall associated with this VirtualHub.
- express
Route SubGateway Resource Response - The expressRouteGateway associated with this VirtualHub.
- hub
Routing StringPreference - The hubRoutingPreference of this VirtualHub.
- id String
- Resource ID.
- p2SVpn
Gateway SubResource Response - The P2SVpnGateway associated with this VirtualHub.
- preferred
Routing StringGateway - The preferred gateway to route on-prem traffic
- route
Table VirtualHub Route Table Response - The routeTable associated with this virtual hub.
- security
Partner SubProvider Resource Response - The securityPartnerProvider associated with this VirtualHub.
- security
Provider StringName - The Security Provider name.
- sku String
- The sku of this VirtualHub.
- Map<String,String>
- Resource tags.
- virtual
Hub List<VirtualRoute Table V2s Hub Route Table V2Response> - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual
Router DoubleAsn - VirtualRouter ASN.
- virtual
Router VirtualAuto Scale Configuration Router Auto Scale Configuration Response - The VirtualHub Router autoscale configuration.
- virtual
Router List<String>Ips - VirtualRouter IPs.
- virtual
Wan SubResource Response - The VirtualWAN to which the VirtualHub belongs.
- vpn
Gateway SubResource Response - The VpnGateway associated with this VirtualHub.
- bgp
Connections SubResource Response[] - List of references to Bgp Connections.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- ip
Configurations SubResource Response[] - List of references to IpConfigurations.
- kind string
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- location string
- Resource location.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the virtual hub resource.
- route
Maps SubResource Response[] - List of references to RouteMaps.
- routing
State string - The routing state.
- type string
- Resource type.
- address
Prefix string - Address-prefix for this VirtualHub.
- allow
Branch booleanTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- azure
Firewall SubResource Response - The azureFirewall associated with this VirtualHub.
- express
Route SubGateway Resource Response - The expressRouteGateway associated with this VirtualHub.
- hub
Routing stringPreference - The hubRoutingPreference of this VirtualHub.
- id string
- Resource ID.
- p2SVpn
Gateway SubResource Response - The P2SVpnGateway associated with this VirtualHub.
- preferred
Routing stringGateway - The preferred gateway to route on-prem traffic
- route
Table VirtualHub Route Table Response - The routeTable associated with this virtual hub.
- security
Partner SubProvider Resource Response - The securityPartnerProvider associated with this VirtualHub.
- security
Provider stringName - The Security Provider name.
- sku string
- The sku of this VirtualHub.
- {[key: string]: string}
- Resource tags.
- virtual
Hub VirtualRoute Table V2s Hub Route Table V2Response[] - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual
Router numberAsn - VirtualRouter ASN.
- virtual
Router VirtualAuto Scale Configuration Router Auto Scale Configuration Response - The VirtualHub Router autoscale configuration.
- virtual
Router string[]Ips - VirtualRouter IPs.
- virtual
Wan SubResource Response - The VirtualWAN to which the VirtualHub belongs.
- vpn
Gateway SubResource Response - The VpnGateway associated with this VirtualHub.
- bgp_
connections Sequence[SubResource Response] - List of references to Bgp Connections.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- ip_
configurations Sequence[SubResource Response] - List of references to IpConfigurations.
- kind str
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- location str
- Resource location.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the virtual hub resource.
- route_
maps Sequence[SubResource Response] - List of references to RouteMaps.
- routing_
state str - The routing state.
- type str
- Resource type.
- address_
prefix str - Address-prefix for this VirtualHub.
- allow_
branch_ boolto_ branch_ traffic - Flag to control transit for VirtualRouter hub.
- azure_
firewall SubResource Response - The azureFirewall associated with this VirtualHub.
- express_
route_ Subgateway Resource Response - The expressRouteGateway associated with this VirtualHub.
- hub_
routing_ strpreference - The hubRoutingPreference of this VirtualHub.
- id str
- Resource ID.
- p2_
s_ Subvpn_ gateway Resource Response - The P2SVpnGateway associated with this VirtualHub.
- preferred_
routing_ strgateway - The preferred gateway to route on-prem traffic
- route_
table VirtualHub Route Table Response - The routeTable associated with this virtual hub.
- security_
partner_ Subprovider Resource Response - The securityPartnerProvider associated with this VirtualHub.
- security_
provider_ strname - The Security Provider name.
- sku str
- The sku of this VirtualHub.
- Mapping[str, str]
- Resource tags.
- virtual_
hub_ Sequence[Virtualroute_ table_ v2s Hub Route Table V2Response] - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual_
router_ floatasn - VirtualRouter ASN.
- virtual_
router_ Virtualauto_ scale_ configuration Router Auto Scale Configuration Response - The VirtualHub Router autoscale configuration.
- virtual_
router_ Sequence[str]ips - VirtualRouter IPs.
- virtual_
wan SubResource Response - The VirtualWAN to which the VirtualHub belongs.
- vpn_
gateway SubResource Response - The VpnGateway associated with this VirtualHub.
- bgp
Connections List<Property Map> - List of references to Bgp Connections.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- ip
Configurations List<Property Map> - List of references to IpConfigurations.
- kind String
- Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- location String
- Resource location.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the virtual hub resource.
- route
Maps List<Property Map> - List of references to RouteMaps.
- routing
State String - The routing state.
- type String
- Resource type.
- address
Prefix String - Address-prefix for this VirtualHub.
- allow
Branch BooleanTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- azure
Firewall Property Map - The azureFirewall associated with this VirtualHub.
- express
Route Property MapGateway - The expressRouteGateway associated with this VirtualHub.
- hub
Routing StringPreference - The hubRoutingPreference of this VirtualHub.
- id String
- Resource ID.
- p2SVpn
Gateway Property Map - The P2SVpnGateway associated with this VirtualHub.
- preferred
Routing StringGateway - The preferred gateway to route on-prem traffic
- route
Table Property Map - The routeTable associated with this virtual hub.
- security
Partner Property MapProvider - The securityPartnerProvider associated with this VirtualHub.
- security
Provider StringName - The Security Provider name.
- sku String
- The sku of this VirtualHub.
- Map<String>
- Resource tags.
- virtual
Hub List<Property Map>Route Table V2s - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual
Router NumberAsn - VirtualRouter ASN.
- virtual
Router Property MapAuto Scale Configuration - The VirtualHub Router autoscale configuration.
- virtual
Router List<String>Ips - VirtualRouter IPs.
- virtual
Wan Property Map - The VirtualWAN to which the VirtualHub belongs.
- vpn
Gateway Property Map - The VpnGateway associated with this VirtualHub.
Supporting Types
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VirtualHubRouteResponse
- Address
Prefixes List<string> - List of all addressPrefixes.
- Next
Hop stringIp Address - NextHop ip address.
- Address
Prefixes []string - List of all addressPrefixes.
- Next
Hop stringIp Address - NextHop ip address.
- address
Prefixes List<String> - List of all addressPrefixes.
- next
Hop StringIp Address - NextHop ip address.
- address
Prefixes string[] - List of all addressPrefixes.
- next
Hop stringIp Address - NextHop ip address.
- address_
prefixes Sequence[str] - List of all addressPrefixes.
- next_
hop_ strip_ address - NextHop ip address.
- address
Prefixes List<String> - List of all addressPrefixes.
- next
Hop StringIp Address - NextHop ip address.
VirtualHubRouteTableResponse
- Routes
List<Pulumi.
Azure Native. Network. Inputs. Virtual Hub Route Response> - List of all routes.
- Routes
[]Virtual
Hub Route Response - List of all routes.
- routes
List<Virtual
Hub Route Response> - List of all routes.
- routes
Virtual
Hub Route Response[] - List of all routes.
- routes
Sequence[Virtual
Hub Route Response] - List of all routes.
- routes List<Property Map>
- List of all routes.
VirtualHubRouteTableV2Response
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the virtual hub route table v2 resource.
- Attached
Connections 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. Inputs. Virtual Hub Route V2Response> - List of all routes.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the virtual hub route table v2 resource.
- Attached
Connections []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
[]Virtual
Hub Route V2Response - List of all routes.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the virtual hub route table v2 resource.
- attached
Connections 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<Virtual
Hub Route V2Response> - List of all routes.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State string - The provisioning state of the virtual hub route table v2 resource.
- attached
Connections 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
Virtual
Hub 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[Virtual
Hub Route V2Response] - List of all routes.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the virtual hub route table v2 resource.
- attached
Connections 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.
VirtualHubRouteV2Response
- Destination
Type string - The type of destinations.
- Destinations List<string>
- List of all destinations.
- Next
Hop stringType - The type of next hops.
- Next
Hops List<string> - NextHops ip address.
- Destination
Type string - The type of destinations.
- Destinations []string
- List of all destinations.
- Next
Hop stringType - The type of next hops.
- Next
Hops []string - NextHops ip address.
- destination
Type String - The type of destinations.
- destinations List<String>
- List of all destinations.
- next
Hop StringType - The type of next hops.
- next
Hops List<String> - NextHops ip address.
- destination
Type string - The type of destinations.
- destinations string[]
- List of all destinations.
- next
Hop stringType - The type of next hops.
- next
Hops 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.
- destination
Type String - The type of destinations.
- destinations List<String>
- List of all destinations.
- next
Hop StringType - The type of next hops.
- next
Hops List<String> - NextHops ip address.
VirtualRouterAutoScaleConfigurationResponse
- Min
Capacity int - The minimum number of scale units for VirtualHub Router.
- Min
Capacity int - The minimum number of scale units for VirtualHub Router.
- min
Capacity Integer - The minimum number of scale units for VirtualHub Router.
- min
Capacity number - The minimum number of scale units for VirtualHub Router.
- min_
capacity int - The minimum number of scale units for VirtualHub Router.
- min
Capacity Number - The minimum number of scale units for VirtualHub Router.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi