ConnectionMonitorTest

The Connection Monitor Test class. API Version: 2021-06-01.

Example Usage

Create or Update Connection Monitor Test

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectionMonitorTest = new AzureNative.Peering.ConnectionMonitorTest("connectionMonitorTest", new()
{
ConnectionMonitorTestName = "connectionMonitorTestName",
Destination = "Example Destination",
DestinationPort = 443,
PeeringServiceName = "peeringServiceName",
ResourceGroupName = "rgName",
SourceAgent = "Example Source Agent",
TestFrequencyInSec = 30,
});
});
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.NewConnectionMonitorTest(ctx, "connectionMonitorTest", &peering.ConnectionMonitorTestArgs{
ConnectionMonitorTestName: pulumi.String("connectionMonitorTestName"),
Destination: pulumi.String("Example Destination"),
DestinationPort: pulumi.Int(443),
PeeringServiceName: pulumi.String("peeringServiceName"),
ResourceGroupName: pulumi.String("rgName"),
SourceAgent: pulumi.String("Example Source Agent"),
TestFrequencyInSec: pulumi.Int(30),
})
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.ConnectionMonitorTest;
import com.pulumi.azurenative.peering.ConnectionMonitorTestArgs;
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 connectionMonitorTest = new ConnectionMonitorTest("connectionMonitorTest", ConnectionMonitorTestArgs.builder()
.connectionMonitorTestName("connectionMonitorTestName")
.destination("Example Destination")
.destinationPort(443)
.peeringServiceName("peeringServiceName")
.resourceGroupName("rgName")
.sourceAgent("Example Source Agent")
.testFrequencyInSec(30)
.build());
}
}

Import

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

$ pulumi import azure-native:peering:ConnectionMonitorTest connectionMonitorTestName /subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/connectionMonitorTests/connectionMonitorTestName

Properties

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

The Connection Monitor test destination

Link copied to clipboard
val destinationPort: Output<Int>?

The Connection Monitor test destination port

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

The flag that indicates if the Connection Monitor test is successful or not.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard
val path: Output<List<String>>

The path representing the Connection Monitor test.

Link copied to clipboard

The provisioning state of the resource.

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

The Connection Monitor test source agent

Link copied to clipboard
val testFrequencyInSec: Output<Int>?

The Connection Monitor test frequency in seconds

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>