PeeringService

class PeeringService : KotlinCustomResource

Peering Service Uses Azure REST API version 2022-10-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01.

Example Usage

Create a peering service

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var peeringService = new AzureNative.Peering.PeeringService("peeringService", new()
{
Location = "eastus",
PeeringServiceLocation = "state1",
PeeringServiceName = "peeringServiceName",
PeeringServiceProvider = "serviceProvider1",
ProviderBackupPeeringLocation = "peeringLocation2",
ProviderPrimaryPeeringLocation = "peeringLocation1",
ResourceGroupName = "rgName",
});
});
package main
import (
peering "github.com/pulumi/pulumi-azure-native-sdk/peering/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := peering.NewPeeringService(ctx, "peeringService", &peering.PeeringServiceArgs{
Location: pulumi.String("eastus"),
PeeringServiceLocation: pulumi.String("state1"),
PeeringServiceName: pulumi.String("peeringServiceName"),
PeeringServiceProvider: pulumi.String("serviceProvider1"),
ProviderBackupPeeringLocation: pulumi.String("peeringLocation2"),
ProviderPrimaryPeeringLocation: pulumi.String("peeringLocation1"),
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.PeeringService;
import com.pulumi.azurenative.peering.PeeringServiceArgs;
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 peeringService = new PeeringService("peeringService", PeeringServiceArgs.builder()
.location("eastus")
.peeringServiceLocation("state1")
.peeringServiceName("peeringServiceName")
.peeringServiceProvider("serviceProvider1")
.providerBackupPeeringLocation("peeringLocation2")
.providerPrimaryPeeringLocation("peeringLocation1")
.resourceGroupName("rgName")
.build());
}
}

Import

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

$ pulumi import azure-native:peering:PeeringService peeringServiceName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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

The location of the resource.

Link copied to clipboard

The Log Analytics Workspace Properties

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

The location (state/province) of the customer.

Link copied to clipboard

The name of the service provider.

Link copied to clipboard

The backup peering (Microsoft/service provider) location to be used for customer traffic.

Link copied to clipboard

The primary peering (Microsoft/service provider) location to be used for customer traffic.

Link copied to clipboard

The 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

The SKU that defines the type of the peering service.

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

The resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>