共用方式為


Microsoft.NetApp netAppAccounts 2019-10-01

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.NetApp/netAppAccounts@2019-10-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    activeDirectories: [
      {
        activeDirectoryId: 'string'
        dns: 'string'
        domain: 'string'
        organizationalUnit: 'string'
        password: 'string'
        smbServerName: 'string'
        status: 'string'
        username: 'string'
      }
    ]
  }
}

屬性值

netAppAccounts

名字 描述 價值
名字 資源名稱 字串 (必要)

字元限制:1-128

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

從英數位元開始。
位置 資源位置 字串 (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
性能 NetApp 帳戶屬性 AccountProperties

AccountProperties

名字 描述 價值
activeDirectories Active Directory ActiveDirectory[]

ActiveDirectory

名字 描述 價值
activeDirectoryId Active Directory 的標識符 字串
dns Active Directory 網域的 DNS 伺服器 IP 位址逗號分隔清單 (僅限 IPv4) 字串
Active Directory 網域的名稱 字串
organizationUnit Windows Active Directory 內的組織單位 (OU) 字串
密碼 Active Directory 網域管理員的純文本密碼 字串
smbServerName SMB 伺服器的 NetBIOS 名稱。 此名稱將會註冊為 AD 中的電腦帳戶,並用來掛接磁碟區 字串
地位 Active Directory 的狀態 字串
username Active Directory 網域管理員的用戶名稱 字串

快速入門範本

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

範本 描述
使用 NFSV3/NFSv4.1 磁碟區建立新的 ANF 資源

部署至 Azure
此範本可讓您建立新的 Azure NetApp Files 資源,其中包含單一容量集區和使用 NFSV3 或 NFSv4.1 通訊協定設定的單一磁碟區。 它們全都部署在一起,以及建立任何磁碟區所需的 Azure 虛擬網路和委派子網
使用SMB磁碟區建立新的ANF資源

部署至 Azure
此範本可讓您使用單一容量集區和使用SMB通訊協定設定的單一磁碟區來建立新的 Azure NetApp Files 資源。

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.NetApp/netAppAccounts",
  "apiVersion": "2019-10-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "activeDirectories": [
      {
        "activeDirectoryId": "string",
        "dns": "string",
        "domain": "string",
        "organizationalUnit": "string",
        "password": "string",
        "smbServerName": "string",
        "status": "string",
        "username": "string"
      }
    ]
  }
}

屬性值

netAppAccounts

名字 描述 價值
類型 資源類型 'Microsoft.NetApp/netAppAccounts'
apiVersion 資源 API 版本 '2019-10-01'
名字 資源名稱 字串 (必要)

字元限制:1-128

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

從英數位元開始。
位置 資源位置 字串 (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
性能 NetApp 帳戶屬性 AccountProperties

AccountProperties

名字 描述 價值
activeDirectories Active Directory ActiveDirectory[]

ActiveDirectory

名字 描述 價值
activeDirectoryId Active Directory 的標識符 字串
dns Active Directory 網域的 DNS 伺服器 IP 位址逗號分隔清單 (僅限 IPv4) 字串
Active Directory 網域的名稱 字串
organizationUnit Windows Active Directory 內的組織單位 (OU) 字串
密碼 Active Directory 網域管理員的純文本密碼 字串
smbServerName SMB 伺服器的 NetBIOS 名稱。 此名稱將會註冊為 AD 中的電腦帳戶,並用來掛接磁碟區 字串
地位 Active Directory 的狀態 字串
username Active Directory 網域管理員的用戶名稱 字串

快速入門範本

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

範本 描述
使用 NFSV3/NFSv4.1 磁碟區建立新的 ANF 資源

部署至 Azure
此範本可讓您建立新的 Azure NetApp Files 資源,其中包含單一容量集區和使用 NFSV3 或 NFSv4.1 通訊協定設定的單一磁碟區。 它們全都部署在一起,以及建立任何磁碟區所需的 Azure 虛擬網路和委派子網
使用SMB磁碟區建立新的ANF資源

部署至 Azure
此範本可讓您使用單一容量集區和使用SMB通訊協定設定的單一磁碟區來建立新的 Azure NetApp Files 資源。

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetApp/netAppAccounts@2019-10-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      activeDirectories = [
        {
          activeDirectoryId = "string"
          dns = "string"
          domain = "string"
          organizationalUnit = "string"
          password = "string"
          smbServerName = "string"
          status = "string"
          username = "string"
        }
      ]
    }
  })
}

屬性值

netAppAccounts

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

字元限制:1-128

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

從英數位元開始。
位置 資源位置 字串 (必要)
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
標籤 資源標籤 標記名稱和值的字典。
性能 NetApp 帳戶屬性 AccountProperties

AccountProperties

名字 描述 價值
activeDirectories Active Directory ActiveDirectory[]

ActiveDirectory

名字 描述 價值
activeDirectoryId Active Directory 的標識符 字串
dns Active Directory 網域的 DNS 伺服器 IP 位址逗號分隔清單 (僅限 IPv4) 字串
Active Directory 網域的名稱 字串
organizationUnit Windows Active Directory 內的組織單位 (OU) 字串
密碼 Active Directory 網域管理員的純文本密碼 字串
smbServerName SMB 伺服器的 NetBIOS 名稱。 此名稱將會註冊為 AD 中的電腦帳戶,並用來掛接磁碟區 字串
地位 Active Directory 的狀態 字串
username Active Directory 網域管理員的用戶名稱 字串