azure-native.managednetworkfabric.RoutePolicy
Explore with Pulumi AI
The RoutePolicy resource definition. Azure REST API version: 2023-02-01-preview. Prior API version in Azure Native 1.x: 2023-02-01-preview.
Other available API versions: 2023-06-15.
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()
{
Annotation = "annotationValue",
Location = "EastUS",
ResourceGroupName = "rgRoutePolicies",
RoutePolicyName = "routePolicyName",
Statements = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
{
Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
{
ActionType = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Permit,
IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
{
IpCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
},
},
},
IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
{
Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
},
},
Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
},
},
Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
{
IpExtendedCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
},
},
},
LocalPreference = 20,
},
Annotation = "annotationValue",
Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
{
IpCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
},
IpExtendedCommunityIds = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
},
IpPrefixId = "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
},
SequenceNumber = 7,
},
},
Tags =
{
{ "key8254", "" },
},
});
});
package main
import (
managednetworkfabric "github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicy", &managednetworkfabric.RoutePolicyArgs{
Annotation: pulumi.String("annotationValue"),
Location: pulumi.String("EastUS"),
ResourceGroupName: pulumi.String("rgRoutePolicies"),
RoutePolicyName: pulumi.String("routePolicyName"),
Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
Action: &managednetworkfabric.StatementActionPropertiesArgs{
ActionType: pulumi.String(managednetworkfabric.CommunityActionTypesPermit),
IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
Add: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
},
},
Delete: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
},
},
Set: &managednetworkfabric.IpCommunityIdListArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
},
},
},
IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
},
},
Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
},
},
Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
},
},
},
LocalPreference: pulumi.Float64(20),
},
Annotation: pulumi.String("annotationValue"),
Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
IpCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
},
IpExtendedCommunityIds: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
},
IpPrefixId: pulumi.String("subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"),
},
SequenceNumber: pulumi.Float64(7),
},
},
Tags: pulumi.StringMap{
"key8254": pulumi.String(""),
},
})
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()
.annotation("annotationValue")
.location("EastUS")
.resourceGroupName("rgRoutePolicies")
.routePolicyName("routePolicyName")
.statements(RoutePolicyStatementPropertiesArgs.builder()
.action(StatementActionPropertiesArgs.builder()
.actionType("Permit")
.ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
.add(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
.build())
.delete(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
.build())
.set(IpCommunityIdListArgs.builder()
.ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
.build())
.build())
.ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
.add(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
.build())
.delete(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
.build())
.set(IpExtendedCommunityIdListArgs.builder()
.ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
.build())
.build())
.localPreference(20)
.build())
.annotation("annotationValue")
.condition(StatementConditionPropertiesArgs.builder()
.ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
.ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
.ipPrefixId("subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
.build())
.sequenceNumber(7)
.build())
.tags(Map.of("key8254", ""))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
route_policy = azure_native.managednetworkfabric.RoutePolicy("routePolicy",
annotation="annotationValue",
location="EastUS",
resource_group_name="rgRoutePolicies",
route_policy_name="routePolicyName",
statements=[{
"action": {
"action_type": azure_native.managednetworkfabric.CommunityActionTypes.PERMIT,
"ip_community_properties": {
"add": {
"ip_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
"delete": {
"ip_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
"set": {
"ip_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
},
"ip_extended_community_properties": {
"add": {
"ip_extended_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
"delete": {
"ip_extended_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
"set": {
"ip_extended_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
},
"local_preference": 20,
},
"annotation": "annotationValue",
"condition": {
"ip_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
"ip_extended_community_ids": ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
"ip_prefix_id": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
},
"sequence_number": 7,
}],
tags={
"key8254": "",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const routePolicy = new azure_native.managednetworkfabric.RoutePolicy("routePolicy", {
annotation: "annotationValue",
location: "EastUS",
resourceGroupName: "rgRoutePolicies",
routePolicyName: "routePolicyName",
statements: [{
action: {
actionType: azure_native.managednetworkfabric.CommunityActionTypes.Permit,
ipCommunityProperties: {
add: {
ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
"delete": {
ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
set: {
ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
},
},
ipExtendedCommunityProperties: {
add: {
ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
"delete": {
ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
set: {
ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
},
},
localPreference: 20,
},
annotation: "annotationValue",
condition: {
ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
ipPrefixId: "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
},
sequenceNumber: 7,
}],
tags: {
key8254: "",
},
});
resources:
routePolicy:
type: azure-native:managednetworkfabric:RoutePolicy
properties:
annotation: annotationValue
location: EastUS
resourceGroupName: rgRoutePolicies
routePolicyName: routePolicyName
statements:
- action:
actionType: Permit
ipCommunityProperties:
add:
ipCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
delete:
ipCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
set:
ipCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
ipExtendedCommunityProperties:
add:
ipExtendedCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
delete:
ipExtendedCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
set:
ipExtendedCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
localPreference: 20
annotation: annotationValue
condition:
ipCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
ipExtendedCommunityIds:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
ipPrefixId: subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix
sequenceNumber: 7
tags:
key8254:
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,
resource_group_name: Optional[str] = None,
statements: Optional[Sequence[RoutePolicyStatementPropertiesArgs]] = None,
annotation: Optional[str] = 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()
{
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",
},
SequenceNumber = 0,
Annotation = "string",
},
},
Annotation = "string",
Location = "string",
RoutePolicyName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicyResource", &managednetworkfabric.RoutePolicyArgs{
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"),
},
SequenceNumber: pulumi.Float64(0),
Annotation: pulumi.String("string"),
},
},
Annotation: 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()
.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")
.build())
.sequenceNumber(0)
.annotation("string")
.build())
.annotation("string")
.location("string")
.routePolicyName("string")
.tags(Map.of("string", "string"))
.build());
route_policy_resource = azure_native.managednetworkfabric.RoutePolicy("routePolicyResource",
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",
},
"sequence_number": 0,
"annotation": "string",
}],
annotation="string",
location="string",
route_policy_name="string",
tags={
"string": "string",
})
const routePolicyResource = new azure_native.managednetworkfabric.RoutePolicy("routePolicyResource", {
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",
},
sequenceNumber: 0,
annotation: "string",
}],
annotation: "string",
location: "string",
routePolicyName: "string",
tags: {
string: "string",
},
});
type: azure-native:managednetworkfabric:RoutePolicy
properties:
annotation: string
location: 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
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:
- 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.
- Annotation string
- Switch configuration description.
- Location string
- The geo-location where the resource lives
- Route
Policy stringName - Name of the Route Policy
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Statements
[]Route
Policy Statement Properties Args - Route Policy statements.
- Annotation string
- Switch configuration description.
- Location string
- The geo-location where the resource lives
- Route
Policy stringName - Name of the Route Policy
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- statements
List<Route
Policy Statement Properties> - Route Policy statements.
- annotation String
- Switch configuration description.
- location String
- The geo-location where the resource lives
- route
Policy StringName - Name of the Route Policy
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- statements
Route
Policy Statement Properties[] - Route Policy statements.
- annotation string
- Switch configuration description.
- location string
- The geo-location where the resource lives
- route
Policy stringName - Name of the Route Policy
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- statements
Sequence[Route
Policy Statement Properties Args] - Route Policy statements.
- annotation str
- Switch configuration description.
- location str
- The geo-location where the resource lives
- route_
policy_ strname - Name of the Route Policy
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- statements List<Property Map>
- Route Policy statements.
- annotation String
- Switch configuration description.
- 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Gets the 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"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Gets the 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"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Gets the 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Gets the 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 - IP Community ID list properties.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List - IP Community ID list properties.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List - IP Community ID list properties.
- Add
Ip
Community Id List - IP Community ID list properties.
- Delete
Ip
Community Id List - IP Community ID list properties.
- Set
Ip
Community Id List - IP Community ID list properties.
- add
Ip
Community Id List - IP Community ID list properties.
- delete
Ip
Community Id List - IP Community ID list properties.
- set
Ip
Community Id List - IP Community ID list properties.
- add
Ip
Community Id List - IP Community ID list properties.
- delete
Ip
Community Id List - IP Community ID list properties.
- set
Ip
Community Id List - IP Community ID list properties.
- add
Ip
Community Id List - IP Community ID list properties.
- delete
Ip
Community Id List - IP Community ID list properties.
- set
Ip
Community Id List - IP Community ID list properties.
- add Property Map
- IP Community ID list properties.
- delete Property Map
- IP Community ID list properties.
- set Property Map
- IP Community ID list properties.
ActionIpCommunityPropertiesResponse, ActionIpCommunityPropertiesResponseArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - IP Community ID list properties.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - IP Community ID list properties.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Community Id List Response - IP Community ID list properties.
- Add
Ip
Community Id List Response - IP Community ID list properties.
- Delete
Ip
Community Id List Response - IP Community ID list properties.
- Set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community Id List Response - IP Community ID list properties.
- add
Ip
Community Id List Response - IP Community ID list properties.
- delete
Ip
Community Id List Response - IP Community ID list properties.
- set
Ip
Community Id List Response - IP Community ID list properties.
- add Property Map
- IP Community ID list properties.
- delete Property Map
- IP Community ID list properties.
- set Property Map
- IP Community ID list properties.
ActionIpExtendedCommunityProperties, ActionIpExtendedCommunityPropertiesArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - IP Extended Community Id list properties.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - IP Extended Community Id list properties.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List - IP Extended Community Id list properties.
- Add
Ip
Extended Community Id List - IP Extended Community Id list properties.
- Delete
Ip
Extended Community Id List - IP Extended Community Id list properties.
- Set
Ip
Extended Community Id List - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List - IP Extended Community Id list properties.
- add Property Map
- IP Extended Community Id list properties.
- delete Property Map
- IP Extended Community Id list properties.
- set Property Map
- IP Extended Community Id list properties.
ActionIpExtendedCommunityPropertiesResponse, ActionIpExtendedCommunityPropertiesResponseArgs
- Add
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - IP Extended Community Id list properties.
- Delete
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - IP Extended Community Id list properties.
- Set
Pulumi.
Azure Native. Managed Network Fabric. Inputs. Ip Extended Community Id List Response - IP Extended Community Id list properties.
- Add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- Delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- Set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- delete
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- set
Ip
Extended Community Id List Response - IP Extended Community Id list properties.
- add Property Map
- IP Extended Community Id list properties.
- delete Property Map
- IP Extended Community Id list properties.
- set Property Map
- IP Extended Community Id list properties.
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.
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. Community Action Types - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- Action
Type string | CommunityAction Types - action. Example: Permit | Deny.
- Ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- Ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- Local
Preference float64 - localPreference of the route policy.
- action
Type String | CommunityAction Types - action. Example: Permit | Deny.
- ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- local
Preference Double - localPreference of the route policy.
- action
Type string | CommunityAction Types - action. Example: Permit | Deny.
- ip
Community ActionProperties Ip Community Properties - IP Community Properties.
- ip
Extended ActionCommunity Properties Ip Extended Community Properties - IP Extended Community Properties.
- local
Preference number - localPreference of the route policy.
- action_
type str | CommunityAction Types - action. Example: Permit | Deny.
- ip_
community_ Actionproperties Ip Community Properties - IP Community Properties.
- ip_
extended_ Actioncommunity_ properties Ip Extended Community Properties - IP Extended Community Properties.
- local_
preference float - localPreference of the route policy.
- action
Type String | "Permit" | "Deny" - action. Example: Permit | Deny.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - localPreference of the route policy.
StatementActionPropertiesResponse, StatementActionPropertiesResponseArgs
- Action
Type string - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- Action
Type string - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- action
Type String - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- action
Type string - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- action_
type str - action. Example: Permit | Deny.
- 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 - localPreference of the route policy.
- action
Type String - action. Example: Permit | Deny.
- ip
Community Property MapProperties - IP Community Properties.
- ip
Extended Property MapCommunity Properties - IP Extended Community Properties.
- local
Preference Number - localPreference 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
- 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.
- 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.
- 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.
- 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.
- 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.
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 routePolicyName /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