你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Microsoft。FluidRelay fluidRelayServers 2025-06-20-preview

Bicep 资源定义

可以使用目标操作部署 fluidRelayServers 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志。

用法示例

Bicep 示例

部署 Fluid Relay Server 的基本示例。

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource fluidRelayServer 'Microsoft.FluidRelay/fluidRelayServers@2022-05-26' = {
  name: resourceName
  location: location
  properties: {}
  tags: {
    foo: 'bar'
  }
}

资源格式

若要创建 Microsoft.FluidRelay/fluidRelayServers 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.FluidRelay/fluidRelayServers@2025-06-20-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    encryption: {
      customerManagedKeyEncryption: {
        keyEncryptionKeyIdentity: {
          identityType: 'string'
          userAssignedIdentityResourceId: 'string'
        }
        keyEncryptionKeyUrl: 'string'
      }
    }
    privateKeyAccess: 'string'
    provisioningState: 'string'
    publicNetworkAccess: 'string'
    sharedKeyAccess: 'string'
    storagesku: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft.FluidRelay/fluidRelayServers

Name Description 价值
标识 用于资源的标识类型。 身份
位置 资源所在的地理位置 string (必需)
姓名 资源名称 string (必需)
属性 此资源的资源特定属性。 FluidRelayServer属性
tags 资源标记 标记名称和值的字典。 请参阅模板 中的 标记

CustomerManagedKeyEncryptionProperties

Name Description 价值
keyEncryptionKeyIdentity 客户管理的密钥设置的所有标识配置,用于定义应使用哪个标识对 密钥保管库 进行身份验证。 CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity
密钥加密密钥网址 密钥加密密钥 URL,无论是否具有版本。 例如:https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 或 https://contosovault.vault.azure.net/keys/contosokek。 通过提供没有版本的密钥 URI 来启用密钥自动轮换。 否则,客户负责轮换密钥。 keyEncryptionKeyIdentity(SystemAssigned 或 UserAssigned)应有权访问此密钥 URL。 字符串

CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity

Name Description 价值
identityType 值可以是 SystemAssigned 或 UserAssigned 'SystemAssigned'
'UserAssigned'
userAssignedIdentityResourceId 用户分配的标识用于访问密钥加密密钥 URL。 例如:/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<资源组>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId。 与 identityType systemAssignedIdentity 互斥。 字符串

EncryptionProperties

Name Description 价值
customerManagedKeyEncryption 资源的所有客户管理的密钥加密属性。 CustomerManagedKeyEncryptionProperties

FluidRelayServer属性

Name Description 价值
加密 资源的所有加密配置。 EncryptionProperties
私钥访问 使用私钥指示服务器的当前访问状态。 'Disabled'
'Enabled'
provisioningState 为 FluidRelay RP 预配状态 'Canceled'
“Failed”
'Succeeded'
公用网络访问 指示是否启用了公共网络访问。 'Disabled'
'Enabled'
共享密钥访问 指示使用共享密钥的服务器的当前访问状态。 'Disabled'
'Enabled'
存储SKU 与资源关联的存储的 SKU “basic”
“standard”

身份

Name Description 价值
类型 标识类型。 'None'
'SystemAssigned'
“系统分配,用户分配”
'UserAssigned'
userAssignedIdentities 与资源关联的用户标识列表。 IdentityUserAssignedIdentities

IdentityUserAssignedIdentities

Name Description 价值

TrackedResourceTags

Name Description 价值

UserAssignedIdentitiesValue

Name Description 价值

ARM 模板资源定义

可以使用目标操作部署 fluidRelayServers 资源类型:

用法示例

资源格式

若要创建 Microsoft.FluidRelay/fluidRelayServers 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.FluidRelay/fluidRelayServers",
  "apiVersion": "2025-06-20-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "encryption": {
      "customerManagedKeyEncryption": {
        "keyEncryptionKeyIdentity": {
          "identityType": "string",
          "userAssignedIdentityResourceId": "string"
        },
        "keyEncryptionKeyUrl": "string"
      }
    },
    "privateKeyAccess": "string",
    "provisioningState": "string",
    "publicNetworkAccess": "string",
    "sharedKeyAccess": "string",
    "storagesku": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft.FluidRelay/fluidRelayServers

Name Description 价值
apiVersion API 版本 “2025-06-20-预览”
标识 用于资源的标识类型。 身份
位置 资源所在的地理位置 string (必需)
姓名 资源名称 string (必需)
属性 此资源的资源特定属性。 FluidRelayServer属性
tags 资源标记 标记名称和值的字典。 请参阅模板 中的 标记
类型 资源类型 “Microsoft.FluidRelay/fluidRelayServers”

CustomerManagedKeyEncryptionProperties

Name Description 价值
keyEncryptionKeyIdentity 客户管理的密钥设置的所有标识配置,用于定义应使用哪个标识对 密钥保管库 进行身份验证。 CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity
密钥加密密钥网址 密钥加密密钥 URL,无论是否具有版本。 例如:https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 或 https://contosovault.vault.azure.net/keys/contosokek。 通过提供没有版本的密钥 URI 来启用密钥自动轮换。 否则,客户负责轮换密钥。 keyEncryptionKeyIdentity(SystemAssigned 或 UserAssigned)应有权访问此密钥 URL。 字符串

CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity

Name Description 价值
identityType 值可以是 SystemAssigned 或 UserAssigned 'SystemAssigned'
'UserAssigned'
userAssignedIdentityResourceId 用户分配的标识用于访问密钥加密密钥 URL。 例如:/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<资源组>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId。 与 identityType systemAssignedIdentity 互斥。 字符串

EncryptionProperties

Name Description 价值
customerManagedKeyEncryption 资源的所有客户管理的密钥加密属性。 CustomerManagedKeyEncryptionProperties

FluidRelayServer属性

Name Description 价值
加密 资源的所有加密配置。 EncryptionProperties
私钥访问 使用私钥指示服务器的当前访问状态。 'Disabled'
'Enabled'
provisioningState 为 FluidRelay RP 预配状态 'Canceled'
“Failed”
'Succeeded'
公用网络访问 指示是否启用了公共网络访问。 'Disabled'
'Enabled'
共享密钥访问 指示使用共享密钥的服务器的当前访问状态。 'Disabled'
'Enabled'
存储SKU 与资源关联的存储的 SKU “basic”
“standard”

身份

Name Description 价值
类型 标识类型。 'None'
'SystemAssigned'
“系统分配,用户分配”
'UserAssigned'
userAssignedIdentities 与资源关联的用户标识列表。 IdentityUserAssignedIdentities

IdentityUserAssignedIdentities

Name Description 价值

TrackedResourceTags

Name Description 价值

UserAssignedIdentitiesValue

Name Description 价值

Terraform (AzAPI 提供程序)资源定义

可以使用目标操作部署 fluidRelayServers 资源类型:

  • 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。

用法示例

Terraform 示例

部署 Fluid Relay Server 的基本示例。

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "fluidRelayServer" {
  type      = "Microsoft.FluidRelay/fluidRelayServers@2022-05-26"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
    }
    tags = {
      foo = "bar"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

资源格式

若要创建 Microsoft.FluidRelay/fluidRelayServers 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.FluidRelay/fluidRelayServers@2025-06-20-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      encryption = {
        customerManagedKeyEncryption = {
          keyEncryptionKeyIdentity = {
            identityType = "string"
            userAssignedIdentityResourceId = "string"
          }
          keyEncryptionKeyUrl = "string"
        }
      }
      privateKeyAccess = "string"
      provisioningState = "string"
      publicNetworkAccess = "string"
      sharedKeyAccess = "string"
      storagesku = "string"
    }
  }
}

属性值

Microsoft.FluidRelay/fluidRelayServers

Name Description 价值
标识 用于资源的标识类型。 身份
位置 资源所在的地理位置 string (必需)
姓名 资源名称 string (必需)
属性 此资源的资源特定属性。 FluidRelayServer属性
tags 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft.FluidRelay/fluidRelayServers@2025-06-20-preview”

CustomerManagedKeyEncryptionProperties

Name Description 价值
keyEncryptionKeyIdentity 客户管理的密钥设置的所有标识配置,用于定义应使用哪个标识对 密钥保管库 进行身份验证。 CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity
密钥加密密钥网址 密钥加密密钥 URL,无论是否具有版本。 例如:https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 或 https://contosovault.vault.azure.net/keys/contosokek。 通过提供没有版本的密钥 URI 来启用密钥自动轮换。 否则,客户负责轮换密钥。 keyEncryptionKeyIdentity(SystemAssigned 或 UserAssigned)应有权访问此密钥 URL。 字符串

CustomerManagedKeyEncryptionPropertiesKeyEncryptionKeyIdentity

Name Description 价值
identityType 值可以是 SystemAssigned 或 UserAssigned 'SystemAssigned'
'UserAssigned'
userAssignedIdentityResourceId 用户分配的标识用于访问密钥加密密钥 URL。 例如:/subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<资源组>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId。 与 identityType systemAssignedIdentity 互斥。 字符串

EncryptionProperties

Name Description 价值
customerManagedKeyEncryption 资源的所有客户管理的密钥加密属性。 CustomerManagedKeyEncryptionProperties

FluidRelayServer属性

Name Description 价值
加密 资源的所有加密配置。 EncryptionProperties
私钥访问 使用私钥指示服务器的当前访问状态。 'Disabled'
'Enabled'
provisioningState 为 FluidRelay RP 预配状态 'Canceled'
“Failed”
'Succeeded'
公用网络访问 指示是否启用了公共网络访问。 'Disabled'
'Enabled'
共享密钥访问 指示使用共享密钥的服务器的当前访问状态。 'Disabled'
'Enabled'
存储SKU 与资源关联的存储的 SKU “basic”
“standard”

身份

Name Description 价值
类型 标识类型。 'None'
'SystemAssigned'
“系统分配,用户分配”
'UserAssigned'
userAssignedIdentities 与资源关联的用户标识列表。 IdentityUserAssignedIdentities

IdentityUserAssignedIdentities

Name Description 价值

TrackedResourceTags

Name Description 价值

UserAssignedIdentitiesValue

Name Description 价值