Azure Classic

v5.25.0 published on Thursday, Nov 24, 2022 by Pulumi

Server

Manages a Fluid Relay Server.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleServer = new Azure.FluidRelay.Server("exampleServer", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/fluidrelay"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = fluidrelay.NewServer(ctx, "exampleServer", &fluidrelay.ServerArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.fluidrelay.Server;
import com.pulumi.azure.fluidrelay.ServerArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleServer = new Server("exampleServer", ServerArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_server = azure.fluidrelay.Server("exampleServer",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleServer = new azure.fluidrelay.Server("exampleServer", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleServer:
    type: azure:fluidrelay:Server
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}

Create Server Resource

new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
@overload
def Server(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           identity: Optional[ServerIdentityArgs] = None,
           location: Optional[str] = None,
           name: Optional[str] = None,
           resource_group_name: Optional[str] = None,
           storage_sku: Optional[str] = None,
           tags: Optional[Mapping[str, str]] = None)
@overload
def Server(resource_name: str,
           args: ServerArgs,
           opts: Optional[ResourceOptions] = None)
func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: azure:fluidrelay:Server
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ServerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ServerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Server Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Server resource accepts the following input properties:

ResourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Identity ServerIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

StorageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Fluid Relay Server.

ResourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Identity ServerIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

StorageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Fluid Relay Server.

resourceGroupName String

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

identity ServerIdentityArgs

An identity block as defined below.

location String

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name String

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

storageSku String

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Fluid Relay Server.

resourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

identity ServerIdentityArgs

An identity block as defined below.

location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

storageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Fluid Relay Server.

resource_group_name str

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

identity ServerIdentityArgs

An identity block as defined below.

location str

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name str

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

storage_sku str

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Fluid Relay Server.

resourceGroupName String

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

identity Property Map

An identity block as defined below.

location String

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name String

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

storageSku String

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Map<String>

A mapping of tags which should be assigned to the Fluid Relay Server.

Outputs

All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:

FrsTenantId string

The Fluid tenantId for this server.

Id string

The provider-assigned unique ID for this managed resource.

OrdererEndpoints List<string>

An array of the Fluid Relay Orderer endpoints.

PrimaryKey string

The primary key for this server.

SecondaryKey string

The secondary key for this server.

ServiceEndpoints List<string>

An array of service endpoints for this Fluid Relay Server.

StorageEndpoints List<string>

An array of storage endpoints for this Fluid Relay Server.

FrsTenantId string

The Fluid tenantId for this server.

Id string

The provider-assigned unique ID for this managed resource.

OrdererEndpoints []string

An array of the Fluid Relay Orderer endpoints.

PrimaryKey string

The primary key for this server.

SecondaryKey string

The secondary key for this server.

ServiceEndpoints []string

An array of service endpoints for this Fluid Relay Server.

StorageEndpoints []string

An array of storage endpoints for this Fluid Relay Server.

frsTenantId String

The Fluid tenantId for this server.

id String

The provider-assigned unique ID for this managed resource.

ordererEndpoints List<String>

An array of the Fluid Relay Orderer endpoints.

primaryKey String

The primary key for this server.

secondaryKey String

The secondary key for this server.

serviceEndpoints List<String>

An array of service endpoints for this Fluid Relay Server.

storageEndpoints List<String>

An array of storage endpoints for this Fluid Relay Server.

frsTenantId string

The Fluid tenantId for this server.

id string

The provider-assigned unique ID for this managed resource.

ordererEndpoints string[]

An array of the Fluid Relay Orderer endpoints.

primaryKey string

The primary key for this server.

secondaryKey string

The secondary key for this server.

serviceEndpoints string[]

An array of service endpoints for this Fluid Relay Server.

storageEndpoints string[]

An array of storage endpoints for this Fluid Relay Server.

frs_tenant_id str

The Fluid tenantId for this server.

id str

The provider-assigned unique ID for this managed resource.

orderer_endpoints Sequence[str]

An array of the Fluid Relay Orderer endpoints.

primary_key str

The primary key for this server.

secondary_key str

The secondary key for this server.

service_endpoints Sequence[str]

An array of service endpoints for this Fluid Relay Server.

storage_endpoints Sequence[str]

An array of storage endpoints for this Fluid Relay Server.

frsTenantId String

The Fluid tenantId for this server.

id String

The provider-assigned unique ID for this managed resource.

ordererEndpoints List<String>

An array of the Fluid Relay Orderer endpoints.

primaryKey String

The primary key for this server.

secondaryKey String

The secondary key for this server.

serviceEndpoints List<String>

An array of service endpoints for this Fluid Relay Server.

storageEndpoints List<String>

An array of storage endpoints for this Fluid Relay Server.

Look up Existing Server Resource

Get an existing Server resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ServerState, opts?: CustomResourceOptions): Server
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        frs_tenant_id: Optional[str] = None,
        identity: Optional[ServerIdentityArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        orderer_endpoints: Optional[Sequence[str]] = None,
        primary_key: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        secondary_key: Optional[str] = None,
        service_endpoints: Optional[Sequence[str]] = None,
        storage_endpoints: Optional[Sequence[str]] = None,
        storage_sku: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Server
func GetServer(ctx *Context, name string, id IDInput, state *ServerState, opts ...ResourceOption) (*Server, error)
public static Server Get(string name, Input<string> id, ServerState? state, CustomResourceOptions? opts = null)
public static Server get(String name, Output<String> id, ServerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
FrsTenantId string

The Fluid tenantId for this server.

Identity ServerIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

OrdererEndpoints List<string>

An array of the Fluid Relay Orderer endpoints.

PrimaryKey string

The primary key for this server.

ResourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

SecondaryKey string

The secondary key for this server.

ServiceEndpoints List<string>

An array of service endpoints for this Fluid Relay Server.

StorageEndpoints List<string>

An array of storage endpoints for this Fluid Relay Server.

StorageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Fluid Relay Server.

FrsTenantId string

The Fluid tenantId for this server.

Identity ServerIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

Name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

OrdererEndpoints []string

An array of the Fluid Relay Orderer endpoints.

PrimaryKey string

The primary key for this server.

ResourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

SecondaryKey string

The secondary key for this server.

ServiceEndpoints []string

An array of service endpoints for this Fluid Relay Server.

StorageEndpoints []string

An array of storage endpoints for this Fluid Relay Server.

StorageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Fluid Relay Server.

frsTenantId String

The Fluid tenantId for this server.

identity ServerIdentityArgs

An identity block as defined below.

location String

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name String

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

ordererEndpoints List<String>

An array of the Fluid Relay Orderer endpoints.

primaryKey String

The primary key for this server.

resourceGroupName String

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

secondaryKey String

The secondary key for this server.

serviceEndpoints List<String>

An array of service endpoints for this Fluid Relay Server.

storageEndpoints List<String>

An array of storage endpoints for this Fluid Relay Server.

storageSku String

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Fluid Relay Server.

frsTenantId string

The Fluid tenantId for this server.

identity ServerIdentityArgs

An identity block as defined below.

location string

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name string

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

ordererEndpoints string[]

An array of the Fluid Relay Orderer endpoints.

primaryKey string

The primary key for this server.

resourceGroupName string

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

secondaryKey string

The secondary key for this server.

serviceEndpoints string[]

An array of service endpoints for this Fluid Relay Server.

storageEndpoints string[]

An array of storage endpoints for this Fluid Relay Server.

storageSku string

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Fluid Relay Server.

frs_tenant_id str

The Fluid tenantId for this server.

identity ServerIdentityArgs

An identity block as defined below.

location str

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name str

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

orderer_endpoints Sequence[str]

An array of the Fluid Relay Orderer endpoints.

primary_key str

The primary key for this server.

resource_group_name str

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

secondary_key str

The secondary key for this server.

service_endpoints Sequence[str]

An array of service endpoints for this Fluid Relay Server.

storage_endpoints Sequence[str]

An array of storage endpoints for this Fluid Relay Server.

storage_sku str

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Fluid Relay Server.

frsTenantId String

The Fluid tenantId for this server.

identity Property Map

An identity block as defined below.

location String

The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

name String

The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created.

ordererEndpoints List<String>

An array of the Fluid Relay Orderer endpoints.

primaryKey String

The primary key for this server.

resourceGroupName String

The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created.

secondaryKey String

The secondary key for this server.

serviceEndpoints List<String>

An array of service endpoints for this Fluid Relay Server.

storageEndpoints List<String>

An array of storage endpoints for this Fluid Relay Server.

storageSku String

Sku of the storage associated with the resource, Possible values are standard and basic. Changing this forces a new Fluid Relay Server to be created.

tags Map<String>

A mapping of tags which should be assigned to the Fluid Relay Server.

Supporting Types

ServerIdentity

Type string

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

IdentityIds List<string>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

PrincipalId string

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

TenantId string

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

Type string

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

IdentityIds []string

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

PrincipalId string

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

TenantId string

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

type String

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

principalId String

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

tenantId String

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

type string

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

identityIds string[]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

principalId string

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

tenantId string

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

type str

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

identity_ids Sequence[str]

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

principal_id str

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

tenant_id str

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

type String

Specifies the type of Managed Service Identity that should be configured on this Fluid Relay Service. Possible values are SystemAssigned,UserAssigned and SystemAssigned, UserAssigned.

identityIds List<String>

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Fluid Relay Service.

principalId String

The Principal ID for the Service Principal associated with the Identity of this Fluid Relay Server.

tenantId String

The Tenant ID for the Service Principal associated with the Identity of this Fluid Relay Server.

Import

Fluid Relay Servers can be imported using the resource id, e.g.

 $ pulumi import azure:fluidrelay/server:Server example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.FluidRelay/fluidRelayServers/server1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.