RegisteredPrefix

The customer's prefix that is registered by the peering service provider. API Version: 2021-01-01.

Example Usage

Create or update a registered prefix for the peering

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var registeredPrefix = new AzureNative.Peering.RegisteredPrefix("registeredPrefix", new()
{
PeeringName = "peeringName",
Prefix = "10.22.20.0/24",
RegisteredPrefixName = "registeredPrefixName",
ResourceGroupName = "rgName",
});
});
package main
import (
peering "github.com/pulumi/pulumi-azure-native/sdk/go/azure/peering"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := peering.NewRegisteredPrefix(ctx, "registeredPrefix", &peering.RegisteredPrefixArgs{
PeeringName: pulumi.String("peeringName"),
Prefix: pulumi.String("10.22.20.0/24"),
RegisteredPrefixName: pulumi.String("registeredPrefixName"),
ResourceGroupName: pulumi.String("rgName"),
})
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.peering.RegisteredPrefix;
import com.pulumi.azurenative.peering.RegisteredPrefixArgs;
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 registeredPrefix = new RegisteredPrefix("registeredPrefix", RegisteredPrefixArgs.builder()
.peeringName("peeringName")
.prefix("10.22.20.0/24")
.registeredPrefixName("registeredPrefixName")
.resourceGroupName("rgName")
.build());
}
}

Import

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

$ pulumi import azure-native:peering:RegisteredPrefix registeredPrefixName /subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName/registeredPrefixes/registeredPrefixName

Properties

Link copied to clipboard
val errorMessage: Output<String>

The error message associated with the validation state, if any.

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

The name of the resource.

Link copied to clipboard

The peering service prefix key that is to be shared with the customer.

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

The customer's prefix from which traffic originates.

Link copied to clipboard

The prefix validation state.

Link copied to clipboard

The provisioning state of the resource.

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

The type of the resource.

Link copied to clipboard
val urn: Output<String>