共用方式為


Microsoft.NetApp netAppAccounts/volumeGroups 2021-08-01

Bicep 資源定義

netAppAccounts/volumeGroups 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.NetApp/netAppAccounts/volumeGroups 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.NetApp/netAppAccounts/volumeGroups@2021-08-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    groupMetaData: {
      applicationIdentifier: 'string'
      applicationType: 'SAP-HANA'
      deploymentSpecId: 'string'
      globalPlacementRules: [
        {
          key: 'string'
          value: 'string'
        }
      ]
      groupDescription: 'string'
    }
    volumes: [
      {
        name: 'string'
        properties: {
          avsDataStore: 'string'
          backupId: 'string'
          capacityPoolResourceId: 'string'
          coolAccess: bool
          coolnessPeriod: int
          creationToken: 'string'
          dataProtection: {
            backup: {
              backupEnabled: bool
              backupPolicyId: 'string'
              policyEnforced: bool
              vaultId: 'string'
            }
            replication: {
              endpointType: 'string'
              remoteVolumeRegion: 'string'
              remoteVolumeResourceId: 'string'
              replicationId: 'string'
              replicationSchedule: 'string'
            }
            snapshot: {
              snapshotPolicyId: 'string'
            }
          }
          defaultGroupQuotaInKiBs: int
          defaultUserQuotaInKiBs: int
          encryptionKeySource: 'string'
          exportPolicy: {
            rules: [
              {
                allowedClients: 'string'
                chownMode: 'string'
                cifs: bool
                hasRootAccess: bool
                kerberos5iReadWrite: bool
                kerberos5pReadWrite: bool
                kerberos5ReadWrite: bool
                nfsv3: bool
                nfsv41: bool
                ruleIndex: int
                unixReadWrite: bool
              }
            ]
          }
          isDefaultQuotaEnabled: bool
          isRestoring: bool
          kerberosEnabled: bool
          ldapEnabled: bool
          networkFeatures: 'string'
          placementRules: [
            {
              key: 'string'
              value: 'string'
            }
          ]
          protocolTypes: [
            'string'
          ]
          proximityPlacementGroup: 'string'
          securityStyle: 'string'
          serviceLevel: 'string'
          smbContinuouslyAvailable: bool
          smbEncryption: bool
          snapshotDirectoryVisible: bool
          snapshotId: 'string'
          subnetId: 'string'
          throughputMibps: int
          unixPermissions: 'string'
          usageThreshold: int
          volumeSpecName: 'string'
          volumeType: 'string'
        }
        tags: {}
      }
    ]
  }
}

屬性值

netAppAccounts/volumeGroups

名字 描述 價值
名字 資源名稱

請參閱如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)

字元限制:3-64

合法字元:
英數位元、底線和連字元。

從英數位元開始。
位置 資源位置 字串
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱:netAppAccounts
性能 磁碟區群組屬性 VolumeGroupProperties

VolumeGroupProperties

名字 描述 價值
groupMetaData 磁碟區群組詳細數據 VolumeGroupMetaData
群組中的磁碟區清單 VolumeGroupVolumeProperties[]

VolumeGroupMetaData

名字 描述 價值
applicationIdentifier 應用程式特定標識碼 字串
applicationType 應用程式類型 'SAP-HANA'
deploymentSpecId 磁碟區群組之部署規則的應用程式特定標識碼 字串
globalPlacementRules 磁碟區群組的應用程式特定放置規則 PlacementKeyValuePairs[]
groupDescription 群組描述 字串

PlacementKeyValuePairs

名字 描述 價值
鑰匙 磁碟區群組中磁碟區放置的應用程式特定參數索引鍵 字串 (必要)
價值 磁碟區群組中磁碟區放置的應用程式特定參數值 字串 (必要)

VolumeGroupVolumeProperties

名字 描述 價值
名字 資源名稱 字串
性能 磁碟區屬性 VolumeProperties (必要)
標籤 資源標籤 物件

VolumeProperties

名字 描述 價值
avsDataStore 指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途 'Disabled'
'Enabled'
backupId 用來識別備份的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
capacityPoolResourceId 透過磁碟區群組建立磁碟區時所使用的集區資源標識碼 字串
coolAccess 指定是否為磁碟區啟用非經常性存取(階層處理)。 bool
coolnessPeriod 指定用戶端不會存取資料的天數。 int

約束:
最小值 = 7
最大值 = 63
creationToken 磁碟區的唯一檔案路徑。 建立掛接目標時使用 字串 (必要)

約束:
最小長度 = 1
最大長度 = 80
Pattern = ^[a-zA-Z][a-zA-Z0-9\-]{0,79}$
dataProtection DataProtection 類型磁碟區包含包含複寫詳細數據的物件 VolumePropertiesDataProtection
defaultGroupQuotaInKiBs KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
defaultUserQuotaInKiBs KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
encryptionKeySource 加密金鑰來源。 可能的值為:'Microsoft.NetApp' 字串
exportPolicy 一組導出原則規則 VolumePropertiesExportPolicy
isDefaultQuotaEnabled 指定磁碟區是否啟用預設配額。 bool
isRestoring 恢復 bool
kerberosEnabled 描述磁碟區是否為 KerberosEnabled。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
ldapEnabled 指定指定的NFS磁碟區是否啟用LDAP。 bool
networkFeatures 可供磁碟區使用的基本網路或標準功能。 'Basic'
'Standard'
placementRules 特定磁碟區的應用程式特定放置規則 PlacementKeyValuePairs[]
protocolTypes 一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS string[]
proximityPlacementGroup 與磁碟區相關聯的鄰近放置群組 字串
securityStyle 磁碟區的安全性樣式,預設 unix,預設為 ntfs 的雙重通訊協定或 CIFS 通訊協定 'ntfs'
'unix'
serviceLevel 檔系統的服務等級 'Premium'
'Standard'
'StandardZRS'
'Ultra'
smbContinuouslyAvailable 為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區 bool
smbEncryption 啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用 bool
snapshotDirectoryVisible 如果啟用 (true) 磁碟區將包含唯讀快照集目錄,其會提供每個磁碟區快照集的存取權(預設值為 true)。 bool
snapshotId 用來識別快照集的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
subnetId 委派子網的 Azure 資源 URI。 必須有委派Microsoft.NetApp/volumes 字串 (必要)
throughputMibps Mibps 中可透過此磁碟區達成的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入 int
unixPermissions 以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。 字串

約束:
最小長度 = 4
最大長度 = 4
usageThreshold 文件系統允許的記憶體配額上限,以位元組為單位。 這是僅用於警示的軟配額。 大小下限為 100 GiB。 上限為 100TiB。 以位元組指定。 int (必要)

約束:
最小值 = 107374182400
最大值 = 109951162777600
volumeSpecName 磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄 字串
volumeType 此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection 字串

VolumePropertiesDataProtection

名字 描述 價值
備份 備份屬性 VolumeBackupProperties
複製 複寫屬性 ReplicationObject
快照 快照集屬性。 VolumeSnapshotProperties

VolumeBackupProperties

名字 描述 價值
backupEnabled 備份已啟用 bool
backupPolicyId 備份原則資源標識碼 字串
policyEnforced 強制執行原則 bool
vaultId 保存庫資源標識碼 字串

ReplicationObject

名字 描述 價值
endpointType 指出本機磁碟區是磁碟區復寫的來源或目的地 'dst'
'src'
remoteVolumeRegion 磁碟區復寫另一端的遠端區域。 字串
remoteVolumeResourceId 遠端磁碟區的資源標識碼。 字串 (必要)
replicationId 標識碼 字串
replicationSchedule 附表 '_10minutely'
'daily'
'hourly'

VolumeSnapshotProperties

名字 描述 價值
snapshotPolicyId 快照集原則 ResourceId 字串

VolumePropertiesExportPolicy

名字 描述 價值
規則 匯出原則規則 ExportPolicyRule[]

ExportPolicyRule

名字 描述 價值
allowedClients 用戶端輸入規格以逗號分隔字串,其中包含IPv4CIDR、IPv4 主機名和主機名 字串
chownMode 此參數會指定誰有權變更檔案的擁有權。 受限制 - 只有根使用者可以變更檔案的擁有權。 不受限制 - 非根使用者可以變更其擁有的檔案擁有權。 'Restricted'
'Unrestricted'
cifs 允許 CIFS 通訊協定 bool
hasRootAccess 具有磁碟區的根存取權 bool
kerberos5iReadWrite Kerberos5i 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5pReadWrite Kerberos5p 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5ReadWrite Kerberos5 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
nfsv3 允許 NFSv3 通訊協定。 僅針對 NFSv3 類型磁碟區啟用 bool
nfsv41 允許 NFSv4.1 通訊協定。 僅針對 NFSv4.1 類型磁碟區啟用 bool
ruleIndex 訂單索引 int
unixReadWrite 讀取和寫入存取權 bool

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
ORACLE Azure NetApp Files 記憶體

部署至 Azure
此範本會部署 ORACLE 部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。
SAP HANA Azure NetApp Files 跨區域複寫記憶體

部署至 Azure
此範本會部署 SAP HANA 災害復原部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。
SAP HANA Azure NetApp Files 記憶體

部署至 Azure
此範本會部署 SAP HANA 部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。

ARM 樣本資源定義

netAppAccounts/volumeGroups 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.NetApp/netAppAccounts/volumeGroups 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
  "apiVersion": "2021-08-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "groupMetaData": {
      "applicationIdentifier": "string",
      "applicationType": "SAP-HANA",
      "deploymentSpecId": "string",
      "globalPlacementRules": [
        {
          "key": "string",
          "value": "string"
        }
      ],
      "groupDescription": "string"
    },
    "volumes": [
      {
        "name": "string",
        "properties": {
          "avsDataStore": "string",
          "backupId": "string",
          "capacityPoolResourceId": "string",
          "coolAccess": "bool",
          "coolnessPeriod": "int",
          "creationToken": "string",
          "dataProtection": {
            "backup": {
              "backupEnabled": "bool",
              "backupPolicyId": "string",
              "policyEnforced": "bool",
              "vaultId": "string"
            },
            "replication": {
              "endpointType": "string",
              "remoteVolumeRegion": "string",
              "remoteVolumeResourceId": "string",
              "replicationId": "string",
              "replicationSchedule": "string"
            },
            "snapshot": {
              "snapshotPolicyId": "string"
            }
          },
          "defaultGroupQuotaInKiBs": "int",
          "defaultUserQuotaInKiBs": "int",
          "encryptionKeySource": "string",
          "exportPolicy": {
            "rules": [
              {
                "allowedClients": "string",
                "chownMode": "string",
                "cifs": "bool",
                "hasRootAccess": "bool",
                "kerberos5iReadWrite": "bool",
                "kerberos5pReadWrite": "bool",
                "kerberos5ReadWrite": "bool",
                "nfsv3": "bool",
                "nfsv41": "bool",
                "ruleIndex": "int",
                "unixReadWrite": "bool"
              }
            ]
          },
          "isDefaultQuotaEnabled": "bool",
          "isRestoring": "bool",
          "kerberosEnabled": "bool",
          "ldapEnabled": "bool",
          "networkFeatures": "string",
          "placementRules": [
            {
              "key": "string",
              "value": "string"
            }
          ],
          "protocolTypes": [ "string" ],
          "proximityPlacementGroup": "string",
          "securityStyle": "string",
          "serviceLevel": "string",
          "smbContinuouslyAvailable": "bool",
          "smbEncryption": "bool",
          "snapshotDirectoryVisible": "bool",
          "snapshotId": "string",
          "subnetId": "string",
          "throughputMibps": "int",
          "unixPermissions": "string",
          "usageThreshold": "int",
          "volumeSpecName": "string",
          "volumeType": "string"
        },
        "tags": {}
      }
    ]
  }
}

屬性值

netAppAccounts/volumeGroups

名字 描述 價值
類型 資源類型 'Microsoft.NetApp/netAppAccounts/volumeGroups'
apiVersion 資源 API 版本 '2021-08-01'
名字 資源名稱

請參閱如何在JSON ARM 範本中設定子資源的名稱和類型。
字串 (必要)

字元限制:3-64

合法字元:
英數位元、底線和連字元。

從英數位元開始。
位置 資源位置 字串
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
性能 磁碟區群組屬性 VolumeGroupProperties

VolumeGroupProperties

名字 描述 價值
groupMetaData 磁碟區群組詳細數據 VolumeGroupMetaData
群組中的磁碟區清單 VolumeGroupVolumeProperties[]

VolumeGroupMetaData

名字 描述 價值
applicationIdentifier 應用程式特定標識碼 字串
applicationType 應用程式類型 'SAP-HANA'
deploymentSpecId 磁碟區群組之部署規則的應用程式特定標識碼 字串
globalPlacementRules 磁碟區群組的應用程式特定放置規則 PlacementKeyValuePairs[]
groupDescription 群組描述 字串

PlacementKeyValuePairs

名字 描述 價值
鑰匙 磁碟區群組中磁碟區放置的應用程式特定參數索引鍵 字串 (必要)
價值 磁碟區群組中磁碟區放置的應用程式特定參數值 字串 (必要)

VolumeGroupVolumeProperties

名字 描述 價值
名字 資源名稱 字串
性能 磁碟區屬性 VolumeProperties (必要)
標籤 資源標籤 物件

VolumeProperties

名字 描述 價值
avsDataStore 指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途 'Disabled'
'Enabled'
backupId 用來識別備份的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
capacityPoolResourceId 透過磁碟區群組建立磁碟區時所使用的集區資源標識碼 字串
coolAccess 指定是否為磁碟區啟用非經常性存取(階層處理)。 bool
coolnessPeriod 指定用戶端不會存取資料的天數。 int

約束:
最小值 = 7
最大值 = 63
creationToken 磁碟區的唯一檔案路徑。 建立掛接目標時使用 字串 (必要)

約束:
最小長度 = 1
最大長度 = 80
Pattern = ^[a-zA-Z][a-zA-Z0-9\-]{0,79}$
dataProtection DataProtection 類型磁碟區包含包含複寫詳細數據的物件 VolumePropertiesDataProtection
defaultGroupQuotaInKiBs KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
defaultUserQuotaInKiBs KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
encryptionKeySource 加密金鑰來源。 可能的值為:'Microsoft.NetApp' 字串
exportPolicy 一組導出原則規則 VolumePropertiesExportPolicy
isDefaultQuotaEnabled 指定磁碟區是否啟用預設配額。 bool
isRestoring 恢復 bool
kerberosEnabled 描述磁碟區是否為 KerberosEnabled。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
ldapEnabled 指定指定的NFS磁碟區是否啟用LDAP。 bool
networkFeatures 可供磁碟區使用的基本網路或標準功能。 'Basic'
'Standard'
placementRules 特定磁碟區的應用程式特定放置規則 PlacementKeyValuePairs[]
protocolTypes 一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS string[]
proximityPlacementGroup 與磁碟區相關聯的鄰近放置群組 字串
securityStyle 磁碟區的安全性樣式,預設 unix,預設為 ntfs 的雙重通訊協定或 CIFS 通訊協定 'ntfs'
'unix'
serviceLevel 檔系統的服務等級 'Premium'
'Standard'
'StandardZRS'
'Ultra'
smbContinuouslyAvailable 為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區 bool
smbEncryption 啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用 bool
snapshotDirectoryVisible 如果啟用 (true) 磁碟區將包含唯讀快照集目錄,其會提供每個磁碟區快照集的存取權(預設值為 true)。 bool
snapshotId 用來識別快照集的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
subnetId 委派子網的 Azure 資源 URI。 必須有委派Microsoft.NetApp/volumes 字串 (必要)
throughputMibps Mibps 中可透過此磁碟區達成的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入 int
unixPermissions 以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。 字串

約束:
最小長度 = 4
最大長度 = 4
usageThreshold 文件系統允許的記憶體配額上限,以位元組為單位。 這是僅用於警示的軟配額。 大小下限為 100 GiB。 上限為 100TiB。 以位元組指定。 int (必要)

約束:
最小值 = 107374182400
最大值 = 109951162777600
volumeSpecName 磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄 字串
volumeType 此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection 字串

VolumePropertiesDataProtection

名字 描述 價值
備份 備份屬性 VolumeBackupProperties
複製 複寫屬性 ReplicationObject
快照 快照集屬性。 VolumeSnapshotProperties

VolumeBackupProperties

名字 描述 價值
backupEnabled 備份已啟用 bool
backupPolicyId 備份原則資源標識碼 字串
policyEnforced 強制執行原則 bool
vaultId 保存庫資源標識碼 字串

ReplicationObject

名字 描述 價值
endpointType 指出本機磁碟區是磁碟區復寫的來源或目的地 'dst'
'src'
remoteVolumeRegion 磁碟區復寫另一端的遠端區域。 字串
remoteVolumeResourceId 遠端磁碟區的資源標識碼。 字串 (必要)
replicationId 標識碼 字串
replicationSchedule 附表 '_10minutely'
'daily'
'hourly'

VolumeSnapshotProperties

名字 描述 價值
snapshotPolicyId 快照集原則 ResourceId 字串

VolumePropertiesExportPolicy

名字 描述 價值
規則 匯出原則規則 ExportPolicyRule[]

ExportPolicyRule

名字 描述 價值
allowedClients 用戶端輸入規格以逗號分隔字串,其中包含IPv4CIDR、IPv4 主機名和主機名 字串
chownMode 此參數會指定誰有權變更檔案的擁有權。 受限制 - 只有根使用者可以變更檔案的擁有權。 不受限制 - 非根使用者可以變更其擁有的檔案擁有權。 'Restricted'
'Unrestricted'
cifs 允許 CIFS 通訊協定 bool
hasRootAccess 具有磁碟區的根存取權 bool
kerberos5iReadWrite Kerberos5i 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5pReadWrite Kerberos5p 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5ReadWrite Kerberos5 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
nfsv3 允許 NFSv3 通訊協定。 僅針對 NFSv3 類型磁碟區啟用 bool
nfsv41 允許 NFSv4.1 通訊協定。 僅針對 NFSv4.1 類型磁碟區啟用 bool
ruleIndex 訂單索引 int
unixReadWrite 讀取和寫入存取權 bool

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
ORACLE Azure NetApp Files 記憶體

部署至 Azure
此範本會部署 ORACLE 部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。
SAP HANA Azure NetApp Files 跨區域複寫記憶體

部署至 Azure
此範本會部署 SAP HANA 災害復原部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。
SAP HANA Azure NetApp Files 記憶體

部署至 Azure
此範本會部署 SAP HANA 部署的記憶體。 記憶體是使用以 NetApp ONTAP 記憶體 OS 為基礎的 Azure NetApp Files 來提供。

Terraform (AzAPI 提供者) 資源定義

netAppAccounts/volumeGroups 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.NetApp/netAppAccounts/volumeGroups 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetApp/netAppAccounts/volumeGroups@2021-08-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      groupMetaData = {
        applicationIdentifier = "string"
        applicationType = "SAP-HANA"
        deploymentSpecId = "string"
        globalPlacementRules = [
          {
            key = "string"
            value = "string"
          }
        ]
        groupDescription = "string"
      }
      volumes = [
        {
          name = "string"
          properties = {
            avsDataStore = "string"
            backupId = "string"
            capacityPoolResourceId = "string"
            coolAccess = bool
            coolnessPeriod = int
            creationToken = "string"
            dataProtection = {
              backup = {
                backupEnabled = bool
                backupPolicyId = "string"
                policyEnforced = bool
                vaultId = "string"
              }
              replication = {
                endpointType = "string"
                remoteVolumeRegion = "string"
                remoteVolumeResourceId = "string"
                replicationId = "string"
                replicationSchedule = "string"
              }
              snapshot = {
                snapshotPolicyId = "string"
              }
            }
            defaultGroupQuotaInKiBs = int
            defaultUserQuotaInKiBs = int
            encryptionKeySource = "string"
            exportPolicy = {
              rules = [
                {
                  allowedClients = "string"
                  chownMode = "string"
                  cifs = bool
                  hasRootAccess = bool
                  kerberos5iReadWrite = bool
                  kerberos5pReadWrite = bool
                  kerberos5ReadWrite = bool
                  nfsv3 = bool
                  nfsv41 = bool
                  ruleIndex = int
                  unixReadWrite = bool
                }
              ]
            }
            isDefaultQuotaEnabled = bool
            isRestoring = bool
            kerberosEnabled = bool
            ldapEnabled = bool
            networkFeatures = "string"
            placementRules = [
              {
                key = "string"
                value = "string"
              }
            ]
            protocolTypes = [
              "string"
            ]
            proximityPlacementGroup = "string"
            securityStyle = "string"
            serviceLevel = "string"
            smbContinuouslyAvailable = bool
            smbEncryption = bool
            snapshotDirectoryVisible = bool
            snapshotId = "string"
            subnetId = "string"
            throughputMibps = int
            unixPermissions = "string"
            usageThreshold = int
            volumeSpecName = "string"
            volumeType = "string"
          }
          tags = {}
        }
      ]
    }
  })
}

屬性值

netAppAccounts/volumeGroups

名字 描述 價值
類型 資源類型 “Microsoft.NetApp/netAppAccounts/volumeGroups@2021-08-01”
名字 資源名稱 字串 (必要)

字元限制:3-64

合法字元:
英數位元、底線和連字元。

從英數位元開始。
位置 資源位置 字串
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:netAppAccounts
標籤 資源標籤 標記名稱和值的字典。
性能 磁碟區群組屬性 VolumeGroupProperties

VolumeGroupProperties

名字 描述 價值
groupMetaData 磁碟區群組詳細數據 VolumeGroupMetaData
群組中的磁碟區清單 VolumeGroupVolumeProperties[]

VolumeGroupMetaData

名字 描述 價值
applicationIdentifier 應用程式特定標識碼 字串
applicationType 應用程式類型 “SAP-HANA”
deploymentSpecId 磁碟區群組之部署規則的應用程式特定標識碼 字串
globalPlacementRules 磁碟區群組的應用程式特定放置規則 PlacementKeyValuePairs[]
groupDescription 群組描述 字串

PlacementKeyValuePairs

名字 描述 價值
鑰匙 磁碟區群組中磁碟區放置的應用程式特定參數索引鍵 字串 (必要)
價值 磁碟區群組中磁碟區放置的應用程式特定參數值 字串 (必要)

VolumeGroupVolumeProperties

名字 描述 價值
名字 資源名稱 字串
性能 磁碟區屬性 VolumeProperties (必要)
標籤 資源標籤 物件

VolumeProperties

名字 描述 價值
avsDataStore 指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途 “Disabled”
“Enabled”
backupId 用來識別備份的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
capacityPoolResourceId 透過磁碟區群組建立磁碟區時所使用的集區資源標識碼 字串
coolAccess 指定是否為磁碟區啟用非經常性存取(階層處理)。 bool
coolnessPeriod 指定用戶端不會存取資料的天數。 int

約束:
最小值 = 7
最大值 = 63
creationToken 磁碟區的唯一檔案路徑。 建立掛接目標時使用 字串 (必要)

約束:
最小長度 = 1
最大長度 = 80
Pattern = ^[a-zA-Z][a-zA-Z0-9\-]{0,79}$
dataProtection DataProtection 類型磁碟區包含包含複寫詳細數據的物件 VolumePropertiesDataProtection
defaultGroupQuotaInKiBs KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
defaultUserQuotaInKiBs KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。 int
encryptionKeySource 加密金鑰來源。 可能的值為:'Microsoft.NetApp' 字串
exportPolicy 一組導出原則規則 VolumePropertiesExportPolicy
isDefaultQuotaEnabled 指定磁碟區是否啟用預設配額。 bool
isRestoring 恢復 bool
kerberosEnabled 描述磁碟區是否為 KerberosEnabled。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
ldapEnabled 指定指定的NFS磁碟區是否啟用LDAP。 bool
networkFeatures 可供磁碟區使用的基本網路或標準功能。 “Basic”
“Standard”
placementRules 特定磁碟區的應用程式特定放置規則 PlacementKeyValuePairs[]
protocolTypes 一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS string[]
proximityPlacementGroup 與磁碟區相關聯的鄰近放置群組 字串
securityStyle 磁碟區的安全性樣式,預設 unix,預設為 ntfs 的雙重通訊協定或 CIFS 通訊協定 “ntfs”
“unix”
serviceLevel 檔系統的服務等級 “Premium”
“Standard”
“StandardZRS”
“Ultra”
smbContinuouslyAvailable 為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區 bool
smbEncryption 啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用 bool
snapshotDirectoryVisible 如果啟用 (true) 磁碟區將包含唯讀快照集目錄,其會提供每個磁碟區快照集的存取權(預設值為 true)。 bool
snapshotId 用來識別快照集的 UUID v4 或資源識別碼。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$
subnetId 委派子網的 Azure 資源 URI。 必須有委派Microsoft.NetApp/volumes 字串 (必要)
throughputMibps Mibps 中可透過此磁碟區達成的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入 int
unixPermissions 以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。 字串

約束:
最小長度 = 4
最大長度 = 4
usageThreshold 文件系統允許的記憶體配額上限,以位元組為單位。 這是僅用於警示的軟配額。 大小下限為 100 GiB。 上限為 100TiB。 以位元組指定。 int (必要)

約束:
最小值 = 107374182400
最大值 = 109951162777600
volumeSpecName 磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄 字串
volumeType 此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection 字串

VolumePropertiesDataProtection

名字 描述 價值
備份 備份屬性 VolumeBackupProperties
複製 複寫屬性 ReplicationObject
快照 快照集屬性。 VolumeSnapshotProperties

VolumeBackupProperties

名字 描述 價值
backupEnabled 備份已啟用 bool
backupPolicyId 備份原則資源標識碼 字串
policyEnforced 強制執行原則 bool
vaultId 保存庫資源標識碼 字串

ReplicationObject

名字 描述 價值
endpointType 指出本機磁碟區是磁碟區復寫的來源或目的地 “dst”
“src”
remoteVolumeRegion 磁碟區復寫另一端的遠端區域。 字串
remoteVolumeResourceId 遠端磁碟區的資源標識碼。 字串 (必要)
replicationId 標識碼 字串
replicationSchedule 附表 “_10minutely”
“daily”
“hourly”

VolumeSnapshotProperties

名字 描述 價值
snapshotPolicyId 快照集原則 ResourceId 字串

VolumePropertiesExportPolicy

名字 描述 價值
規則 匯出原則規則 ExportPolicyRule[]

ExportPolicyRule

名字 描述 價值
allowedClients 用戶端輸入規格以逗號分隔字串,其中包含IPv4CIDR、IPv4 主機名和主機名 字串
chownMode 此參數會指定誰有權變更檔案的擁有權。 受限制 - 只有根使用者可以變更檔案的擁有權。 不受限制 - 非根使用者可以變更其擁有的檔案擁有權。 “受限制”
“不受限制”
cifs 允許 CIFS 通訊協定 bool
hasRootAccess 具有磁碟區的根存取權 bool
kerberos5iReadWrite Kerberos5i 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5pReadWrite Kerberos5p 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
kerberos5ReadWrite Kerberos5 讀取和寫入存取權。 與 Swagger 版本 2020-05-01 或更新版本搭配使用 bool
nfsv3 允許 NFSv3 通訊協定。 僅針對 NFSv3 類型磁碟區啟用 bool
nfsv41 允許 NFSv4.1 通訊協定。 僅針對 NFSv4.1 類型磁碟區啟用 bool
ruleIndex 訂單索引 int
unixReadWrite 讀取和寫入存取權 bool