Ip Extended Community
The IpExtendedCommunity resource definition. Uses Azure REST API version 2023-02-01-preview. Other available API versions: 2023-06-15.
Example Usage
IpExtendedCommunities_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ipExtendedCommunity = new AzureNative.ManagedNetworkFabric.IpExtendedCommunity("ipExtendedCommunity", new()
{
Action = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Permit,
Annotation = "annotationValue",
IpExtendedCommunityName = "example_ipExtendedCommunity",
Location = "EastUs",
ResourceGroupName = "rgIpExtendedCommunityLists",
RouteTargets = new[]
{
"1234:5678",
},
Tags =
{
{ "key5054", "key" },
},
});
});
Content copied to clipboard
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.NewIpExtendedCommunity(ctx, "ipExtendedCommunity", &managednetworkfabric.IpExtendedCommunityArgs{
Action: pulumi.String(managednetworkfabric.CommunityActionTypesPermit),
Annotation: pulumi.String("annotationValue"),
IpExtendedCommunityName: pulumi.String("example_ipExtendedCommunity"),
Location: pulumi.String("EastUs"),
ResourceGroupName: pulumi.String("rgIpExtendedCommunityLists"),
RouteTargets: pulumi.StringArray{
pulumi.String("1234:5678"),
},
Tags: pulumi.StringMap{
"key5054": pulumi.String("key"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.managednetworkfabric.IpExtendedCommunity;
import com.pulumi.azurenative.managednetworkfabric.IpExtendedCommunityArgs;
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 ipExtendedCommunity = new IpExtendedCommunity("ipExtendedCommunity", IpExtendedCommunityArgs.builder()
.action("Permit")
.annotation("annotationValue")
.ipExtendedCommunityName("example_ipExtendedCommunity")
.location("EastUs")
.resourceGroupName("rgIpExtendedCommunityLists")
.routeTargets("1234:5678")
.tags(Map.of("key5054", "key"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:managednetworkfabric:IpExtendedCommunity example_ipExtendedCommunity /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}
Content copied to clipboard
Properties
Link copied to clipboard
Switch configuration description.
Link copied to clipboard
Gets the provisioning state of the resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Route Target List.The expected formats are ASN(plain):NN example 4294967294:50, ASN.ASN:NN example 65533.65333:40, IP-address:NN example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.