IpExtendedCommunity

class IpExtendedCommunity : KotlinCustomResource

The IP Extended Community 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/#accessing-any-api-version-via-local-packages for details.

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()
{
Annotation = "annotation",
IpExtendedCommunityName = "example-ipExtendedCommunity",
IpExtendedCommunityRules = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityRuleArgs
{
Action = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Permit,
RouteTargets = new[]
{
"1234:2345",
},
SequenceNumber = 4155123341,
},
},
Location = "eastus",
ResourceGroupName = "example-rg",
Tags =
{
{ "keyID", "KeyValue" },
},
});
});
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{
Annotation: pulumi.String("annotation"),
IpExtendedCommunityName: pulumi.String("example-ipExtendedCommunity"),
IpExtendedCommunityRules: managednetworkfabric.IpExtendedCommunityRuleArray{
&managednetworkfabric.IpExtendedCommunityRuleArgs{
Action: pulumi.String(managednetworkfabric.CommunityActionTypesPermit),
RouteTargets: pulumi.StringArray{
pulumi.String("1234:2345"),
},
SequenceNumber: pulumi.Float64(4155123341),
},
},
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("example-rg"),
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.IpExtendedCommunity;
import com.pulumi.azurenative.managednetworkfabric.IpExtendedCommunityArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.IpExtendedCommunityRuleArgs;
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()
.annotation("annotation")
.ipExtendedCommunityName("example-ipExtendedCommunity")
.ipExtendedCommunityRules(IpExtendedCommunityRuleArgs.builder()
.action("Permit")
.routeTargets("1234:2345")
.sequenceNumber(4155123341)
.build())
.location("eastus")
.resourceGroupName("example-rg")
.tags(Map.of("keyID", "KeyValue"))
.build());
}
}

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}

Properties

Link copied to clipboard

Administrative state of the resource.

Link copied to clipboard
val annotation: Output<String>?

Switch configuration description.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Configuration state of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

List of IP Extended Community Rules.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>