FluidRelayServerArgs

data class FluidRelayServerArgs(val encryption: Output<EncryptionPropertiesArgs>? = null, val fluidRelayServerName: Output<String>? = null, val identity: Output<IdentityArgs>? = null, val location: Output<String>? = null, val provisioningState: Output<Either<String, ProvisioningState>>? = null, val resourceGroup: Output<String>? = null, val storagesku: Output<Either<String, StorageSKU>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<FluidRelayServerArgs>

A FluidRelay Server. Uses Azure REST API version 2022-06-01. In version 2.x of the Azure Native provider, it used API version 2022-06-01.

Example Usage

Create a Fluid Relay server

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var fluidRelayServer = new AzureNative.FluidRelay.FluidRelayServer("fluidRelayServer", new()
{
FluidRelayServerName = "myFluidRelayServer",
Identity = new AzureNative.FluidRelay.Inputs.IdentityArgs
{
Type = AzureNative.FluidRelay.ResourceIdentityType.SystemAssigned,
},
Location = "west-us",
ResourceGroup = "myResourceGroup",
Storagesku = AzureNative.FluidRelay.StorageSKU.Basic,
Tags =
{
{ "Category", "sales" },
},
});
});
package main
import (
fluidrelay "github.com/pulumi/pulumi-azure-native-sdk/fluidrelay/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fluidrelay.NewFluidRelayServer(ctx, "fluidRelayServer", &fluidrelay.FluidRelayServerArgs{
FluidRelayServerName: pulumi.String("myFluidRelayServer"),
Identity: &fluidrelay.IdentityArgs{
Type: fluidrelay.ResourceIdentityTypeSystemAssigned,
},
Location: pulumi.String("west-us"),
ResourceGroup: pulumi.String("myResourceGroup"),
Storagesku: pulumi.String(fluidrelay.StorageSKUBasic),
Tags: pulumi.StringMap{
"Category": pulumi.String("sales"),
},
})
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.fluidrelay.FluidRelayServer;
import com.pulumi.azurenative.fluidrelay.FluidRelayServerArgs;
import com.pulumi.azurenative.fluidrelay.inputs.IdentityArgs;
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 fluidRelayServer = new FluidRelayServer("fluidRelayServer", FluidRelayServerArgs.builder()
.fluidRelayServerName("myFluidRelayServer")
.identity(IdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("west-us")
.resourceGroup("myResourceGroup")
.storagesku("basic")
.tags(Map.of("Category", "sales"))
.build());
}
}

Import

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

$ pulumi import azure-native:fluidrelay:FluidRelayServer myFluidRelayServer /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{fluidRelayServerName}

Constructors

Link copied to clipboard
constructor(encryption: Output<EncryptionPropertiesArgs>? = null, fluidRelayServerName: Output<String>? = null, identity: Output<IdentityArgs>? = null, location: Output<String>? = null, provisioningState: Output<Either<String, ProvisioningState>>? = null, resourceGroup: Output<String>? = null, storagesku: Output<Either<String, StorageSKU>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

All encryption configuration for a resource.

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

The Fluid Relay server resource name.

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The type of identity used for the resource.

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

The geo-location where the resource lives

Link copied to clipboard
val provisioningState: Output<Either<String, ProvisioningState>>? = null

Provision states for FluidRelay RP

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

The resource group containing the resource.

Link copied to clipboard
val storagesku: Output<Either<String, StorageSKU>>? = null

Sku of the storage associated with the resource

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

Resource tags.

Functions

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