azure-native.fluidrelay.FluidRelayServer
Explore with Pulumi AI
A FluidRelay Server. API Version: 2021-03-12-preview.
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()
{
Location = "west-us",
Name = "myFluidRelayServer",
ResourceGroup = "myResourceGroup",
Tags =
{
{ "Category", "sales" },
},
});
});
package main
import (
fluidrelay "github.com/pulumi/pulumi-azure-native-sdk/fluidrelay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fluidrelay.NewFluidRelayServer(ctx, "fluidRelayServer", &fluidrelay.FluidRelayServerArgs{
Location: pulumi.String("west-us"),
Name: pulumi.String("myFluidRelayServer"),
ResourceGroup: pulumi.String("myResourceGroup"),
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 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()
.location("west-us")
.name("myFluidRelayServer")
.resourceGroup("myResourceGroup")
.tags(Map.of("Category", "sales"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
fluid_relay_server = azure_native.fluidrelay.FluidRelayServer("fluidRelayServer",
location="west-us",
name="myFluidRelayServer",
resource_group="myResourceGroup",
tags={
"Category": "sales",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const fluidRelayServer = new azure_native.fluidrelay.FluidRelayServer("fluidRelayServer", {
location: "west-us",
name: "myFluidRelayServer",
resourceGroup: "myResourceGroup",
tags: {
Category: "sales",
},
});
resources:
fluidRelayServer:
type: azure-native:fluidrelay:FluidRelayServer
properties:
location: west-us
name: myFluidRelayServer
resourceGroup: myResourceGroup
tags:
Category: sales
Create FluidRelayServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FluidRelayServer(name: string, args: FluidRelayServerArgs, opts?: CustomResourceOptions);
@overload
def FluidRelayServer(resource_name: str,
args: FluidRelayServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FluidRelayServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
provisioning_state: Optional[Union[str, ProvisioningState]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewFluidRelayServer(ctx *Context, name string, args FluidRelayServerArgs, opts ...ResourceOption) (*FluidRelayServer, error)
public FluidRelayServer(string name, FluidRelayServerArgs args, CustomResourceOptions? opts = null)
public FluidRelayServer(String name, FluidRelayServerArgs args)
public FluidRelayServer(String name, FluidRelayServerArgs args, CustomResourceOptions options)
type: azure-native:fluidrelay:FluidRelayServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FluidRelayServerArgs
- 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 FluidRelayServerArgs
- 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 FluidRelayServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FluidRelayServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FluidRelayServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fluidRelayServerResource = new AzureNative.Fluidrelay.FluidRelayServer("fluidRelayServerResource", new()
{
ResourceGroup = "string",
Location = "string",
Name = "string",
ProvisioningState = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := fluidrelay.NewFluidRelayServer(ctx, "fluidRelayServerResource", &fluidrelay.FluidRelayServerArgs{
ResourceGroup: "string",
Location: "string",
Name: "string",
ProvisioningState: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var fluidRelayServerResource = new FluidRelayServer("fluidRelayServerResource", FluidRelayServerArgs.builder()
.resourceGroup("string")
.location("string")
.name("string")
.provisioningState("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
fluid_relay_server_resource = azure_native.fluidrelay.FluidRelayServer("fluidRelayServerResource",
resource_group=string,
location=string,
name=string,
provisioning_state=string,
tags={
string: string,
})
const fluidRelayServerResource = new azure_native.fluidrelay.FluidRelayServer("fluidRelayServerResource", {
resourceGroup: "string",
location: "string",
name: "string",
provisioningState: "string",
tags: {
string: "string",
},
});
type: azure-native:fluidrelay:FluidRelayServer
properties:
location: string
name: string
provisioningState: string
resourceGroup: string
tags:
string: string
FluidRelayServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FluidRelayServer resource accepts the following input properties:
- Resource
Group string - The resource group containing the resource.
- Location string
- The geo-location where the resource lives
- Name string
- The resource name.
- Provisioning
State string | Pulumi.Azure Native. Fluid Relay. Provisioning State - Provision states for FluidRelay RP
- Dictionary<string, string>
- Resource tags.
- Resource
Group string - The resource group containing the resource.
- Location string
- The geo-location where the resource lives
- Name string
- The resource name.
- Provisioning
State string | ProvisioningState - Provision states for FluidRelay RP
- map[string]string
- Resource tags.
- resource
Group String - The resource group containing the resource.
- location String
- The geo-location where the resource lives
- name String
- The resource name.
- provisioning
State String | ProvisioningState - Provision states for FluidRelay RP
- Map<String,String>
- Resource tags.
- resource
Group string - The resource group containing the resource.
- location string
- The geo-location where the resource lives
- name string
- The resource name.
- provisioning
State string | ProvisioningState - Provision states for FluidRelay RP
- {[key: string]: string}
- Resource tags.
- resource_
group str - The resource group containing the resource.
- location str
- The geo-location where the resource lives
- name str
- The resource name.
- provisioning_
state str | ProvisioningState - Provision states for FluidRelay RP
- Mapping[str, str]
- Resource tags.
- resource
Group String - The resource group containing the resource.
- location String
- The geo-location where the resource lives
- name String
- The resource name.
- provisioning
State String | "Succeeded" | "Failed" | "Canceled" - Provision states for FluidRelay RP
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the FluidRelayServer resource produces the following output properties:
- Fluid
Relay Pulumi.Endpoints Azure Native. Fluid Relay. Outputs. Fluid Relay Endpoints Response - The Fluid Relay Service endpoints for this server.
- Frs
Tenant stringId - The Fluid tenantId for this server
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Fluid Relay. Outputs. System Data Response - System meta data for this resource, including creation and modification information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Fluid
Relay FluidEndpoints Relay Endpoints Response - The Fluid Relay Service endpoints for this server.
- Frs
Tenant stringId - The Fluid tenantId for this server
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - System meta data for this resource, including creation and modification information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- fluid
Relay FluidEndpoints Relay Endpoints Response - The Fluid Relay Service endpoints for this server.
- frs
Tenant StringId - The Fluid tenantId for this server
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - System meta data for this resource, including creation and modification information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- fluid
Relay FluidEndpoints Relay Endpoints Response - The Fluid Relay Service endpoints for this server.
- frs
Tenant stringId - The Fluid tenantId for this server
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - System meta data for this resource, including creation and modification information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- fluid_
relay_ Fluidendpoints Relay Endpoints Response - The Fluid Relay Service endpoints for this server.
- frs_
tenant_ strid - The Fluid tenantId for this server
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - System meta data for this resource, including creation and modification information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- fluid
Relay Property MapEndpoints - The Fluid Relay Service endpoints for this server.
- frs
Tenant StringId - The Fluid tenantId for this server
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - System meta data for this resource, including creation and modification information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
FluidRelayEndpointsResponse, FluidRelayEndpointsResponseArgs
- Orderer
Endpoints List<string> - The Fluid Relay Orderer endpoints.
- Storage
Endpoints List<string> - The Fluid Relay storage endpoints.
- Orderer
Endpoints []string - The Fluid Relay Orderer endpoints.
- Storage
Endpoints []string - The Fluid Relay storage endpoints.
- orderer
Endpoints List<String> - The Fluid Relay Orderer endpoints.
- storage
Endpoints List<String> - The Fluid Relay storage endpoints.
- orderer
Endpoints string[] - The Fluid Relay Orderer endpoints.
- storage
Endpoints string[] - The Fluid Relay storage endpoints.
- orderer_
endpoints Sequence[str] - The Fluid Relay Orderer endpoints.
- storage_
endpoints Sequence[str] - The Fluid Relay storage endpoints.
- orderer
Endpoints List<String> - The Fluid Relay Orderer endpoints.
- storage
Endpoints List<String> - The Fluid Relay storage endpoints.
ProvisioningState, ProvisioningStateArgs
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Provisioning
State Succeeded - Succeeded
- Provisioning
State Failed - Failed
- Provisioning
State Canceled - Canceled
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- SUCCEEDED
- Succeeded
- FAILED
- Failed
- CANCELED
- Canceled
- "Succeeded"
- Succeeded
- "Failed"
- Failed
- "Canceled"
- Canceled
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:fluidrelay:FluidRelayServer myFluidRelayServer /subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0