az fluid-relay server

Note

This reference is part of the fluid-relay extension for the Azure CLI (version 2.39.0 or higher). The extension will automatically install the first time you run an az fluid-relay server command. Learn more about extensions.

Manage Fluid Relay Server.

Commands

az fluid-relay server create

Create a Fluid Relay server.

az fluid-relay server delete

Delete a Fluid Relay server.

az fluid-relay server list

List all Fluid Relay servers.

az fluid-relay server list-key

Get primary and secondary key for this server.

az fluid-relay server regenerate-key

Regenerate the primary or secondary key for this server.

az fluid-relay server show

Get a Fluid Relay server.

az fluid-relay server update

Update a Fluid Relay server.

az fluid-relay server create

Create a Fluid Relay server.

az fluid-relay server create --name
                             --resource-group
                             [--identity]
                             [--key-identity]
                             [--key-url]
                             [--location]
                             [--provisioning-state {Canceled, Failed, Succeeded}]
                             [--sku {basic, standard}]
                             [--tags]

Examples

FluidRelayServer_Create

az fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type="SystemAssigned"
az fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type="SystemAssigned, UserAssigned" user-assigned-identities={"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2"}

Required Parameters

--name --server-name -n

The Fluid Relay server resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--identity

The type of identity used for the resource. Shorthand syntax supported. Try ?? to show more.

--key-identity

All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. Shorthand syntax supported. Try ?? to show more.

--key-url

Key encryption key Url, with or without a version. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. Key auto rotation is enabled by providing a key uri without version. Otherwise, customer is responsible for rotating the key. The keyEncryptionKeyIdentity(either SystemAssigned or UserAssigned) should have permission to access this key url.

--location -l

The geo-location where the resource lives.

--provisioning-state

Provision states for FluidRelay RP.

accepted values: Canceled, Failed, Succeeded
--sku

Sku of the storage associated with the resource.

accepted values: basic, standard
--tags

Resource tags. Shorthand syntax supported. Try ?? to show more.

az fluid-relay server delete

Delete a Fluid Relay server.

az fluid-relay server delete --name
                             --resource-group
                             [--yes]

Examples

FluidRelayServer_Delete

az fluid-relay server delete -n testFluidRelay -g MyResourceGroup -y

Required Parameters

--name --server-name -n

The Fluid Relay server resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--yes -y

Do not prompt for confirmation.

az fluid-relay server list

List all Fluid Relay servers.

az fluid-relay server list [--resource-group]

Examples

FluidRelayServer_List

az fluid-relay server list --subscription 00000000-0000-0000-0000-000000000000
az fluid-relay server list -g MyResourceGroup

Optional Parameters

--resource-group -g

The resource group containing the resource.

az fluid-relay server list-key

Get primary and secondary key for this server.

az fluid-relay server list-key --resource-group
                               --server-name

Examples

FluidRelayServer_List-key

az fluid-relay server list-key -g MyResourceGroup --server-name MyServerName

Required Parameters

--resource-group -g

The resource group containing the resource.

--server-name -n

The Fluid Relay server resource name.

az fluid-relay server regenerate-key

Regenerate the primary or secondary key for this server.

az fluid-relay server regenerate-key --key-name {key1, key2}
                                     --resource-group
                                     --server-name

Examples

FluidRelayServer_Regenerate-key

az fluid-relay server regenerate-key -g MyResourceGroup --server-name MyServerName --key-name key1

Required Parameters

--key-name

The key to regenerate.

accepted values: key1, key2
--resource-group -g

The resource group containing the resource.

--server-name -n

The Fluid Relay server resource name.

az fluid-relay server show

Get a Fluid Relay server.

az fluid-relay server show --name
                           --resource-group

Examples

FluidRelayServer_Show

az fluid-relay server show -g MyResourceGroup -n MyFluidRelay

Required Parameters

--name --server-name -n

The Fluid Relay server resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az fluid-relay server update

Update a Fluid Relay server.

az fluid-relay server update --name
                             --resource-group
                             [--identity]
                             [--key-identity]
                             [--key-url]
                             [--location]
                             [--tags]

Examples

FluidRelayServer_Update

az fluid-relay server update -n MyFluidRelay -l westus2 -g MyResourceGroup --tags category=sale

Required Parameters

--name --server-name -n

The Fluid Relay server resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--identity

The type of identity used for the resource. Shorthand syntax supported. Try ?? to show more.

--key-identity

All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. Shorthand syntax supported. Try ?? to show more.

--key-url

Key encryption key Url, with or without a version. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. Key auto rotation is enabled by providing a key uri without version. Otherwise, customer is responsible for rotating the key. The keyEncryptionKeyIdentity(either SystemAssigned or UserAssigned) should have permission to access this key url.

--location

The geo-location where the resource lives.

--tags

Resource tags. Shorthand syntax supported. Try ?? to show more.