WCFRelayArgs

data class WCFRelayArgs(val namespaceName: Output<String>? = null, val relayName: Output<String>? = null, val relayType: Output<Relaytype>? = null, val requiresClientAuthorization: Output<Boolean>? = null, val requiresTransportSecurity: Output<Boolean>? = null, val resourceGroupName: Output<String>? = null, val userMetadata: Output<String>? = null) : ConvertibleToJava<WCFRelayArgs>

Description of the WCF relay resource. Uses Azure REST API version 2021-11-01. In version 1.x of the Azure Native provider, it used API version 2017-04-01. Other available API versions: 2024-01-01.

Example Usage

RelayCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var wcfRelay = new AzureNative.Relay.WCFRelay("wcfRelay", new()
{
NamespaceName = "example-RelayNamespace-9953",
RelayName = "example-Relay-Wcf-1194",
RelayType = AzureNative.Relay.Relaytype.NetTcp,
RequiresClientAuthorization = true,
RequiresTransportSecurity = true,
ResourceGroupName = "resourcegroup",
});
});
package main
import (
relay "github.com/pulumi/pulumi-azure-native-sdk/relay/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := relay.NewWCFRelay(ctx, "wcfRelay", &relay.WCFRelayArgs{
NamespaceName: pulumi.String("example-RelayNamespace-9953"),
RelayName: pulumi.String("example-Relay-Wcf-1194"),
RelayType: relay.RelaytypeNetTcp,
RequiresClientAuthorization: pulumi.Bool(true),
RequiresTransportSecurity: pulumi.Bool(true),
ResourceGroupName: pulumi.String("resourcegroup"),
})
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.relay.WCFRelay;
import com.pulumi.azurenative.relay.WCFRelayArgs;
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 wcfRelay = new WCFRelay("wcfRelay", WCFRelayArgs.builder()
.namespaceName("example-RelayNamespace-9953")
.relayName("example-Relay-Wcf-1194")
.relayType("NetTcp")
.requiresClientAuthorization(true)
.requiresTransportSecurity(true)
.resourceGroupName("resourcegroup")
.build());
}
}

Import

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

$ pulumi import azure-native:relay:WCFRelay example-Relay-Wcf-1194 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}

Constructors

Link copied to clipboard
constructor(namespaceName: Output<String>? = null, relayName: Output<String>? = null, relayType: Output<Relaytype>? = null, requiresClientAuthorization: Output<Boolean>? = null, requiresTransportSecurity: Output<Boolean>? = null, resourceGroupName: Output<String>? = null, userMetadata: Output<String>? = null)

Properties

Link copied to clipboard
val namespaceName: Output<String>? = null

The namespace name

Link copied to clipboard
val relayName: Output<String>? = null

The relay name.

Link copied to clipboard
val relayType: Output<Relaytype>? = null

WCF relay type.

Link copied to clipboard

Returns true if client authorization is needed for this relay; otherwise, false.

Link copied to clipboard
val requiresTransportSecurity: Output<Boolean>? = null

Returns true if transport security is needed for this relay; otherwise, false.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the Resource group within the Azure subscription.

Link copied to clipboard
val userMetadata: Output<String>? = null

The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.

Functions

Link copied to clipboard
open override fun toJava(): WCFRelayArgs