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

Microsoft.StorageCache amlFilesystems

Bicep 资源定义

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

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

资源格式

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

resource symbolicname 'Microsoft.StorageCache/amlFilesystems@2024-03-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    encryptionSettings: {
      keyEncryptionKey: {
        keyUrl: 'string'
        sourceVault: {
          id: 'string'
        }
      }
    }
    filesystemSubnet: 'string'
    hsm: {
      settings: {
        container: 'string'
        importPrefix: 'string'
        importPrefixesInitial: [
          'string'
        ]
        loggingContainer: 'string'
      }
    }
    maintenanceWindow: {
      dayOfWeek: 'string'
      timeOfDayUTC: 'string'
    }
    rootSquashSettings: {
      mode: 'string'
      noSquashNidLists: 'string'
      squashGID: int
      squashUID: int
    }
    storageCapacityTiB: int
  }
  zones: [
    'string'
  ]
}

属性值

amlFilesystems

名字 描述 价值
名字 资源名称 string (必需)
位置 资源所在的地理位置 string (必需)
标签 资源标记。 标记名称和值的字典。 请参阅模板 中的 标记
sku 资源的 SKU。 SkuName
身份 AML 文件系统使用的托管标识(如果已配置)。 AmlFilesystemIdentity
性能 AML 文件系统的属性。 AmlFilesystemProperties
资源的可用性区域。 此字段应仅包含数组中的单个元素。 string[]

AmlFilesystemIdentity

名字 描述 价值
类型 用于资源的标识类型。 “None”
“UserAssigned”
userAssignedIdentities 一个字典,其中每个密钥是用户分配的标识资源 ID,并且每个密钥的值都是空字典。 UserAssignedIdentities

UserAssignedIdentities

名字 描述 价值
{自定义属性} UserAssignedIdentitiesValue

UserAssignedIdentitiesValue

此对象不包含在部署期间设置的任何属性。 所有属性都是 ReadOnly。

AmlFilesystemProperties

名字 描述 价值
encryptionSettings 指定 AML 文件系统的加密设置。 AmlFilesystemEncryptionSettings
filesystemSubnet 用于管理 AML 文件系统和面向客户端的操作的子网。 此子网应在 VNET 的地址空间中至少具有 /24 子网掩码。 string (必需)
hsm 解除冻结和存档设置和状态 AmlFilesystemPropertiesHsm
maintenanceWindow 每周维护时段 30 分钟的开始时间。 AmlFilesystemPropertiesMaintenanceWindow (必需)
rootSquashSettings 指定 AML 文件系统的根壁球设置。 AmlFilesystemRootSquashSettings
storageCapacityTiB AML 文件系统的大小(以 TiB 为单位)。 这可能会向上舍入。 int (必需)

AmlFilesystemEncryptionSettings

名字 描述 价值
keyEncryptionKey 指定 Key Vault 中加密密钥的位置。 KeyVaultKeyReference

KeyVaultKeyReference

名字 描述 价值
keyUrl 引用密钥保管库中的密钥加密密钥的 URL。 string (必需)
sourceVault 描述源密钥保管库的资源 ID。 KeyVaultKeyReferenceSourceVault(必需)

KeyVaultKeyReferenceSourceVault

名字 描述 价值
id 资源 ID。 字符串

AmlFilesystemPropertiesHsm

名字 描述 价值
设置 指定 AML 文件系统的 HSM 设置。 AmlFilesystemHsmSettings

AmlFilesystemHsmSettings

名字 描述 价值
容器 用于从命名空间中解除命名空间和存档的存储容器的资源 ID。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)
importPrefix 只有以此路径/前缀开头的非日志记录容器中的 blob 才会导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用。 它会自动创建可删除的导入作业资源。 字符串
importPrefixesInitial 仅此数组中以其中一个路径/前缀开头的非日志记录容器中的 Blob 导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用,并将“/”用作默认值。 它会自动创建可删除的导入作业资源。 string[]
loggingContainer 用于记录事件和错误的存储容器的资源 ID。 必须是与冻结和存档容器位于同一存储帐户中的单独容器。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)

AmlFilesystemPropertiesMaintenanceWindow

名字 描述 价值
dayOfWeek 维护时段将发生一周中的一天。 “Friday”
“Monday”
“Saturday”
“星期日”
“星期四”
“Tuesday”
“Wednesday”
timeOfDayUTC 开始维护时段的一天时间(以 UTC 为单位)。 字符串

约束:
Pattern = ^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$

AmlFilesystemRootSquashSettings

名字 描述 价值
模式 AML 文件系统的 Squash 模式。 “All”:文件上的用户和组 ID 将被压缩为非受信任系统上所有用户提供的值。 “RootOnly”:文件上的用户和组 ID 将被压缩为仅在不受信任的系统上为根用户提供值。 “无”:不会对任何系统上的任何用户执行用户和组 ID 的挤压。 “All”
“None”
“RootOnly”
noSquashNidLists 要添加到 TrustedSystems 的分号分隔 NID IP 地址列表(s)。 字符串
squashGID 要挤压到的组 ID。 int
squashUID 要挤压到的用户 ID。 int

SkuName

名字 描述 价值
名字 此资源的 SKU 名称。 字符串

ARM 模板资源定义

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

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

资源格式

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

{
  "type": "Microsoft.StorageCache/amlFilesystems",
  "apiVersion": "2024-03-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "encryptionSettings": {
      "keyEncryptionKey": {
        "keyUrl": "string",
        "sourceVault": {
          "id": "string"
        }
      }
    },
    "filesystemSubnet": "string",
    "hsm": {
      "settings": {
        "container": "string",
        "importPrefix": "string",
        "importPrefixesInitial": [ "string" ],
        "loggingContainer": "string"
      }
    },
    "maintenanceWindow": {
      "dayOfWeek": "string",
      "timeOfDayUTC": "string"
    },
    "rootSquashSettings": {
      "mode": "string",
      "noSquashNidLists": "string",
      "squashGID": "int",
      "squashUID": "int"
    },
    "storageCapacityTiB": "int"
  },
  "zones": [ "string" ]
}

属性值

amlFilesystems

名字 描述 价值
类型 资源类型 “Microsoft.StorageCache/amlFilesystems”
apiVersion 资源 API 版本 '2024-03-01'
名字 资源名称 string (必需)
位置 资源所在的地理位置 string (必需)
标签 资源标记。 标记名称和值的字典。 请参阅模板 中的 标记
sku 资源的 SKU。 SkuName
身份 AML 文件系统使用的托管标识(如果已配置)。 AmlFilesystemIdentity
性能 AML 文件系统的属性。 AmlFilesystemProperties
资源的可用性区域。 此字段应仅包含数组中的单个元素。 string[]

AmlFilesystemIdentity

名字 描述 价值
类型 用于资源的标识类型。 “None”
“UserAssigned”
userAssignedIdentities 一个字典,其中每个密钥是用户分配的标识资源 ID,并且每个密钥的值都是空字典。 UserAssignedIdentities

UserAssignedIdentities

名字 描述 价值
{自定义属性} UserAssignedIdentitiesValue

UserAssignedIdentitiesValue

此对象不包含在部署期间设置的任何属性。 所有属性都是 ReadOnly。

AmlFilesystemProperties

名字 描述 价值
encryptionSettings 指定 AML 文件系统的加密设置。 AmlFilesystemEncryptionSettings
filesystemSubnet 用于管理 AML 文件系统和面向客户端的操作的子网。 此子网应在 VNET 的地址空间中至少具有 /24 子网掩码。 string (必需)
hsm 解除冻结和存档设置和状态 AmlFilesystemPropertiesHsm
maintenanceWindow 每周维护时段 30 分钟的开始时间。 AmlFilesystemPropertiesMaintenanceWindow (必需)
rootSquashSettings 指定 AML 文件系统的根壁球设置。 AmlFilesystemRootSquashSettings
storageCapacityTiB AML 文件系统的大小(以 TiB 为单位)。 这可能会向上舍入。 int (必需)

AmlFilesystemEncryptionSettings

名字 描述 价值
keyEncryptionKey 指定 Key Vault 中加密密钥的位置。 KeyVaultKeyReference

KeyVaultKeyReference

名字 描述 价值
keyUrl 引用密钥保管库中的密钥加密密钥的 URL。 string (必需)
sourceVault 描述源密钥保管库的资源 ID。 KeyVaultKeyReferenceSourceVault(必需)

KeyVaultKeyReferenceSourceVault

名字 描述 价值
id 资源 ID。 字符串

AmlFilesystemPropertiesHsm

名字 描述 价值
设置 指定 AML 文件系统的 HSM 设置。 AmlFilesystemHsmSettings

AmlFilesystemHsmSettings

名字 描述 价值
容器 用于从命名空间中解除命名空间和存档的存储容器的资源 ID。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)
importPrefix 只有以此路径/前缀开头的非日志记录容器中的 blob 才会导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用。 它会自动创建可删除的导入作业资源。 字符串
importPrefixesInitial 仅此数组中以其中一个路径/前缀开头的非日志记录容器中的 Blob 导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用,并将“/”用作默认值。 它会自动创建可删除的导入作业资源。 string[]
loggingContainer 用于记录事件和错误的存储容器的资源 ID。 必须是与冻结和存档容器位于同一存储帐户中的单独容器。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)

AmlFilesystemPropertiesMaintenanceWindow

名字 描述 价值
dayOfWeek 维护时段将发生一周中的一天。 “Friday”
“Monday”
“Saturday”
“星期日”
“星期四”
“Tuesday”
“Wednesday”
timeOfDayUTC 开始维护时段的一天时间(以 UTC 为单位)。 字符串

约束:
Pattern = ^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$

AmlFilesystemRootSquashSettings

名字 描述 价值
模式 AML 文件系统的 Squash 模式。 “All”:文件上的用户和组 ID 将被压缩为非受信任系统上所有用户提供的值。 “RootOnly”:文件上的用户和组 ID 将被压缩为仅在不受信任的系统上为根用户提供值。 “无”:不会对任何系统上的任何用户执行用户和组 ID 的挤压。 “All”
“None”
“RootOnly”
noSquashNidLists 要添加到 TrustedSystems 的分号分隔 NID IP 地址列表(s)。 字符串
squashGID 要挤压到的组 ID。 int
squashUID 要挤压到的用户 ID。 int

SkuName

名字 描述 价值
名字 此资源的 SKU 名称。 字符串

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

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

  • 资源组

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

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.StorageCache/amlFilesystems@2024-03-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type =  "UserAssigned"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      encryptionSettings = {
        keyEncryptionKey = {
          keyUrl = "string"
          sourceVault = {
            id = "string"
          }
        }
      }
      filesystemSubnet = "string"
      hsm = {
        settings = {
          container = "string"
          importPrefix = "string"
          importPrefixesInitial = [
            "string"
          ]
          loggingContainer = "string"
        }
      }
      maintenanceWindow = {
        dayOfWeek = "string"
        timeOfDayUTC = "string"
      }
      rootSquashSettings = {
        mode = "string"
        noSquashNidLists = "string"
        squashGID = int
        squashUID = int
      }
      storageCapacityTiB = int
    }
    zones = [
      "string"
    ]
    sku = {
      name = "string"
    }
  })
}

属性值

amlFilesystems

名字 描述 价值
类型 资源类型 “Microsoft.StorageCache/amlFilesystems@2024-03-01”
名字 资源名称 string (必需)
位置 资源所在的地理位置 string (必需)
parent_id 若要部署到资源组,请使用该资源组的 ID。 string (必需)
标签 资源标记。 标记名称和值的字典。
sku 资源的 SKU。 SkuName
身份 AML 文件系统使用的托管标识(如果已配置)。 AmlFilesystemIdentity
性能 AML 文件系统的属性。 AmlFilesystemProperties
资源的可用性区域。 此字段应仅包含数组中的单个元素。 string[]

AmlFilesystemIdentity

名字 描述 价值
类型 用于资源的标识类型。 “UserAssigned”
identity_ids 一个字典,其中每个密钥是用户分配的标识资源 ID,并且每个密钥的值都是空字典。 用户标识 ID 的数组。

UserAssignedIdentities

名字 描述 价值
{自定义属性} UserAssignedIdentitiesValue

UserAssignedIdentitiesValue

此对象不包含在部署期间设置的任何属性。 所有属性都是 ReadOnly。

AmlFilesystemProperties

名字 描述 价值
encryptionSettings 指定 AML 文件系统的加密设置。 AmlFilesystemEncryptionSettings
filesystemSubnet 用于管理 AML 文件系统和面向客户端的操作的子网。 此子网应在 VNET 的地址空间中至少具有 /24 子网掩码。 string (必需)
hsm 解除冻结和存档设置和状态 AmlFilesystemPropertiesHsm
maintenanceWindow 每周维护时段 30 分钟的开始时间。 AmlFilesystemPropertiesMaintenanceWindow (必需)
rootSquashSettings 指定 AML 文件系统的根壁球设置。 AmlFilesystemRootSquashSettings
storageCapacityTiB AML 文件系统的大小(以 TiB 为单位)。 这可能会向上舍入。 int (必需)

AmlFilesystemEncryptionSettings

名字 描述 价值
keyEncryptionKey 指定 Key Vault 中加密密钥的位置。 KeyVaultKeyReference

KeyVaultKeyReference

名字 描述 价值
keyUrl 引用密钥保管库中的密钥加密密钥的 URL。 string (必需)
sourceVault 描述源密钥保管库的资源 ID。 KeyVaultKeyReferenceSourceVault(必需)

KeyVaultKeyReferenceSourceVault

名字 描述 价值
id 资源 ID。 字符串

AmlFilesystemPropertiesHsm

名字 描述 价值
设置 指定 AML 文件系统的 HSM 设置。 AmlFilesystemHsmSettings

AmlFilesystemHsmSettings

名字 描述 价值
容器 用于从命名空间中解除命名空间和存档的存储容器的资源 ID。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)
importPrefix 只有以此路径/前缀开头的非日志记录容器中的 blob 才会导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用。 它会自动创建可删除的导入作业资源。 字符串
importPrefixesInitial 仅此数组中以其中一个路径/前缀开头的非日志记录容器中的 Blob 导入到群集命名空间中。 这仅在初始创建 AML 文件系统期间使用,并将“/”用作默认值。 它会自动创建可删除的导入作业资源。 string[]
loggingContainer 用于记录事件和错误的存储容器的资源 ID。 必须是与冻结和存档容器位于同一存储帐户中的单独容器。 资源提供程序必须有权在存储帐户上创建 SAS 令牌。 string (必需)

AmlFilesystemPropertiesMaintenanceWindow

名字 描述 价值
dayOfWeek 维护时段将发生一周中的一天。 “Friday”
“Monday”
“Saturday”
“星期日”
“星期四”
“Tuesday”
“星期三”
timeOfDayUTC 开始维护时段的一天时间(以 UTC 为单位)。 字符串

约束:
Pattern = ^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$

AmlFilesystemRootSquashSettings

名字 描述 价值
模式 AML 文件系统的 Squash 模式。 “All”:文件上的用户和组 ID 将被压缩为非受信任系统上所有用户提供的值。 “RootOnly”:文件上的用户和组 ID 将被压缩为仅在不受信任的系统上为根用户提供值。 “无”:不会对任何系统上的任何用户执行用户和组 ID 的挤压。 “全部”
“None”
“RootOnly”
noSquashNidLists 要添加到 TrustedSystems 的分号分隔 NID IP 地址列表(s)。 字符串
squashGID 要挤压到的组 ID。 int
squashUID 要挤压到的用户 ID。 int

SkuName

名字 描述 价值
名字 此资源的 SKU 名称。 字符串