1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. RoutingRule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.network.RoutingRule

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Network routing rule.

Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2024-03-01.

Other available API versions: 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.

Example Usage

Create a default routing rule

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

return await Deployment.RunAsync(() => 
{
    var routingRule = new AzureNative.Network.RoutingRule("routingRule", new()
    {
        ConfigurationName = "myTestRoutingConfig",
        Description = "This is Sample Routing Rule",
        Destination = new AzureNative.Network.Inputs.RoutingRuleRouteDestinationArgs
        {
            DestinationAddress = "10.0.0.0/16",
            Type = AzureNative.Network.RoutingRuleDestinationType.AddressPrefix,
        },
        NetworkManagerName = "testNetworkManager",
        NextHop = new AzureNative.Network.Inputs.RoutingRuleNextHopArgs
        {
            NextHopType = AzureNative.Network.RoutingRuleNextHopType.VirtualNetworkGateway,
        },
        ResourceGroupName = "rg1",
        RuleCollectionName = "testRuleCollection",
        RuleName = "SampleRoutingRule",
    });

});
Copy
package main

import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewRoutingRule(ctx, "routingRule", &network.RoutingRuleArgs{
			ConfigurationName: pulumi.String("myTestRoutingConfig"),
			Description:       pulumi.String("This is Sample Routing Rule"),
			Destination: &network.RoutingRuleRouteDestinationArgs{
				DestinationAddress: pulumi.String("10.0.0.0/16"),
				Type:               pulumi.String(network.RoutingRuleDestinationTypeAddressPrefix),
			},
			NetworkManagerName: pulumi.String("testNetworkManager"),
			NextHop: &network.RoutingRuleNextHopArgs{
				NextHopType: pulumi.String(network.RoutingRuleNextHopTypeVirtualNetworkGateway),
			},
			ResourceGroupName:  pulumi.String("rg1"),
			RuleCollectionName: pulumi.String("testRuleCollection"),
			RuleName:           pulumi.String("SampleRoutingRule"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.RoutingRule;
import com.pulumi.azurenative.network.RoutingRuleArgs;
import com.pulumi.azurenative.network.inputs.RoutingRuleRouteDestinationArgs;
import com.pulumi.azurenative.network.inputs.RoutingRuleNextHopArgs;
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 routingRule = new RoutingRule("routingRule", RoutingRuleArgs.builder()
            .configurationName("myTestRoutingConfig")
            .description("This is Sample Routing Rule")
            .destination(RoutingRuleRouteDestinationArgs.builder()
                .destinationAddress("10.0.0.0/16")
                .type("AddressPrefix")
                .build())
            .networkManagerName("testNetworkManager")
            .nextHop(RoutingRuleNextHopArgs.builder()
                .nextHopType("VirtualNetworkGateway")
                .build())
            .resourceGroupName("rg1")
            .ruleCollectionName("testRuleCollection")
            .ruleName("SampleRoutingRule")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const routingRule = new azure_native.network.RoutingRule("routingRule", {
    configurationName: "myTestRoutingConfig",
    description: "This is Sample Routing Rule",
    destination: {
        destinationAddress: "10.0.0.0/16",
        type: azure_native.network.RoutingRuleDestinationType.AddressPrefix,
    },
    networkManagerName: "testNetworkManager",
    nextHop: {
        nextHopType: azure_native.network.RoutingRuleNextHopType.VirtualNetworkGateway,
    },
    resourceGroupName: "rg1",
    ruleCollectionName: "testRuleCollection",
    ruleName: "SampleRoutingRule",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

routing_rule = azure_native.network.RoutingRule("routingRule",
    configuration_name="myTestRoutingConfig",
    description="This is Sample Routing Rule",
    destination={
        "destination_address": "10.0.0.0/16",
        "type": azure_native.network.RoutingRuleDestinationType.ADDRESS_PREFIX,
    },
    network_manager_name="testNetworkManager",
    next_hop={
        "next_hop_type": azure_native.network.RoutingRuleNextHopType.VIRTUAL_NETWORK_GATEWAY,
    },
    resource_group_name="rg1",
    rule_collection_name="testRuleCollection",
    rule_name="SampleRoutingRule")
Copy
resources:
  routingRule:
    type: azure-native:network:RoutingRule
    properties:
      configurationName: myTestRoutingConfig
      description: This is Sample Routing Rule
      destination:
        destinationAddress: 10.0.0.0/16
        type: AddressPrefix
      networkManagerName: testNetworkManager
      nextHop:
        nextHopType: VirtualNetworkGateway
      resourceGroupName: rg1
      ruleCollectionName: testRuleCollection
      ruleName: SampleRoutingRule
Copy

Create RoutingRule Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new RoutingRule(name: string, args: RoutingRuleArgs, opts?: CustomResourceOptions);
@overload
def RoutingRule(resource_name: str,
                args: RoutingRuleArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def RoutingRule(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                configuration_name: Optional[str] = None,
                destination: Optional[RoutingRuleRouteDestinationArgs] = None,
                network_manager_name: Optional[str] = None,
                next_hop: Optional[RoutingRuleNextHopArgs] = None,
                resource_group_name: Optional[str] = None,
                rule_collection_name: Optional[str] = None,
                description: Optional[str] = None,
                rule_name: Optional[str] = None)
func NewRoutingRule(ctx *Context, name string, args RoutingRuleArgs, opts ...ResourceOption) (*RoutingRule, error)
public RoutingRule(string name, RoutingRuleArgs args, CustomResourceOptions? opts = null)
public RoutingRule(String name, RoutingRuleArgs args)
public RoutingRule(String name, RoutingRuleArgs args, CustomResourceOptions options)
type: azure-native:network:RoutingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RoutingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RoutingRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RoutingRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RoutingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RoutingRuleArgs
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 routingRuleResource = new AzureNative.Network.RoutingRule("routingRuleResource", new()
{
    ConfigurationName = "string",
    Destination = new AzureNative.Network.Inputs.RoutingRuleRouteDestinationArgs
    {
        DestinationAddress = "string",
        Type = "string",
    },
    NetworkManagerName = "string",
    NextHop = new AzureNative.Network.Inputs.RoutingRuleNextHopArgs
    {
        NextHopType = "string",
        NextHopAddress = "string",
    },
    ResourceGroupName = "string",
    RuleCollectionName = "string",
    Description = "string",
    RuleName = "string",
});
Copy
example, err := network.NewRoutingRule(ctx, "routingRuleResource", &network.RoutingRuleArgs{
	ConfigurationName: pulumi.String("string"),
	Destination: &network.RoutingRuleRouteDestinationArgs{
		DestinationAddress: pulumi.String("string"),
		Type:               pulumi.String("string"),
	},
	NetworkManagerName: pulumi.String("string"),
	NextHop: &network.RoutingRuleNextHopArgs{
		NextHopType:    pulumi.String("string"),
		NextHopAddress: pulumi.String("string"),
	},
	ResourceGroupName:  pulumi.String("string"),
	RuleCollectionName: pulumi.String("string"),
	Description:        pulumi.String("string"),
	RuleName:           pulumi.String("string"),
})
Copy
var routingRuleResource = new RoutingRule("routingRuleResource", RoutingRuleArgs.builder()
    .configurationName("string")
    .destination(RoutingRuleRouteDestinationArgs.builder()
        .destinationAddress("string")
        .type("string")
        .build())
    .networkManagerName("string")
    .nextHop(RoutingRuleNextHopArgs.builder()
        .nextHopType("string")
        .nextHopAddress("string")
        .build())
    .resourceGroupName("string")
    .ruleCollectionName("string")
    .description("string")
    .ruleName("string")
    .build());
Copy
routing_rule_resource = azure_native.network.RoutingRule("routingRuleResource",
    configuration_name="string",
    destination={
        "destination_address": "string",
        "type": "string",
    },
    network_manager_name="string",
    next_hop={
        "next_hop_type": "string",
        "next_hop_address": "string",
    },
    resource_group_name="string",
    rule_collection_name="string",
    description="string",
    rule_name="string")
Copy
const routingRuleResource = new azure_native.network.RoutingRule("routingRuleResource", {
    configurationName: "string",
    destination: {
        destinationAddress: "string",
        type: "string",
    },
    networkManagerName: "string",
    nextHop: {
        nextHopType: "string",
        nextHopAddress: "string",
    },
    resourceGroupName: "string",
    ruleCollectionName: "string",
    description: "string",
    ruleName: "string",
});
Copy
type: azure-native:network:RoutingRule
properties:
    configurationName: string
    description: string
    destination:
        destinationAddress: string
        type: string
    networkManagerName: string
    nextHop:
        nextHopAddress: string
        nextHopType: string
    resourceGroupName: string
    ruleCollectionName: string
    ruleName: string
Copy

RoutingRule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The RoutingRule resource accepts the following input properties:

ConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager Routing Configuration.
Destination This property is required. Pulumi.AzureNative.Network.Inputs.RoutingRuleRouteDestination
Indicates the destination for this particular rule.
NetworkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
NextHop This property is required. Pulumi.AzureNative.Network.Inputs.RoutingRuleNextHop
Indicates the next hop for this particular rule.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RuleCollectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager routing Configuration rule collection.
Description string
A description for this rule.
RuleName Changes to this property will trigger replacement. string
The name of the rule.
ConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager Routing Configuration.
Destination This property is required. RoutingRuleRouteDestinationArgs
Indicates the destination for this particular rule.
NetworkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
NextHop This property is required. RoutingRuleNextHopArgs
Indicates the next hop for this particular rule.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RuleCollectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager routing Configuration rule collection.
Description string
A description for this rule.
RuleName Changes to this property will trigger replacement. string
The name of the rule.
configurationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager Routing Configuration.
destination This property is required. RoutingRuleRouteDestination
Indicates the destination for this particular rule.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager.
nextHop This property is required. RoutingRuleNextHop
Indicates the next hop for this particular rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
ruleCollectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager routing Configuration rule collection.
description String
A description for this rule.
ruleName Changes to this property will trigger replacement. String
The name of the rule.
configurationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager Routing Configuration.
destination This property is required. RoutingRuleRouteDestination
Indicates the destination for this particular rule.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager.
nextHop This property is required. RoutingRuleNextHop
Indicates the next hop for this particular rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ruleCollectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network manager routing Configuration rule collection.
description string
A description for this rule.
ruleName Changes to this property will trigger replacement. string
The name of the rule.
configuration_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network manager Routing Configuration.
destination This property is required. RoutingRuleRouteDestinationArgs
Indicates the destination for this particular rule.
network_manager_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network manager.
next_hop This property is required. RoutingRuleNextHopArgs
Indicates the next hop for this particular rule.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
rule_collection_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network manager routing Configuration rule collection.
description str
A description for this rule.
rule_name Changes to this property will trigger replacement. str
The name of the rule.
configurationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager Routing Configuration.
destination This property is required. Property Map
Indicates the destination for this particular rule.
networkManagerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager.
nextHop This property is required. Property Map
Indicates the next hop for this particular rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
ruleCollectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network manager routing Configuration rule collection.
description String
A description for this rule.
ruleName Changes to this property will trigger replacement. String
The name of the rule.

Outputs

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

AzureApiVersion string
The Azure API version of the 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.
Name string
Resource name.
ProvisioningState string
The provisioning state of the resource.
ResourceGuid string
Unique identifier for this resource.
SystemData Pulumi.AzureNative.Network.Outputs.SystemDataResponse
The system metadata related to this resource.
Type string
Resource type.
AzureApiVersion string
The Azure API version of the 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.
Name string
Resource name.
ProvisioningState string
The provisioning state of the resource.
ResourceGuid string
Unique identifier for this resource.
SystemData SystemDataResponse
The system metadata related to this resource.
Type string
Resource type.
azureApiVersion String
The Azure API version of the 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.
name String
Resource name.
provisioningState String
The provisioning state of the resource.
resourceGuid String
Unique identifier for this resource.
systemData SystemDataResponse
The system metadata related to this resource.
type String
Resource type.
azureApiVersion string
The Azure API version of the 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.
name string
Resource name.
provisioningState string
The provisioning state of the resource.
resourceGuid string
Unique identifier for this resource.
systemData SystemDataResponse
The system metadata related to this resource.
type string
Resource type.
azure_api_version str
The Azure API version of the 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.
name str
Resource name.
provisioning_state str
The provisioning state of the resource.
resource_guid str
Unique identifier for this resource.
system_data SystemDataResponse
The system metadata related to this resource.
type str
Resource type.
azureApiVersion String
The Azure API version of the 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.
name String
Resource name.
provisioningState String
The provisioning state of the resource.
resourceGuid String
Unique identifier for this resource.
systemData Property Map
The system metadata related to this resource.
type String
Resource type.

Supporting Types

RoutingRuleDestinationType
, RoutingRuleDestinationTypeArgs

AddressPrefix
AddressPrefix
ServiceTag
ServiceTag
RoutingRuleDestinationTypeAddressPrefix
AddressPrefix
RoutingRuleDestinationTypeServiceTag
ServiceTag
AddressPrefix
AddressPrefix
ServiceTag
ServiceTag
AddressPrefix
AddressPrefix
ServiceTag
ServiceTag
ADDRESS_PREFIX
AddressPrefix
SERVICE_TAG
ServiceTag
"AddressPrefix"
AddressPrefix
"ServiceTag"
ServiceTag

RoutingRuleNextHop
, RoutingRuleNextHopArgs

NextHopType This property is required. string | Pulumi.AzureNative.Network.RoutingRuleNextHopType
Next hop type.
NextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
NextHopType This property is required. string | RoutingRuleNextHopType
Next hop type.
NextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. String | RoutingRuleNextHopType
Next hop type.
nextHopAddress String
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. string | RoutingRuleNextHopType
Next hop type.
nextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
next_hop_type This property is required. str | RoutingRuleNextHopType
Next hop type.
next_hop_address str
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. String | "Internet" | "NoNextHop" | "VirtualAppliance" | "VirtualNetworkGateway" | "VnetLocal"
Next hop type.
nextHopAddress String
Next hop address. Only required if the next hop type is VirtualAppliance.

RoutingRuleNextHopResponse
, RoutingRuleNextHopResponseArgs

NextHopType This property is required. string
Next hop type.
NextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
NextHopType This property is required. string
Next hop type.
NextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. String
Next hop type.
nextHopAddress String
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. string
Next hop type.
nextHopAddress string
Next hop address. Only required if the next hop type is VirtualAppliance.
next_hop_type This property is required. str
Next hop type.
next_hop_address str
Next hop address. Only required if the next hop type is VirtualAppliance.
nextHopType This property is required. String
Next hop type.
nextHopAddress String
Next hop address. Only required if the next hop type is VirtualAppliance.

RoutingRuleNextHopType
, RoutingRuleNextHopTypeArgs

Internet
Internet
NoNextHop
NoNextHop
VirtualAppliance
VirtualAppliance
VirtualNetworkGateway
VirtualNetworkGateway
VnetLocal
VnetLocal
RoutingRuleNextHopTypeInternet
Internet
RoutingRuleNextHopTypeNoNextHop
NoNextHop
RoutingRuleNextHopTypeVirtualAppliance
VirtualAppliance
RoutingRuleNextHopTypeVirtualNetworkGateway
VirtualNetworkGateway
RoutingRuleNextHopTypeVnetLocal
VnetLocal
Internet
Internet
NoNextHop
NoNextHop
VirtualAppliance
VirtualAppliance
VirtualNetworkGateway
VirtualNetworkGateway
VnetLocal
VnetLocal
Internet
Internet
NoNextHop
NoNextHop
VirtualAppliance
VirtualAppliance
VirtualNetworkGateway
VirtualNetworkGateway
VnetLocal
VnetLocal
INTERNET
Internet
NO_NEXT_HOP
NoNextHop
VIRTUAL_APPLIANCE
VirtualAppliance
VIRTUAL_NETWORK_GATEWAY
VirtualNetworkGateway
VNET_LOCAL
VnetLocal
"Internet"
Internet
"NoNextHop"
NoNextHop
"VirtualAppliance"
VirtualAppliance
"VirtualNetworkGateway"
VirtualNetworkGateway
"VnetLocal"
VnetLocal

RoutingRuleRouteDestination
, RoutingRuleRouteDestinationArgs

DestinationAddress This property is required. string
Destination address.
Type This property is required. string | Pulumi.AzureNative.Network.RoutingRuleDestinationType
Destination type.
DestinationAddress This property is required. string
Destination address.
Type This property is required. string | RoutingRuleDestinationType
Destination type.
destinationAddress This property is required. String
Destination address.
type This property is required. String | RoutingRuleDestinationType
Destination type.
destinationAddress This property is required. string
Destination address.
type This property is required. string | RoutingRuleDestinationType
Destination type.
destination_address This property is required. str
Destination address.
type This property is required. str | RoutingRuleDestinationType
Destination type.
destinationAddress This property is required. String
Destination address.
type This property is required. String | "AddressPrefix" | "ServiceTag"
Destination type.

RoutingRuleRouteDestinationResponse
, RoutingRuleRouteDestinationResponseArgs

DestinationAddress This property is required. string
Destination address.
Type This property is required. string
Destination type.
DestinationAddress This property is required. string
Destination address.
Type This property is required. string
Destination type.
destinationAddress This property is required. String
Destination address.
type This property is required. String
Destination type.
destinationAddress This property is required. string
Destination address.
type This property is required. string
Destination type.
destination_address This property is required. str
Destination address.
type This property is required. str
Destination type.
destinationAddress This property is required. String
Destination address.
type This property is required. String
Destination type.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:network:RoutingRule SampleRoutingRule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi