azure-native.managednetworkfabric.RoutePolicy
Explore with Pulumi AI
The RoutePolicy resource definition.
Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-02-01-preview.
Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native managednetworkfabric [ApiVersion]
. See the version guide for details.
Example Usage
RoutePolicies_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var routePolicy = new AzureNative.ManagedNetworkFabric.RoutePolicy("routePolicy", new()
{
AddressFamilyType = AzureNative.ManagedNetworkFabric.AddressFamilyType.IPv4,
Annotation = "annotation",
DefaultAction = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Deny,
Location = "eastus",
NetworkFabricId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
ResourceGroupName = "example-rg",
RoutePolicyName = "example-routePolicy",
Statements = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
{
Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
{
ActionType = AzureNative.ManagedNetworkFabric.RoutePolicyActionType.Permit,
IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
},
},
},
IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
},
},
},
LocalPreference = 20,
},
Annotation = "annotation",
Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
{
IpCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
},
IpExtendedCommunityIds = new[]
{
"/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
},
IpPrefixId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
Type = AzureNative.ManagedNetworkFabric.RoutePolicyConditionType.Or,
},
SequenceNumber = 7,
},
},
Tags =
{
{ "keyID", "keyValue" },
},
});
});
package main
import (
managednetworkfabric "github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicy", &managednetworkfabric.RoutePolicyArgs{
AddressFamilyType: pulumi.String(managednetworkfabric.AddressFamilyTypeIPv4),
Annotation: pulumi.String("annotation"),
DefaultAction: pulumi.String(managednetworkfabric.CommunityActionTypesDeny),
Location: pulumi.String("eastus"),
NetworkFabricId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric"),
ResourceGroupName: pulumi.String("example-rg"),
RoutePolicyName: pulumi.String("example-routePolicy"),
Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
Action: &managednetworkfabric.StatementActionPropertiesArgs{
ActionType: pulumi.String(managednetworkfabric.RoutePolicyActionTypePermit),
IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
Add: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
},
},
Delete: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
},
},
Set: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
},
},
},
IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
},
},
Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
},
},
Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
},
},
},
LocalPreference: pulumi.Float64(20),
},
Annotation: pulumi.String("annotation"),
Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
},
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
},
IpPrefixId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"),
Type: pulumi.String(managednetworkfabric.RoutePolicyConditionTypeOr),
},
SequenceNumber: pulumi.Float64(7),
},
},
Tags: pulumi.StringMap{
"keyID": pulumi.String("keyValue"),
},
})
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.managednetworkfabric.RoutePolicy;
import com.pulumi.azurenative.managednetworkfabric.RoutePolicyArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.RoutePolicyStatementPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.StatementActionPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.ActionIpCommunityPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.IpCommunityIdListArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.ActionIpExtendedCommunityPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.IpExtendedCommunityIdListArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.StatementConditionPropertiesArgs;
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 routePolicy = new RoutePolicy("routePolicy", RoutePolicyArgs.builder()
.addressFamilyType("IPv4")
.annotation("annotation")
.defaultAction("Deny")
.location("eastus")
.networkFabricId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
.resourceGroupName("example-rg")
.routePolicyName("example-routePolicy")
.statements(RoutePolicyStatementPropertiesArgs.builder()
.action(StatementActionPropertiesArgs.builder()
.actionType("Permit")
.ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
.add(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
.build())
.delete(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
.build())
.set(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
.build())
.build())
.ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
.add(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
.build())
.delete(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
.build())
.set(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
.build())
.build())
.localPreference(20.0)
.build())
.annotation("annotation")
.condition(StatementConditionPropertiesArgs.builder()
.ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
.ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
.ipPrefixId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
.type("Or")
.build())
.sequenceNumber(7.0)
.build())
.tags(Map.of("keyID", "keyValue"))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const routePolicy = new azure_native.managednetworkfabric.RoutePolicy("routePolicy", {
addressFamilyType: azure_native.managednetworkfabric.AddressFamilyType.IPv4,
annotation: "annotation",
defaultAction: azure_native.managednetworkfabric.CommunityActionTypes.Deny,
location: "eastus",
networkFabricId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
resourceGroupName: "example-rg",
routePolicyName: "example-routePolicy",
statements: [{
action: {
actionType: azure_native.managednetworkfabric.RoutePolicyActionType.Permit,
ipCommunityProperties: {
add: {
ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
"delete": {
ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
set: {
ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
},
ipExtendedCommunityProperties: {
add: {
ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
"delete": {
ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
set: {
ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
},
localPreference: 20,
},
annotation: "annotation",
condition: {
ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
ipPrefixId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
type: azure_native.managednetworkfabric.RoutePolicyConditionType.Or,
},
sequenceNumber: 7,
}],
tags: {
keyID: "keyValue",
},
});
import pulumi
import pulumi_azure_native as azure_native
route_policy = azure_native.managednetworkfabric.RoutePolicy("routePolicy",
address_family_type=azure_native.managednetworkfabric.AddressFamilyType.I_PV4,
annotation="annotation",
default_action=azure_native.managednetworkfabric.CommunityActionTypes.DENY,
location="eastus",
network_fabric_id="/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
resource_group_name="example-rg",
route_policy_name="example-routePolicy",
statements=[{
"action": {
"action_type": azure_native.managednetworkfabric.RoutePolicyActionType.PERMIT,
"ip_community_properties": {
"add": {
"ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
"delete": {
"ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
"set": {
"ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
},
},
"ip_extended_community_properties": {
"add": {
"ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
"delete": {
"ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
"set": {
"ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
},
},
"local_preference": 20,
},
"annotation": "annotation",
"condition": {
"ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
"ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
"ip_prefix_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
"type": azure_native.managednetworkfabric.RoutePolicyConditionType.OR_,
},
"sequence_number": 7,
}],
tags={
"keyID": "keyValue",
})
resources:
routePolicy:
type: azure-native:managednetworkfabric:RoutePolicy
properties:
addressFamilyType: IPv4
annotation: annotation
defaultAction: Deny
location: eastus
networkFabricId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric
resourceGroupName: example-rg
routePolicyName: example-routePolicy
statements:
- action:
actionType: Permit
ipCommunityProperties:
add:
ipCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
delete:
ipCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
set:
ipCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
ipExtendedCommunityProperties:
add:
ipExtendedCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
delete:
ipExtendedCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
set:
ipExtendedCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
localPreference: 20
annotation: annotation
condition:
ipCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
ipExtendedCommunityIds:
- /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
ipPrefixId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix
type: Or
sequenceNumber: 7
tags:
keyID: keyValue
Create RoutePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutePolicy(name: string, args: RoutePolicyArgs, opts?: CustomResourceOptions);
@overload
def RoutePolicy(resource_name: str,
args: RoutePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_fabric_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
statements: Optional[Sequence[RoutePolicyStatementPropertiesArgs]] = None,
address_family_type: Optional[Union[str, AddressFamilyType]] = None,
annotation: Optional[str] = None,
default_action: Optional[Union[str, CommunityActionTypes]] = None,
location: Optional[str] = None,
route_policy_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewRoutePolicy(ctx *Context, name string, args RoutePolicyArgs, opts ...ResourceOption) (*RoutePolicy, error)
public RoutePolicy(string name, RoutePolicyArgs args, CustomResourceOptions? opts = null)
public RoutePolicy(String name, RoutePolicyArgs args)
public RoutePolicy(String name, RoutePolicyArgs args, CustomResourceOptions options)
type: azure-native:managednetworkfabric:RoutePolicy
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 RoutePolicyArgs
- 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 RoutePolicyArgs
- 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 RoutePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutePolicyArgs
- 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 routePolicyResource = new AzureNative.ManagedNetworkFabric.RoutePolicy("routePolicyResource", new()
{
NetworkFabricId = "string",
ResourceGroupName = "string",
Statements = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
{
Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
{
ActionType = "string",
IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"string",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"string",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"string",
},
},
},
IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"string",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"string",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"string",
},
},
},
LocalPreference = 0,
},
Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
{
IpCommunityIds = new[]
{
"string",
},
IpExtendedCommunityIds = new[]
{
"string",
},
IpPrefixId = "string",
Type = "string",
},
SequenceNumber = 0,
Annotation = "string",
},
},
AddressFamilyType = "string",
Annotation = "string",
DefaultAction = "string",
Location = "string",
RoutePolicyName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicyResource", &managednetworkfabric.RoutePolicyArgs{
NetworkFabricId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
Action: &managednetworkfabric.StatementActionPropertiesArgs{
ActionType: pulumi.String("string"),
IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
Add: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Delete: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Set: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
LocalPreference: pulumi.Float64(0),
},
Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("string"),
},
IpPrefixId: pulumi.String("string"),
Type: pulumi.String("string"),
},
SequenceNumber: pulumi.Float64(0),
Annotation: pulumi.String("string"),
},
},
AddressFamilyType: pulumi.String("string"),
Annotation: pulumi.String("string"),
DefaultAction: pulumi.String("string"),
Location: pulumi.String("string"),
RoutePolicyName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var routePolicyResource = new RoutePolicy("routePolicyResource", RoutePolicyArgs.builder()
.networkFabricId("string")
.resourceGroupName("string")
.statements(RoutePolicyStatementPropertiesArgs.builder()
.action(StatementActionPropertiesArgs.builder()
.actionType("string")
.ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
.add(IpCommunityIdListArgs.builder()
.ipCommunityIds("string")
.build())
.delete(IpCommunityIdListArgs.builder()
.ipCommunityIds("string")
.build())
.set(IpCommunityIdListArgs.builder()
.ipCommunityIds("string")
.build())
.build())
.ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
.add(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("string")
.build())
.delete(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("string")
.build())
.set(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("string")
.build())
.build())
.localPreference(0)
.build())
.condition(StatementConditionPropertiesArgs.builder()
.ipCommunityIds("string")
.ipExtendedCommunityIds("string")
.ipPrefixId("string")
.type("string")
.build())
.sequenceNumber(0)
.annotation("string")
.build())
.addressFamilyType("string")
.annotation("string")
.defaultAction("string")
.location("string")
.routePolicyName("string")
.tags(Map.of("string", "string"))
.build());
route_policy_resource = azure_native.managednetworkfabric.RoutePolicy("routePolicyResource",
network_fabric_id="string",
resource_group_name="string",
statements=[{
"action": {
"action_type": "string",
"ip_community_properties": {
"add": {
"ip_community_ids": ["string"],
},
"delete": {
"ip_community_ids": ["string"],
},
"set": {
"ip_community_ids": ["string"],
},
},
"ip_extended_community_properties": {
"add": {
"ip_extended_community_ids": ["string"],
},
"delete": {
"ip_extended_community_ids": ["string"],
},
"set": {
"ip_extended_community_ids": ["string"],
},
},
"local_preference": 0,
},
"condition": {
"ip_community_ids": ["string"],
"ip_extended_community_ids": ["string"],
"ip_prefix_id": "string",
"type": "string",
},
"sequence_number": 0,
"annotation": "string",
}],
address_family_type="string",
annotation="string",
default_action="string",
location="string",
route_policy_name="string",
tags={
"string": "string",
})
const routePolicyResource = new azure_native.managednetworkfabric.RoutePolicy("routePolicyResource", {
networkFabricId: "string",
resourceGroupName: "string",
statements: [{
action: {
actionType: "string",
ipCommunityProperties: {
add: {
ipCommunityIds: ["string"],
},
"delete": {
ipCommunityIds: ["string"],
},
set: {
ipCommunityIds: ["string"],
},
},
ipExtendedCommunityProperties: {
add: {
ipExtendedCommunityIds: ["string"],
},
"delete": {
ipExtendedCommunityIds: ["string"],
},
set: {
ipExtendedCommunityIds: ["string"],
},
},
localPreference: 0,
},
condition: {
ipCommunityIds: ["string"],
ipExtendedCommunityIds: ["string"],
ipPrefixId: "string",
type: "string",
},
sequenceNumber: 0,
annotation: "string",
}],
addressFamilyType: "string",
annotation: "string",
defaultAction: "string",
location: "string",
routePolicyName: "string",
tags: {
string: "string",
},
});
type: azure-native:managednetworkfabric:RoutePolicy
properties:
addressFamilyType: string
annotation: string
defaultAction: string
location: string
networkFabricId: string
resourceGroupName: string
routePolicyName: string
statements:
- action:
actionType: string
ipCommunityProperties:
add:
ipCommunityIds:
- string
delete:
ipCommunityIds:
- string
set:
ipCommunityIds:
- string
ipExtendedCommunityProperties:
add:
ipExtendedCommunityIds:
- string
delete:
ipExtendedCommunityIds:
- string
set:
ipExtendedCommunityIds:
- string
localPreference: 0
annotation: string
condition:
ipCommunityIds:
- string
ipExtendedCommunityIds:
- string
ipPrefixId: string
type: string
sequenceNumber: 0
tags:
string: string
RoutePolicy 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 RoutePolicy resource accepts the following input properties:
- Network
Fabric stringId - Arm Resource ID of Network Fabric.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Statements
List<Pulumi.
Azure Native. Managed Network Fabric. Inputs. Route Policy Statement Properties> - Route Policy statements.
- Address
Family string | Pulumi.Type Azure Native. Managed Network Fabric. Address Family Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- Annotation string
- Switch configuration description.
- Default
Action string | Pulumi.Azure Native. Managed Network Fabric. Community Action Types - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Location string
- The geo-location where the resource lives
- Route
Policy stringName - Name of the Route Policy.
- Dictionary<string, string>
- Resource tags.
- Network
Fabric stringId - Arm Resource ID of Network Fabric.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Statements
[]Route
Policy Statement Properties Args - Route Policy statements.
- Address
Family string | AddressType Family Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- Annotation string
- Switch configuration description.
- Default
Action string | CommunityAction Types - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- Location string
- The geo-location where the resource lives
- Route
Policy stringName - Name of the Route Policy.
- map[string]string
- Resource tags.
- network
Fabric StringId - Arm Resource ID of Network Fabric.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- statements
List<Route
Policy Statement Properties> - Route Policy statements.
- address
Family String | AddressType Family Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation String
- Switch configuration description.
- default
Action String | CommunityAction Types - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- location String
- The geo-location where the resource lives
- route
Policy StringName - Name of the Route Policy.
- Map<String,String>
- Resource tags.
- network
Fabric stringId - Arm Resource ID of Network Fabric.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- statements
Route
Policy Statement Properties[] - Route Policy statements.
- address
Family string | AddressType Family Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation string
- Switch configuration description.
- default
Action string | CommunityAction Types - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- location string
- The geo-location where the resource lives
- route
Policy stringName - Name of the Route Policy.
- {[key: string]: string}
- Resource tags.
- network_
fabric_ strid - Arm Resource ID of Network Fabric.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- statements
Sequence[Route
Policy Statement Properties Args] - Route Policy statements.
- address_
family_ str | Addresstype Family Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation str
- Switch configuration description.
- default_
action str | CommunityAction Types - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- location str
- The geo-location where the resource lives
- route_
policy_ strname - Name of the Route Policy.
- Mapping[str, str]
- Resource tags.
- network
Fabric StringId - Arm Resource ID of Network Fabric.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- statements List<Property Map>
- Route Policy statements.
- address
Family String | "IPv4" | "IPv6"Type - AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- annotation String
- Switch configuration description.
- default
Action String | "Permit" | "Deny" - Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- location String
- The geo-location where the resource lives
- route
Policy StringName - Name of the Route Policy.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutePolicy resource produces the following output properties:
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrative
State string - Administrative state of the resource.
- azure
Api stringVersion - The Azure API version of the resource.
- configuration
State string - Configuration state of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrative_
state str - Administrative state of the resource.
- azure_
api_ strversion - The Azure API version of the resource.
- configuration_
state str - Configuration state of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ActionIpCommunityProperties, ActionIpCommunityPropertiesArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List - List of IP Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List - List of IP Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List - List of IP Community IDs.
- Add
Ip
Community Id List - List of IP Community IDs.
- Delete
Ip
Community Id List - List of IP Community IDs.
- Set
Ip
Community Id List - List of IP Community IDs.
- add
Ip
Community Id List - List of IP Community IDs.
- delete
Ip
Community Id List - List of IP Community IDs.
- set
Ip
Community Id List - List of IP Community IDs.
- add
Ip
Community Id List - List of IP Community IDs.
- delete
Ip
Community Id List - List of IP Community IDs.
- set
Ip
Community Id List - List of IP Community IDs.
- add
Ip
Community Id List - List of IP Community IDs.
- delete
Ip
Community Id List - List of IP Community IDs.
- set
Ip
Community Id List - List of IP Community IDs.
- add Property Map
- List of IP Community IDs.
- delete Property Map
- List of IP Community IDs.
- set Property Map
- List of IP Community IDs.
ActionIpCommunityPropertiesResponse, ActionIpCommunityPropertiesResponseArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - List of IP Community IDs.
- Add
Ip
Community Id List Response - List of IP Community IDs.
- Delete
Ip
Community Id List Response - List of IP Community IDs.
- Set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add
Ip
Community Id List Response - List of IP Community IDs.
- delete
Ip
Community Id List Response - List of IP Community IDs.
- set
Ip
Community Id List Response - List of IP Community IDs.
- add Property Map
- List of IP Community IDs.
- delete Property Map
- List of IP Community IDs.
- set Property Map
- List of IP Community IDs.
ActionIpExtendedCommunityProperties, ActionIpExtendedCommunityPropertiesArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - List of IP Extended Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - List of IP Extended Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - List of IP Extended Community IDs.
- Add
Ip
Extended Community Id List - List of IP Extended Community IDs.
- Delete
Ip
Extended Community Id List - List of IP Extended Community IDs.
- Set
Ip
Extended Community Id List - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List - List of IP Extended Community IDs.
- add Property Map
- List of IP Extended Community IDs.
- delete Property Map
- List of IP Extended Community IDs.
- set Property Map
- List of IP Extended Community IDs.
ActionIpExtendedCommunityPropertiesResponse, ActionIpExtendedCommunityPropertiesResponseArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - List of IP Extended Community IDs.
- Add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- Delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- Set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- delete
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- set
Ip
Extended Community Id List Response - List of IP Extended Community IDs.
- add Property Map
- List of IP Extended Community IDs.
- delete Property Map
- List of IP Extended Community IDs.
- set Property Map
- List of IP Extended Community IDs.
AddressFamilyType, AddressFamilyTypeArgs
- IPv4
- IPv4
- IPv6
- IPv6
- Address
Family Type IPv4 - IPv4
- Address
Family Type IPv6 - IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- I_PV4
- IPv4
- I_PV6
- IPv6
- "IPv4"
- IPv4
- "IPv6"
- IPv6
CommunityActionTypes, CommunityActionTypesArgs
- Permit
- Permit
- Deny
- Deny
- Community
Action Types Permit - Permit
- Community
Action Types Deny - Deny
- Permit
- Permit
- Deny
- Deny
- Permit
- Permit
- Deny
- Deny
- PERMIT
- Permit
- DENY
- Deny
- "Permit"
- Permit
- "Deny"
- Deny
IpCommunityIdList, IpCommunityIdListArgs
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Community []stringIds - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
IpCommunityIdListResponse, IpCommunityIdListResponseArgs
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Community []stringIds - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip
Community List<String>Ids - List of IP Community resource IDs.
IpExtendedCommunityIdList, IpExtendedCommunityIdListArgs
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
IpExtendedCommunityIdListResponse, IpExtendedCommunityIdListResponseArgs
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
RoutePolicyActionType, RoutePolicyActionTypeArgs
- Permit
- Permit
- Deny
- Deny
- Continue
- Continue
- Route
Policy Action Type Permit - Permit
- Route
Policy Action Type Deny - Deny
- Route
Policy Action Type Continue - Continue
- Permit
- Permit
- Deny
- Deny
- Continue
- Continue
- Permit
- Permit
- Deny
- Deny
- Continue
- Continue
- PERMIT
- Permit
- DENY
- Deny
- CONTINUE_
- Continue
- "Permit"
- Permit
- "Deny"
- Deny
- "Continue"
- Continue
RoutePolicyConditionType, RoutePolicyConditionTypeArgs
- Or
- Or
- And
- And
- Route
Policy Condition Type Or - Or
- Route
Policy Condition Type And - And
- Or
- Or
- And
- And
- Or
- Or
- And
- And
- OR_
- Or
- AND_
- And
- "Or"
- Or
- "And"
- And
RoutePolicyStatementProperties, RoutePolicyStatementPropertiesArgs
- Action
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Action Properties - Route policy action properties.
- Condition
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Condition Properties - Route policy condition properties.
- Sequence
Number double - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- Action
Statement
Action Properties - Route policy action properties.
- Condition
Statement
Condition Properties - Route policy condition properties.
- Sequence
Number float64 - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- action
Statement
Action Properties - Route policy action properties.
- condition
Statement
Condition Properties - Route policy condition properties.
- sequence
Number Double - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
- action
Statement
Action Properties - Route policy action properties.
- condition
Statement
Condition Properties - Route policy condition properties.
- sequence
Number number - Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
Statement
Action Properties - Route policy action properties.
- condition
Statement
Condition Properties - Route policy condition properties.
- sequence_
number float - Sequence to insert to/delete from existing route.
- annotation str
- Switch configuration description.
- action Property Map
- Route policy action properties.
- condition Property Map
- Route policy condition properties.
- sequence
Number Number - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
RoutePolicyStatementPropertiesResponse, RoutePolicyStatementPropertiesResponseArgs
- Action
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Action Properties Response - Route policy action properties.
- Condition
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Statement Condition Properties Response - Route policy condition properties.
- Sequence
Number double - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- Action
Statement
Action Properties Response - Route policy action properties.
- Condition
Statement
Condition Properties Response - Route policy condition properties.
- Sequence
Number float64 - Sequence to insert to/delete from existing route.
- Annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number Double - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence
Number number - Sequence to insert to/delete from existing route.
- annotation string
- Switch configuration description.
- action
Statement
Action Properties Response - Route policy action properties.
- condition
Statement
Condition Properties Response - Route policy condition properties.
- sequence_
number float - Sequence to insert to/delete from existing route.
- annotation str
- Switch configuration description.
- action Property Map
- Route policy action properties.
- condition Property Map
- Route policy condition properties.
- sequence
Number Number - Sequence to insert to/delete from existing route.
- annotation String
- Switch configuration description.
StatementActionProperties, StatementActionPropertiesArgs
- Action
Type string | Pulumi.Azure Native. Managed Network Fabric. Route Policy Action Type - Action type. Example: Permit | Deny | Continue.
- Ip
Community Pulumi.Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Community Properties - IP Community Properties.
- Ip
Extended Pulumi.Community Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Extended Community Properties - IP Extended Community Properties.
- Local
Preference double - Local Preference of the route policy.
- Action
Type string | RoutePolicy Action Type - Action type. Example: Permit | Deny | Continue.
- Ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- Ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- Local
Preference float64 - Local Preference of the route policy.
- action
Type String | RoutePolicy Action Type - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- local
Preference Double - Local Preference of the route policy.
- action
Type string | RoutePolicy Action Type - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- local
Preference number - Local Preference of the route policy.
- action_
type str | RoutePolicy Action Type - Action type. Example: Permit | Deny | Continue.
- ip_
community_ Actionproperties Ip Community Properties - IP Community Properties.
- ip_
extended_ Actioncommunity_ properties Ip Extended Community Properties - IP Extended Community Properties.
- local_
preference float - Local Preference of the route policy.
- action
Type String | "Permit" | "Deny" | "Continue" - Action type. Example: Permit | Deny | Continue.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - Local Preference of the route policy.
StatementActionPropertiesResponse, StatementActionPropertiesResponseArgs
- Action
Type string - Action type. Example: Permit | Deny | Continue.
- Ip
Community Pulumi.Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Community Properties Response - IP Community Properties.
- Ip
Extended Pulumi.Community Properties Azure Native. Managed Network Fabric. Inputs. Action Ip Extended Community Properties Response - IP Extended Community Properties.
- Local
Preference double - Local Preference of the route policy.
- Action
Type string - Action type. Example: Permit | Deny | Continue.
- Ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- Ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- Local
Preference float64 - Local Preference of the route policy.
- action
Type String - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local
Preference Double - Local Preference of the route policy.
- action
Type string - Action type. Example: Permit | Deny | Continue.
- ip
Community ActionProperties Ip Community Properties Response - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local
Preference number - Local Preference of the route policy.
- action_
type str - Action type. Example: Permit | Deny | Continue.
- ip_
community_ Actionproperties Ip Community Properties Response - IP Community Properties.
- ip_
extended_ Actioncommunity_ properties Ip Extended Community Properties Response - IP Extended Community Properties.
- local_
preference float - Local Preference of the route policy.
- action
Type String - Action type. Example: Permit | Deny | Continue.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - Local Preference of the route policy.
StatementConditionProperties, StatementConditionPropertiesArgs
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type
string | Pulumi.
Azure Native. Managed Network Fabric. Route Policy Condition Type - Type of the condition used.
- Ip
Community []stringIds - List of IP Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type
string | Route
Policy Condition Type - Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type
String | Route
Policy Condition Type - Type of the condition used.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix stringId - Arm Resource Id of IpPrefix.
- type
string | Route
Policy Condition Type - Type of the condition used.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip_
prefix_ strid - Arm Resource Id of IpPrefix.
- type
str | Route
Policy Condition Type - Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type String | "Or" | "And"
- Type of the condition used.
StatementConditionPropertiesResponse, StatementConditionPropertiesResponseArgs
- Ip
Community List<string>Ids - List of IP Community resource IDs.
- Ip
Extended List<string>Community Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type string
- Type of the condition used.
- Ip
Community []stringIds - List of IP Community resource IDs.
- Ip
Extended []stringCommunity Ids - List of IP Extended Community resource IDs.
- Ip
Prefix stringId - Arm Resource Id of IpPrefix.
- Type string
- Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type String
- Type of the condition used.
- ip
Community string[]Ids - List of IP Community resource IDs.
- ip
Extended string[]Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix stringId - Arm Resource Id of IpPrefix.
- type string
- Type of the condition used.
- ip_
community_ Sequence[str]ids - List of IP Community resource IDs.
- ip_
extended_ Sequence[str]community_ ids - List of IP Extended Community resource IDs.
- ip_
prefix_ strid - Arm Resource Id of IpPrefix.
- type str
- Type of the condition used.
- ip
Community List<String>Ids - List of IP Community resource IDs.
- ip
Extended List<String>Community Ids - List of IP Extended Community resource IDs.
- ip
Prefix StringId - Arm Resource Id of IpPrefix.
- type String
- Type of the condition used.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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:managednetworkfabric:RoutePolicy example-routePolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0