azure-native.network.VirtualHub
Explore with Pulumi AI
VirtualHub Resource. API Version: 2020-11-01.
Example Usage
VirtualHubPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var virtualHub = new AzureNative.Network.VirtualHub("virtualHub", new()
{
AddressPrefix = "10.168.0.0/24",
Location = "West US",
ResourceGroupName = "rg1",
Sku = "Basic",
Tags =
{
{ "key1", "value1" },
},
VirtualHubName = "virtualHub2",
VirtualWan = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1",
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewVirtualHub(ctx, "virtualHub", &network.VirtualHubArgs{
AddressPrefix: pulumi.String("10.168.0.0/24"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
Sku: pulumi.String("Basic"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
VirtualHubName: pulumi.String("virtualHub2"),
VirtualWan: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.VirtualHub;
import com.pulumi.azurenative.network.VirtualHubArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var virtualHub = new VirtualHub("virtualHub", VirtualHubArgs.builder()
.addressPrefix("10.168.0.0/24")
.location("West US")
.resourceGroupName("rg1")
.sku("Basic")
.tags(Map.of("key1", "value1"))
.virtualHubName("virtualHub2")
.virtualWan(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_hub = azure_native.network.VirtualHub("virtualHub",
address_prefix="10.168.0.0/24",
location="West US",
resource_group_name="rg1",
sku="Basic",
tags={
"key1": "value1",
},
virtual_hub_name="virtualHub2",
virtual_wan=azure_native.network.SubResourceArgs(
id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualHub = new azure_native.network.VirtualHub("virtualHub", {
addressPrefix: "10.168.0.0/24",
location: "West US",
resourceGroupName: "rg1",
sku: "Basic",
tags: {
key1: "value1",
},
virtualHubName: "virtualHub2",
virtualWan: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1",
},
});
resources:
virtualHub:
type: azure-native:network:VirtualHub
properties:
addressPrefix: 10.168.0.0/24
location: West US
resourceGroupName: rg1
sku: Basic
tags:
key1: value1
virtualHubName: virtualHub2
virtualWan:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1
Create VirtualHub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualHub(name: string, args: VirtualHubArgs, opts?: CustomResourceOptions);
@overload
def VirtualHub(resource_name: str,
args: VirtualHubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualHub(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
route_table: Optional[VirtualHubRouteTableArgs] = None,
express_route_gateway: Optional[SubResourceArgs] = None,
security_provider_name: Optional[str] = None,
sku: Optional[str] = None,
location: Optional[str] = None,
p2_s_vpn_gateway: Optional[SubResourceArgs] = None,
allow_branch_to_branch_traffic: Optional[bool] = None,
address_prefix: Optional[str] = None,
vpn_gateway: Optional[SubResourceArgs] = None,
azure_firewall: Optional[SubResourceArgs] = None,
id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
virtual_hub_name: Optional[str] = None,
virtual_hub_route_table_v2s: Optional[Sequence[VirtualHubRouteTableV2Args]] = None,
virtual_router_asn: Optional[float] = None,
virtual_router_ips: Optional[Sequence[str]] = None,
virtual_wan: Optional[SubResourceArgs] = None,
security_partner_provider: Optional[SubResourceArgs] = None)
func NewVirtualHub(ctx *Context, name string, args VirtualHubArgs, opts ...ResourceOption) (*VirtualHub, error)
public VirtualHub(string name, VirtualHubArgs args, CustomResourceOptions? opts = null)
public VirtualHub(String name, VirtualHubArgs args)
public VirtualHub(String name, VirtualHubArgs args, CustomResourceOptions options)
type: azure-native:network:VirtualHub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VirtualHubArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualHubArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualHubArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var virtualHubResource = new AzureNative.Network.VirtualHub("virtualHubResource", new()
{
ResourceGroupName = "string",
RouteTable =
{
{ "routes", new[]
{
{
{ "addressPrefixes", new[]
{
"string",
} },
{ "nextHopIpAddress", "string" },
},
} },
},
ExpressRouteGateway =
{
{ "id", "string" },
},
SecurityProviderName = "string",
Sku = "string",
Location = "string",
P2SVpnGateway =
{
{ "id", "string" },
},
AllowBranchToBranchTraffic = false,
AddressPrefix = "string",
VpnGateway =
{
{ "id", "string" },
},
AzureFirewall =
{
{ "id", "string" },
},
Id = "string",
Tags =
{
{ "string", "string" },
},
VirtualHubName = "string",
VirtualHubRouteTableV2s = new[]
{
{
{ "attachedConnections", new[]
{
"string",
} },
{ "id", "string" },
{ "name", "string" },
{ "routes", new[]
{
{
{ "destinationType", "string" },
{ "destinations", new[]
{
"string",
} },
{ "nextHopType", "string" },
{ "nextHops", new[]
{
"string",
} },
},
} },
},
},
VirtualRouterAsn = 0,
VirtualRouterIps = new[]
{
"string",
},
VirtualWan =
{
{ "id", "string" },
},
SecurityPartnerProvider =
{
{ "id", "string" },
},
});
example, err := network.NewVirtualHub(ctx, "virtualHubResource", &network.VirtualHubArgs{
ResourceGroupName: "string",
RouteTable: map[string]interface{}{
"routes": []map[string]interface{}{
map[string]interface{}{
"addressPrefixes": []string{
"string",
},
"nextHopIpAddress": "string",
},
},
},
ExpressRouteGateway: map[string]interface{}{
"id": "string",
},
SecurityProviderName: "string",
Sku: "string",
Location: "string",
P2SVpnGateway: map[string]interface{}{
"id": "string",
},
AllowBranchToBranchTraffic: false,
AddressPrefix: "string",
VpnGateway: map[string]interface{}{
"id": "string",
},
AzureFirewall: map[string]interface{}{
"id": "string",
},
Id: "string",
Tags: map[string]interface{}{
"string": "string",
},
VirtualHubName: "string",
VirtualHubRouteTableV2s: []map[string]interface{}{
map[string]interface{}{
"attachedConnections": []string{
"string",
},
"id": "string",
"name": "string",
"routes": []map[string]interface{}{
map[string]interface{}{
"destinationType": "string",
"destinations": []string{
"string",
},
"nextHopType": "string",
"nextHops": []string{
"string",
},
},
},
},
},
VirtualRouterAsn: 0,
VirtualRouterIps: []string{
"string",
},
VirtualWan: map[string]interface{}{
"id": "string",
},
SecurityPartnerProvider: map[string]interface{}{
"id": "string",
},
})
var virtualHubResource = new VirtualHub("virtualHubResource", VirtualHubArgs.builder()
.resourceGroupName("string")
.routeTable(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.expressRouteGateway(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.securityProviderName("string")
.sku("string")
.location("string")
.p2SVpnGateway(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.allowBranchToBranchTraffic(false)
.addressPrefix("string")
.vpnGateway(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.azureFirewall(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.id("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.virtualHubName("string")
.virtualHubRouteTableV2s(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.virtualRouterAsn(0)
.virtualRouterIps("string")
.virtualWan(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.securityPartnerProvider(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
virtual_hub_resource = azure_native.network.VirtualHub("virtualHubResource",
resource_group_name=string,
route_table={
routes: [{
addressPrefixes: [string],
nextHopIpAddress: string,
}],
},
express_route_gateway={
id: string,
},
security_provider_name=string,
sku=string,
location=string,
p2_s_vpn_gateway={
id: string,
},
allow_branch_to_branch_traffic=False,
address_prefix=string,
vpn_gateway={
id: string,
},
azure_firewall={
id: string,
},
id=string,
tags={
string: string,
},
virtual_hub_name=string,
virtual_hub_route_table_v2s=[{
attachedConnections: [string],
id: string,
name: string,
routes: [{
destinationType: string,
destinations: [string],
nextHopType: string,
nextHops: [string],
}],
}],
virtual_router_asn=0,
virtual_router_ips=[string],
virtual_wan={
id: string,
},
security_partner_provider={
id: string,
})
const virtualHubResource = new azure_native.network.VirtualHub("virtualHubResource", {
resourceGroupName: "string",
routeTable: {
routes: [{
addressPrefixes: ["string"],
nextHopIpAddress: "string",
}],
},
expressRouteGateway: {
id: "string",
},
securityProviderName: "string",
sku: "string",
location: "string",
p2SVpnGateway: {
id: "string",
},
allowBranchToBranchTraffic: false,
addressPrefix: "string",
vpnGateway: {
id: "string",
},
azureFirewall: {
id: "string",
},
id: "string",
tags: {
string: "string",
},
virtualHubName: "string",
virtualHubRouteTableV2s: [{
attachedConnections: ["string"],
id: "string",
name: "string",
routes: [{
destinationType: "string",
destinations: ["string"],
nextHopType: "string",
nextHops: ["string"],
}],
}],
virtualRouterAsn: 0,
virtualRouterIps: ["string"],
virtualWan: {
id: "string",
},
securityPartnerProvider: {
id: "string",
},
});
type: azure-native:network:VirtualHub
properties:
addressPrefix: string
allowBranchToBranchTraffic: false
azureFirewall:
id: string
expressRouteGateway:
id: string
id: string
location: string
p2SVpnGateway:
id: string
resourceGroupName: string
routeTable:
routes:
- addressPrefixes:
- string
nextHopIpAddress: string
securityPartnerProvider:
id: string
securityProviderName: string
sku: string
tags:
string: string
virtualHubName: string
virtualHubRouteTableV2s:
- attachedConnections:
- string
id: string
name: string
routes:
- destinationType: string
destinations:
- string
nextHopType: string
nextHops:
- string
virtualRouterAsn: 0
virtualRouterIps:
- string
virtualWan:
id: string
vpnGateway:
id: string
VirtualHub Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VirtualHub resource accepts the following input properties:
- Resource
Group stringName - The resource group name of the VirtualHub.
- 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. Inputs. Sub Resource - The azureFirewall associated with this VirtualHub.
- Express
Route Pulumi.Gateway Azure Native. Network. Inputs. Sub Resource - The expressRouteGateway associated with this VirtualHub.
- Id string
- Resource ID.
- Location string
- Resource location.
- P2SVpn
Gateway Pulumi.Azure Native. Network. Inputs. Sub Resource - The P2SVpnGateway associated with this VirtualHub.
- Route
Table Pulumi.Azure Native. Network. Inputs. Virtual Hub Route Table - The routeTable associated with this virtual hub.
- Security
Partner Pulumi.Provider Azure Native. Network. Inputs. Sub Resource - 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 stringName - The name of the VirtualHub.
- Virtual
Hub List<Pulumi.Route Table V2s Azure Native. Network. Inputs. Virtual Hub Route Table V2> - List of all virtual hub route table v2s associated with this VirtualHub.
- Virtual
Router doubleAsn - VirtualRouter ASN.
- Virtual
Router List<string>Ips - VirtualRouter IPs.
- Virtual
Wan Pulumi.Azure Native. Network. Inputs. Sub Resource - The VirtualWAN to which the VirtualHub belongs.
- Vpn
Gateway Pulumi.Azure Native. Network. Inputs. Sub Resource - The VpnGateway associated with this VirtualHub.
- Resource
Group stringName - The resource group name of the VirtualHub.
- Address
Prefix string - Address-prefix for this VirtualHub.
- Allow
Branch boolTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- Azure
Firewall SubResource Args - The azureFirewall associated with this VirtualHub.
- Express
Route SubGateway Resource Args - The expressRouteGateway associated with this VirtualHub.
- Id string
- Resource ID.
- Location string
- Resource location.
- P2SVpn
Gateway SubResource Args - The P2SVpnGateway associated with this VirtualHub.
- Route
Table VirtualHub Route Table Args - The routeTable associated with this virtual hub.
- Security
Partner SubProvider Resource Args - 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 stringName - The name of the VirtualHub.
- Virtual
Hub []VirtualRoute Table V2s Hub Route Table V2Type Args - List of all virtual hub route table v2s associated with this VirtualHub.
- Virtual
Router float64Asn - VirtualRouter ASN.
- Virtual
Router []stringIps - VirtualRouter IPs.
- Virtual
Wan SubResource Args - The VirtualWAN to which the VirtualHub belongs.
- Vpn
Gateway SubResource Args - The VpnGateway associated with this VirtualHub.
- resource
Group StringName - The resource group name of the VirtualHub.
- address
Prefix String - Address-prefix for this VirtualHub.
- allow
Branch BooleanTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- azure
Firewall SubResource - The azureFirewall associated with this VirtualHub.
- express
Route SubGateway Resource - The expressRouteGateway associated with this VirtualHub.
- id String
- Resource ID.
- location String
- Resource location.
- p2SVpn
Gateway SubResource - The P2SVpnGateway associated with this VirtualHub.
- route
Table VirtualHub Route Table - The routeTable associated with this virtual hub.
- security
Partner SubProvider Resource - 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 StringName - The name of the VirtualHub.
- virtual
Hub List<VirtualRoute Table V2s Hub Route Table V2> - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual
Router DoubleAsn - VirtualRouter ASN.
- virtual
Router List<String>Ips - VirtualRouter IPs.
- virtual
Wan SubResource - The VirtualWAN to which the VirtualHub belongs.
- vpn
Gateway SubResource - The VpnGateway associated with this VirtualHub.
- resource
Group stringName - The resource group name of the VirtualHub.
- address
Prefix string - Address-prefix for this VirtualHub.
- allow
Branch booleanTo Branch Traffic - Flag to control transit for VirtualRouter hub.
- azure
Firewall SubResource - The azureFirewall associated with this VirtualHub.
- express
Route SubGateway Resource - The expressRouteGateway associated with this VirtualHub.
- id string
- Resource ID.
- location string
- Resource location.
- p2SVpn
Gateway SubResource - The P2SVpnGateway associated with this VirtualHub.
- route
Table VirtualHub Route Table - The routeTable associated with this virtual hub.
- security
Partner SubProvider Resource - 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 stringName - The name of the VirtualHub.
- virtual
Hub VirtualRoute Table V2s Hub Route Table V2[] - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual
Router numberAsn - VirtualRouter ASN.
- virtual
Router string[]Ips - VirtualRouter IPs.
- virtual
Wan SubResource - The VirtualWAN to which the VirtualHub belongs.
- vpn
Gateway SubResource - The VpnGateway associated with this VirtualHub.
- resource_
group_ strname - The resource group name of the VirtualHub.
- address_
prefix str - Address-prefix for this VirtualHub.
- allow_
branch_ boolto_ branch_ traffic - Flag to control transit for VirtualRouter hub.
- azure_
firewall SubResource Args - The azureFirewall associated with this VirtualHub.
- express_
route_ Subgateway Resource Args - The expressRouteGateway associated with this VirtualHub.
- id str
- Resource ID.
- location str
- Resource location.
- p2_
s_ Subvpn_ gateway Resource Args - The P2SVpnGateway associated with this VirtualHub.
- route_
table VirtualHub Route Table Args - The routeTable associated with this virtual hub.
- security_
partner_ Subprovider Resource Args - 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_ strname - The name of the VirtualHub.
- virtual_
hub_ Sequence[Virtualroute_ table_ v2s Hub Route Table V2Args] - List of all virtual hub route table v2s associated with this VirtualHub.
- virtual_
router_ floatasn - VirtualRouter ASN.
- virtual_
router_ Sequence[str]ips - VirtualRouter IPs.
- virtual_
wan SubResource Args - The VirtualWAN to which the VirtualHub belongs.
- vpn_
gateway SubResource Args - The VpnGateway associated with this VirtualHub.
- resource
Group StringName - The resource group name of the VirtualHub.
- 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.
- id String
- Resource ID.
- location String
- Resource location.
- p2SVpn
Gateway Property Map - The P2SVpnGateway associated with this VirtualHub.
- 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 StringName - The name of the VirtualHub.
- 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 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualHub resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Configurations List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - List of references to IpConfigurations.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the virtual hub resource.
- Routing
State string - The routing state.
- Type string
- Resource type.
- Bgp
Connections []SubResource Response - List of references to Bgp Connections.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Configurations []SubResource Response - List of references to IpConfigurations.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the virtual hub resource.
- Routing
State string - The routing state.
- Type string
- Resource type.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Configurations List<SubResource Response> - List of references to IpConfigurations.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the virtual hub resource.
- routing
State String - The routing state.
- type String
- Resource type.
- bgp
Connections SubResource Response[] - List of references to Bgp Connections.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Configurations SubResource Response[] - List of references to IpConfigurations.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the virtual hub resource.
- routing
State string - The routing state.
- type string
- Resource type.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
configurations Sequence[SubResource Response] - List of references to IpConfigurations.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the virtual hub resource.
- routing_
state str - The routing state.
- type str
- Resource type.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Configurations List<Property Map> - List of references to IpConfigurations.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the virtual hub resource.
- routing
State String - The routing state.
- type String
- Resource type.
Supporting Types
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VirtualHubRoute, VirtualHubRouteArgs
- 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.
VirtualHubRouteResponse, VirtualHubRouteResponseArgs
- 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.
VirtualHubRouteTable, VirtualHubRouteTableArgs
- Routes
List<Pulumi.
Azure Native. Network. Inputs. Virtual Hub Route> - List of all routes.
- Routes
[]Virtual
Hub Route - List of all routes.
- routes
List<Virtual
Hub Route> - List of all routes.
- routes
Virtual
Hub Route[] - List of all routes.
- routes
Sequence[Virtual
Hub Route] - List of all routes.
- routes List<Property Map>
- List of all routes.
VirtualHubRouteTableResponse, VirtualHubRouteTableResponseArgs
- 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.
VirtualHubRouteTableV2, VirtualHubRouteTableV2Args
- 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 V2> - List of all routes.
- 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 V2 - List of all routes.
- 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 V2> - List of all routes.
- 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 V2[] - List of all routes.
- 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 V2] - List of all routes.
- 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.
VirtualHubRouteTableV2Response, VirtualHubRouteTableV2ResponseArgs
- 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.
VirtualHubRouteV2, VirtualHubRouteV2Args
- 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.
VirtualHubRouteV2Response, VirtualHubRouteV2ResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:VirtualHub virtualHub2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0