azure-native.network.HubVirtualNetworkConnection

Explore with Pulumi AI

HubVirtualNetworkConnection Resource. API Version: 2020-11-01.

Example Usage

HubVirtualNetworkConnectionPut

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var hubVirtualNetworkConnection = new AzureNative.Network.HubVirtualNetworkConnection("hubVirtualNetworkConnection", new()
    {
        ConnectionName = "connection1",
        EnableInternetSecurity = false,
        RemoteVirtualNetwork = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
        },
        ResourceGroupName = "rg1",
        RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
        {
            AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
            },
            PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
            {
                Ids = new[]
                {
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
                    },
                },
                Labels = new[]
                {
                    "label1",
                    "label2",
                },
            },
            VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
            {
                StaticRoutes = new[]
                {
                    new AzureNative.Network.Inputs.StaticRouteArgs
                    {
                        AddressPrefixes = new[]
                        {
                            "10.1.0.0/16",
                            "10.2.0.0/16",
                        },
                        Name = "route1",
                        NextHopIpAddress = "10.0.0.68",
                    },
                    new AzureNative.Network.Inputs.StaticRouteArgs
                    {
                        AddressPrefixes = new[]
                        {
                            "10.3.0.0/16",
                            "10.4.0.0/16",
                        },
                        Name = "route2",
                        NextHopIpAddress = "10.0.0.65",
                    },
                },
            },
        },
        VirtualHubName = "virtualHub1",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.HubVirtualNetworkConnection;
import com.pulumi.azurenative.network.HubVirtualNetworkConnectionArgs;
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 hubVirtualNetworkConnection = new HubVirtualNetworkConnection("hubVirtualNetworkConnection", HubVirtualNetworkConnectionArgs.builder()        
            .connectionName("connection1")
            .enableInternetSecurity(false)
            .remoteVirtualNetwork(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1"))
            .resourceGroupName("rg1")
            .routingConfiguration(Map.ofEntries(
                Map.entry("associatedRouteTable", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")),
                Map.entry("propagatedRouteTables", Map.ofEntries(
                    Map.entry("ids", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")),
                    Map.entry("labels",                     
                        "label1",
                        "label2")
                )),
                Map.entry("vnetRoutes", Map.of("staticRoutes",                 
                    Map.ofEntries(
                        Map.entry("addressPrefixes",                         
                            "10.1.0.0/16",
                            "10.2.0.0/16"),
                        Map.entry("name", "route1"),
                        Map.entry("nextHopIpAddress", "10.0.0.68")
                    ),
                    Map.ofEntries(
                        Map.entry("addressPrefixes",                         
                            "10.3.0.0/16",
                            "10.4.0.0/16"),
                        Map.entry("name", "route2"),
                        Map.entry("nextHopIpAddress", "10.0.0.65")
                    )))
            ))
            .virtualHubName("virtualHub1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

hub_virtual_network_connection = azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnection",
    connection_name="connection1",
    enable_internet_security=False,
    remote_virtual_network=azure_native.network.SubResourceArgs(
        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
    ),
    resource_group_name="rg1",
    routing_configuration=azure_native.network.RoutingConfigurationResponseArgs(
        associated_route_table=azure_native.network.SubResourceArgs(
            id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
        ),
        propagated_route_tables={
            "ids": [azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
            )],
            "labels": [
                "label1",
                "label2",
            ],
        },
        vnet_routes={
            "staticRoutes": [
                azure_native.network.StaticRouteArgs(
                    address_prefixes=[
                        "10.1.0.0/16",
                        "10.2.0.0/16",
                    ],
                    name="route1",
                    next_hop_ip_address="10.0.0.68",
                ),
                azure_native.network.StaticRouteArgs(
                    address_prefixes=[
                        "10.3.0.0/16",
                        "10.4.0.0/16",
                    ],
                    name="route2",
                    next_hop_ip_address="10.0.0.65",
                ),
            ],
        },
    ),
    virtual_hub_name="virtualHub1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const hubVirtualNetworkConnection = new azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnection", {
    connectionName: "connection1",
    enableInternetSecurity: false,
    remoteVirtualNetwork: {
        id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
    },
    resourceGroupName: "rg1",
    routingConfiguration: {
        associatedRouteTable: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
        },
        propagatedRouteTables: {
            ids: [{
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
            }],
            labels: [
                "label1",
                "label2",
            ],
        },
        vnetRoutes: {
            staticRoutes: [
                {
                    addressPrefixes: [
                        "10.1.0.0/16",
                        "10.2.0.0/16",
                    ],
                    name: "route1",
                    nextHopIpAddress: "10.0.0.68",
                },
                {
                    addressPrefixes: [
                        "10.3.0.0/16",
                        "10.4.0.0/16",
                    ],
                    name: "route2",
                    nextHopIpAddress: "10.0.0.65",
                },
            ],
        },
    },
    virtualHubName: "virtualHub1",
});
resources:
  hubVirtualNetworkConnection:
    type: azure-native:network:HubVirtualNetworkConnection
    properties:
      connectionName: connection1
      enableInternetSecurity: false
      remoteVirtualNetwork:
        id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1
      resourceGroupName: rg1
      routingConfiguration:
        associatedRouteTable:
          id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
        propagatedRouteTables:
          ids:
            - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
          labels:
            - label1
            - label2
        vnetRoutes:
          staticRoutes:
            - addressPrefixes:
                - 10.1.0.0/16
                - 10.2.0.0/16
              name: route1
              nextHopIpAddress: 10.0.0.68
            - addressPrefixes:
                - 10.3.0.0/16
                - 10.4.0.0/16
              name: route2
              nextHopIpAddress: 10.0.0.65
      virtualHubName: virtualHub1

Create HubVirtualNetworkConnection Resource

new HubVirtualNetworkConnection(name: string, args: HubVirtualNetworkConnectionArgs, opts?: CustomResourceOptions);
@overload
def HubVirtualNetworkConnection(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                allow_hub_to_remote_vnet_transit: Optional[bool] = None,
                                allow_remote_vnet_to_use_hub_vnet_gateways: Optional[bool] = None,
                                connection_name: Optional[str] = None,
                                enable_internet_security: Optional[bool] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                remote_virtual_network: Optional[SubResourceArgs] = None,
                                resource_group_name: Optional[str] = None,
                                routing_configuration: Optional[RoutingConfigurationArgs] = None,
                                virtual_hub_name: Optional[str] = None)
@overload
def HubVirtualNetworkConnection(resource_name: str,
                                args: HubVirtualNetworkConnectionArgs,
                                opts: Optional[ResourceOptions] = None)
func NewHubVirtualNetworkConnection(ctx *Context, name string, args HubVirtualNetworkConnectionArgs, opts ...ResourceOption) (*HubVirtualNetworkConnection, error)
public HubVirtualNetworkConnection(string name, HubVirtualNetworkConnectionArgs args, CustomResourceOptions? opts = null)
public HubVirtualNetworkConnection(String name, HubVirtualNetworkConnectionArgs args)
public HubVirtualNetworkConnection(String name, HubVirtualNetworkConnectionArgs args, CustomResourceOptions options)
type: azure-native:network:HubVirtualNetworkConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args HubVirtualNetworkConnectionArgs
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 HubVirtualNetworkConnectionArgs
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 HubVirtualNetworkConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args HubVirtualNetworkConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args HubVirtualNetworkConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

HubVirtualNetworkConnection 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 HubVirtualNetworkConnection resource accepts the following input properties:

ResourceGroupName string

The resource group name of the HubVirtualNetworkConnection.

VirtualHubName string

The name of the VirtualHub.

AllowHubToRemoteVnetTransit bool

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

AllowRemoteVnetToUseHubVnetGateways bool

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

ConnectionName string

The name of the HubVirtualNetworkConnection.

EnableInternetSecurity bool

Enable internet security.

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.

RemoteVirtualNetwork Pulumi.AzureNative.Network.Inputs.SubResourceArgs

Reference to the remote virtual network.

RoutingConfiguration Pulumi.AzureNative.Network.Inputs.RoutingConfigurationArgs

The Routing Configuration indicating the associated and propagated route tables on this connection.

ResourceGroupName string

The resource group name of the HubVirtualNetworkConnection.

VirtualHubName string

The name of the VirtualHub.

AllowHubToRemoteVnetTransit bool

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

AllowRemoteVnetToUseHubVnetGateways bool

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

ConnectionName string

The name of the HubVirtualNetworkConnection.

EnableInternetSecurity bool

Enable internet security.

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.

RemoteVirtualNetwork SubResourceArgs

Reference to the remote virtual network.

RoutingConfiguration RoutingConfigurationArgs

The Routing Configuration indicating the associated and propagated route tables on this connection.

resourceGroupName String

The resource group name of the HubVirtualNetworkConnection.

virtualHubName String

The name of the VirtualHub.

allowHubToRemoteVnetTransit Boolean

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

allowRemoteVnetToUseHubVnetGateways Boolean

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

connectionName String

The name of the HubVirtualNetworkConnection.

enableInternetSecurity Boolean

Enable internet security.

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.

remoteVirtualNetwork SubResourceArgs

Reference to the remote virtual network.

routingConfiguration RoutingConfigurationArgs

The Routing Configuration indicating the associated and propagated route tables on this connection.

resourceGroupName string

The resource group name of the HubVirtualNetworkConnection.

virtualHubName string

The name of the VirtualHub.

allowHubToRemoteVnetTransit boolean

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

allowRemoteVnetToUseHubVnetGateways boolean

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

connectionName string

The name of the HubVirtualNetworkConnection.

enableInternetSecurity boolean

Enable internet security.

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.

remoteVirtualNetwork SubResourceArgs

Reference to the remote virtual network.

routingConfiguration RoutingConfigurationArgs

The Routing Configuration indicating the associated and propagated route tables on this connection.

resource_group_name str

The resource group name of the HubVirtualNetworkConnection.

virtual_hub_name str

The name of the VirtualHub.

allow_hub_to_remote_vnet_transit bool

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

allow_remote_vnet_to_use_hub_vnet_gateways bool

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

connection_name str

The name of the HubVirtualNetworkConnection.

enable_internet_security bool

Enable internet security.

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.

remote_virtual_network SubResourceArgs

Reference to the remote virtual network.

routing_configuration RoutingConfigurationArgs

The Routing Configuration indicating the associated and propagated route tables on this connection.

resourceGroupName String

The resource group name of the HubVirtualNetworkConnection.

virtualHubName String

The name of the VirtualHub.

allowHubToRemoteVnetTransit Boolean

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

allowRemoteVnetToUseHubVnetGateways Boolean

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

connectionName String

The name of the HubVirtualNetworkConnection.

enableInternetSecurity Boolean

Enable internet security.

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.

remoteVirtualNetwork Property Map

Reference to the remote virtual network.

routingConfiguration Property Map

The Routing Configuration indicating the associated and propagated route tables on this connection.

Outputs

All input properties are implicitly available as output properties. Additionally, the HubVirtualNetworkConnection resource produces the following output properties:

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.

ProvisioningState string

The provisioning state of the hub virtual network connection resource.

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.

ProvisioningState string

The provisioning state of the hub virtual network connection resource.

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.

provisioningState String

The provisioning state of the hub virtual network connection resource.

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.

provisioningState string

The provisioning state of the hub virtual network connection resource.

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.

provisioning_state str

The provisioning state of the hub virtual network connection resource.

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.

provisioningState String

The provisioning state of the hub virtual network connection resource.

Supporting Types

PropagatedRouteTable

Ids List<Pulumi.AzureNative.Network.Inputs.SubResource>

The list of resource ids of all the RouteTables.

Labels List<string>

The list of labels.

Ids []SubResource

The list of resource ids of all the RouteTables.

Labels []string

The list of labels.

ids List<SubResource>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

ids SubResource[]

The list of resource ids of all the RouteTables.

labels string[]

The list of labels.

ids Sequence[SubResource]

The list of resource ids of all the RouteTables.

labels Sequence[str]

The list of labels.

ids List<Property Map>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

PropagatedRouteTableResponse

Ids List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

The list of resource ids of all the RouteTables.

Labels List<string>

The list of labels.

Ids []SubResourceResponse

The list of resource ids of all the RouteTables.

Labels []string

The list of labels.

ids List<SubResourceResponse>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

ids SubResourceResponse[]

The list of resource ids of all the RouteTables.

labels string[]

The list of labels.

ids Sequence[SubResourceResponse]

The list of resource ids of all the RouteTables.

labels Sequence[str]

The list of labels.

ids List<Property Map>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

RoutingConfiguration

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResource

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTable

The list of RouteTables to advertise the routes to.

VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

AssociatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

VnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associated_route_table SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagated_route_tables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

vnet_routes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable Property Map

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables Property Map

The list of RouteTables to advertise the routes to.

vnetRoutes Property Map

List of routes that control routing from VirtualHub into a virtual network connection.

RoutingConfigurationResponse

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

AssociatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

VnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associated_route_table SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagated_route_tables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnet_routes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable Property Map

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables Property Map

The list of RouteTables to advertise the routes to.

vnetRoutes Property Map

List of routes that control routing from VirtualHub into a virtual network connection.

StaticRoute

AddressPrefixes List<string>

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

AddressPrefixes []string

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

addressPrefixes string[]

List of all address prefixes.

name string

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress string

The ip address of the next hop.

address_prefixes Sequence[str]

List of all address prefixes.

name str

The name of the StaticRoute that is unique within a VnetRoute.

next_hop_ip_address str

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

StaticRouteResponse

AddressPrefixes List<string>

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

AddressPrefixes []string

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

addressPrefixes string[]

List of all address prefixes.

name string

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress string

The ip address of the next hop.

address_prefixes Sequence[str]

List of all address prefixes.

name str

The name of the StaticRoute that is unique within a VnetRoute.

next_hop_ip_address str

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

SubResource

Id string

Resource Id.

Id string

Resource Id.

id String

Resource Id.

id string

Resource Id.

id str

Resource Id.

id String

Resource Id.

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.

VnetRoute

StaticRoutes []StaticRoute

List of all Static Routes.

staticRoutes List<StaticRoute>

List of all Static Routes.

staticRoutes StaticRoute[]

List of all Static Routes.

static_routes Sequence[StaticRoute]

List of all Static Routes.

staticRoutes List<Property Map>

List of all Static Routes.

VnetRouteResponse

StaticRoutes []StaticRouteResponse

List of all Static Routes.

staticRoutes List<StaticRouteResponse>

List of all Static Routes.

staticRoutes StaticRouteResponse[]

List of all Static Routes.

staticRoutes List<Property Map>

List of all Static Routes.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:HubVirtualNetworkConnection connection1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1 

Package Details

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