你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.NetApp netAppAccounts 2019-05-01
- 最新
- 2023-07-01
- 2023-05-01
- 2023-05-01-preview
- 2022-11-01
- 2022-11-01-preview
- 2022-09-01
- 2022-05-01
- 2022-03-01
- 2022-01-01
- 2021-10-01
- 2021-08-01
- 2021-06-01
- 2021-04-01
- 2021-04-01-preview
- 2021-02-01
- 2020-12-01
- 2020-11-01
- 2020-09-01
- 2020-08-01
- 2020-07-01
- 2020-06-01
- 2020-05-01
- 2020-03-01
- 2020-02-01
- 2019-11-01
- 2019-10-01
- 2019-08-01
- 2019-07-01
- 2019-06-01
- 2019-05-01
- 2017-08-15
Bicep 资源定义
netAppAccounts 资源类型可以通过针对以下操作进行部署:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.NetApp/netAppAccounts 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.NetApp/netAppAccounts@2019-05-01' = {
name: 'string'
location: 'string'
tags: any()
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
properties: {
activeDirectories: [
{
activeDirectoryId: 'string'
dns: 'string'
domain: 'string'
organizationalUnit: 'string'
password: 'string'
smbServerName: 'string'
status: 'string'
username: 'string'
}
]
}
}
属性值
netAppAccounts
名称 | 说明 | 值 |
---|---|---|
name | 资源名称 | 字符串 (必需) 字符限制:1-128 有效字符: 字母数字、下划线字符和连字符。 以字母数字开头。 |
location | 资源位置 | 字符串 (必需) |
标记 | 资源标记 | 对于 Bicep,可以使用 任何 () 函数。 |
properties | NetApp 帐户属性 | AccountProperties |
AccountProperties
名称 | 说明 | 值 |
---|---|---|
activeDirectories | Active Directory | ActiveDirectory[] |
ActiveDirectory
名称 | 说明 | 值 |
---|---|---|
activeDirectoryId | Active Directory 的 ID | 字符串 |
dns | Active Directory 域的 DNS 服务器 IP 地址的逗号分隔列表 | 字符串 |
域 | Active Directory 域名 | 字符串 |
organizationalUnit | 组织单位 (Windows Active Directory 中的 OU) | 字符串 |
password | Active Directory 域管理员的纯文本密码 | 字符串 |
smbServerName | SMB 服务器的 NetBIOS 名称。 此名称将在 AD 中注册为计算机帐户,并用于装载卷 | 字符串 |
status | Active Directory 的状态 | 字符串 |
username | Active Directory 域管理员的用户名 | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
使用 NFSV3/NFSv4.1 卷创建新的 ANF 资源 |
使用此模板可以创建新的Azure NetApp 文件资源,其中包含单个容量池和配置了 NFSV3 或 NFSv4.1 协议的单个卷。 它们都与 Azure 虚拟网络和委托子网一起部署,这些子网是创建任何卷所必需的 |
使用 SMB 卷创建新的 ANF 资源 |
使用此模板可以创建新的Azure NetApp 文件资源,其中包含配置了 SMB 协议的单个容量池和单个卷。 |
ARM 模板资源定义
netAppAccounts 资源类型可以通过针对以下操作进行部署:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.NetApp/netAppAccounts 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.NetApp/netAppAccounts",
"apiVersion": "2019-05-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
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.NetApp/netAppAccounts” |
apiVersion | 资源 API 版本 | '2019-05-01' |
name | 资源名称 | 字符串 (必需) 字符限制:1-128 有效字符: 字母数字、下划线字符和连字符。 以字母数字开头。 |
location | 资源位置 | 字符串 (必需) |
标记 | 资源标记 | |
properties | NetApp 帐户属性 | AccountProperties |
AccountProperties
名称 | 说明 | 值 |
---|---|---|
activeDirectories | Active Directory | ActiveDirectory[] |
ActiveDirectory
名称 | 说明 | 值 |
---|---|---|
activeDirectoryId | Active Directory 的 ID | 字符串 |
dns | Active Directory 域的 DNS 服务器 IP 地址的逗号分隔列表 | 字符串 |
域 | Active Directory 域名 | 字符串 |
organizationalUnit | 组织单位 (Windows Active Directory 中的 OU) | 字符串 |
password | Active Directory 域管理员的纯文本密码 | 字符串 |
smbServerName | SMB 服务器的 NetBIOS 名称。 此名称将在 AD 中注册为计算机帐户,并用于装载卷 | 字符串 |
status | Active Directory 的状态 | 字符串 |
username | Active Directory 域管理员的用户名 | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
使用 NFSV3/NFSv4.1 卷创建新的 ANF 资源 |
使用此模板可以创建新的Azure NetApp 文件资源,其中包含单个容量池和配置了 NFSV3 或 NFSv4.1 协议的单个卷。 它们都与 Azure 虚拟网络和委托子网一起部署,这些子网是创建任何卷所必需的 |
使用 SMB 卷创建新的 ANF 资源 |
使用此模板可以创建新的Azure NetApp 文件资源,其中包含配置了 SMB 协议的单个容量池和单个卷。 |
Terraform (AzAPI 提供程序) 资源定义
netAppAccounts 资源类型可以通过针对以下操作进行部署:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.NetApp/netAppAccounts 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NetApp/netAppAccounts@2019-05-01"
name = "string"
location = "string"
parent_id = "string"
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
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.NetApp/netAppAccounts@2019-05-01” |
name | 资源名称 | 字符串 (必需) 字符限制:1-128 有效字符: 字母数字、下划线字符和连字符。 以字母数字开头。 |
location | 资源位置 | 字符串 (必需) |
parent_id | 若要部署到资源组,请使用该资源组的 ID。 | 字符串 (必需) |
标记 | 资源标记 | |
properties | NetApp 帐户属性 | AccountProperties |
AccountProperties
名称 | 说明 | 值 |
---|---|---|
activeDirectories | Active Directory | ActiveDirectory[] |
ActiveDirectory
名称 | 说明 | 值 |
---|---|---|
activeDirectoryId | Active Directory 的 ID | 字符串 |
dns | Active Directory 域的 DNS 服务器 IP 地址的逗号分隔列表 | 字符串 |
域 | Active Directory 域名 | 字符串 |
organizationalUnit | 组织单位 (Windows Active Directory 中的 OU) | 字符串 |
password | Active Directory 域管理员的纯文本密码 | 字符串 |
smbServerName | SMB 服务器的 NetBIOS 名称。 此名称将在 AD 中注册为计算机帐户,并用于装载卷 | 字符串 |
status | Active Directory 的状态 | 字符串 |
username | Active Directory 域管理员的用户名 | 字符串 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈