import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Fluid Relay Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleServer = new azure.fluidrelay.Server("example", { * name: "example", * resourceGroupName: example.name, * location: example.location, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.FluidRelay` - 2022-05-26 * * ## Import * * Fluid Relay Servers can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:fluidrelay/server:Server example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.FluidRelay/fluidRelayServers/server1 * ``` */ export declare class Server extends pulumi.CustomResource { /** * Get an existing Server resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ServerState, opts?: pulumi.CustomResourceOptions): Server; /** * Returns true if the given object is an instance of Server. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Server; /** * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created. */ readonly customerManagedKey: pulumi.Output; /** * The Fluid tenantId for this server. */ readonly frsTenantId: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created. */ readonly name: pulumi.Output; /** * An array of the Fluid Relay Orderer endpoints. This will be deprecated in future version of fluid relay server and will always be empty, [more details](https://learn.microsoft.com/en-us/azure/azure-fluid-relay/concepts/version-compatibility). */ readonly ordererEndpoints: pulumi.Output; /** * The primary key for this server. */ readonly primaryKey: pulumi.Output; /** * The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ readonly resourceGroupName: pulumi.Output; /** * The secondary key for this server. */ readonly secondaryKey: pulumi.Output; /** * An array of service endpoints for this Fluid Relay Server. */ readonly serviceEndpoints: pulumi.Output; /** * An array of storage endpoints for this Fluid Relay Server. This will be deprecated in future version of fluid relay server and will always be empty, [more details](https://learn.microsoft.com/en-us/azure/azure-fluid-relay/concepts/version-compatibility). */ readonly storageEndpoints: pulumi.Output; /** * 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. */ readonly storageSku: pulumi.Output; /** * A mapping of tags which should be assigned to the Fluid Relay Server. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Server resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Server resources. */ export interface ServerState { /** * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created. */ customerManagedKey?: pulumi.Input; /** * The Fluid tenantId for this server. */ frsTenantId?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ location?: pulumi.Input; /** * The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created. */ name?: pulumi.Input; /** * An array of the Fluid Relay Orderer endpoints. This will be deprecated in future version of fluid relay server and will always be empty, [more details](https://learn.microsoft.com/en-us/azure/azure-fluid-relay/concepts/version-compatibility). */ ordererEndpoints?: pulumi.Input[]>; /** * The primary key for this server. */ primaryKey?: pulumi.Input; /** * The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ resourceGroupName?: pulumi.Input; /** * The secondary key for this server. */ secondaryKey?: pulumi.Input; /** * An array of service endpoints for this Fluid Relay Server. */ serviceEndpoints?: pulumi.Input[]>; /** * An array of storage endpoints for this Fluid Relay Server. This will be deprecated in future version of fluid relay server and will always be empty, [more details](https://learn.microsoft.com/en-us/azure/azure-fluid-relay/concepts/version-compatibility). */ storageEndpoints?: pulumi.Input[]>; /** * 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. */ storageSku?: pulumi.Input; /** * A mapping of tags which should be assigned to the Fluid Relay Server. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Server resource. */ export interface ServerArgs { /** * A `customerManagedKey` block as defined below. Changing this forces a new resource to be created. */ customerManagedKey?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ location?: pulumi.Input; /** * The name which should be used for this Fluid Relay Server. Changing this forces a new Fluid Relay Server to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Fluid Relay Server should exist. Changing this forces a new Fluid Relay Server to be created. */ resourceGroupName: pulumi.Input; /** * 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. */ storageSku?: pulumi.Input; /** * A mapping of tags which should be assigned to the Fluid Relay Server. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }