使用 REST API 設定 Oracle 的應用程式磁碟區群組
本文說明如何使用 REST API 為 Oracle 建立應用程式磁碟區群組 (AVG)。 詳細數據報括部署所需的選取參數和屬性。 本文也會針對適用於 Oracle 建立的 AVG 指定條件約束和一般值。
應用程式磁碟區群組 create
create
在要求中,使用下列 URI 格式:
/subscriptions/<subscriptionId>/providers/Microsoft.NetApp/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.NetApp/netAppAccounts/<accountName>/volumeGroups/<volumeGroupName>?api-version=<apiVersion>
URI 參數 | 描述 | Oracle AVG 的限制 |
---|---|---|
subscriptionId |
訂用帳戶識別碼 | 無 |
resourceGroupName |
資源群組名稱 | 無 |
accountName |
NetApp 帳戶名稱 | 無 |
volumeGroupName |
磁碟區群組名稱 | 建議的格式為 <SID>-<Name> - SID :唯一標識碼。 Oracle 唯一系統識別碼只能包含英數位元、連字元 ('-') 和底線('_')。 它必須是最小 3 個字元和最多 12 個字元的字串,而且必須以字母開頭。 - 名稱:您選擇的字串。 範例: ORA-Testing |
apiVersion |
API 版本 | 必須是 2023-05-01 或更新版本 |
要求本文
要求本文包含外部參數、群組屬性,以及要建立的磁碟區陣列,每個磁碟區都有其個別外部參數和磁碟區屬性。
下表描述建立 Oracle 部署所需的要求本文參數和群組層級屬性。
URI 參數 | 描述 | Oracle AVG 的限制 |
---|---|---|
Location |
要在其中建立應用程式磁碟區群組的區域 | 無 |
群組屬性 | ||
groupDescription |
群組的描述 | 自由格式字串 |
applicationType |
應用程式類型 | 針對 Oracle 部署使用 ORACLE for AVG |
applicationIdentifier |
應用程式特定識別符字串 | 針對 Oracle,此參數是唯一的系統識別碼 |
deploymentSpecId |
定義要部署特定應用程式磁碟區群組類型的規則的部署規格標識碼 | 必須是: 10542149-bfca-5618-1879-9863dc6767f1 |
volumes |
要建立的磁碟區陣列 (請參閱下一個資料表,以取得磁碟區細微程度的詳細資料) | 在 Oracle 部署中,可以有 2-12 個磁碟區: - 必要:1 個數據和1個記錄 - 選擇性:數據 2-8、mir-log、backup、binary |
下表描述在 Oracle 應用程式磁碟區群組中建立磁碟區的要求本文參數和磁碟區屬性。
磁碟區層級要求參數 | 描述 | Oracle 的限制 |
---|---|---|
name |
磁碟區名稱,其中包含 Oracle SID,以使用群組中的磁碟區來識別資料庫 | 無。 範例或建議的磁碟區名稱: - <sid>-ora-data1 (資料) - <sid>-ora-data2 (資料) - <sid>-ora-log (記錄) - <sid>-ora-log-mirror (mirlog) - <sid>-ora-binary (二進位) - <sid>-ora-bakup (備份) |
tags |
磁碟區標記 | 無 |
zones |
可用性區域 | 針對 Oracle AVG: - 如果區域具有可用性區域,則必須選取區域。 例如:區域(1、2 或 3)。 - 如果區域沒有可用的區域,且未啟用 PPG 的使用,則客戶可以前往區域部署(需要 PPG 啟用)。 |
磁碟區屬性 | 描述 | Oracle 值限制 |
---|---|---|
creationToken |
匯出路徑名稱,通常與磁碟區名稱相同。 | <sid>-ora-data1 |
throughputMibps |
QoS 輸送量 | 您應該根據 1 MiBps 和 4500 MiBps 之間的磁碟區類型來設定輸送量。 |
usageThreshold |
以位元組為單位的磁碟區大小。 此值必須介於 50 GiB 到 100-TiB 範圍內。 例如,100 GiB = 107374182400 個位元組。 | 您應該以位元組為單位來設定磁碟區大小。 |
exportPolicyRule |
磁碟區匯出原則規則 | 至少必須針對 Oracle 指定一個匯出原則規則。 Oracle 只能修改下列規則值。 其餘 部分必須 具有其預設值: - unixReadOnly :應該是 false。 - unixReadWrite :應該是 true。 - allowedClients :指定允許的用戶端。 無限制地使用 0.0.0.0/0 。 - hasRootAccess :必須是 true,才能使用根用戶進行安裝。 - chownMode :指定 chown 模式。 - Select nfsv41: or nfsv3: :true。 建議對所有磁碟區使用相同的通訊協定版本。 所有其他規則值都必須保留預設值。 |
volumeSpecName |
指定要建立之應用程式磁碟區群組的磁碟區類型 | Oracle 磁碟區必須具有下列其中一個值: - ora-data1 - ora-data2 - ora-data3 - ora-data4 - ora-data5 - ora-data6 - ora-data7 - ora-data8 - ora-log - ora-log-mirror - ora-binary - ora-backup |
proximityPlacementGroup |
適當放置磁碟區的鄰近放置群組 (PPG) 資源識別碼。 這是選用參數。 如果區域有可用的區域,則使用區域一律優先。 | 、 log 和 和 mirror-log backup ora-binary 磁碟data 區必須各自指定 PPG,最好是一般 PPG。 |
subnetId |
Azure NetApp Files 的委派子網路識別碼。 | 所有磁碟區的子網標識碼都必須相同。 |
capacityPoolResourceId |
容量集區的識別碼 | 容量集區的類型必須是手動 QoS。 一般而言,所有 Oracle 磁碟區都會放在通用容量集區中。 不過,這不是必要條件。 |
protocolTypes |
要使用的通訊協定 | 此參數應該是 NFSv3 或 NFSv4.1,而且應該符合本表稍早所述的導出原則規則中指定的通訊協定。 |
範例:Oracle API 要求內容的應用程式磁碟區群組
本節中的範例說明針對各種 Oracle 組態,在磁碟區群組建立要求中傳遞的值。 這些範例示範命名、調整大小和值的最佳做法,如資料表中所述。
在下列範例中,會指定選取的預留位置。 您應該將它們取代為組態特定的值。 這些值包括:
<SubscriptionId>
:
訂用帳戶 ID。 範例:aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
<ResourceGroup>
:
資源群組。 範例:TestResourceGroup
<NtapAccount>
:
NetApp 帳戶。 範例:TestAccount
<VolumeGroupName>
:
磁碟區組名。 範例:SH9-Test-00001
<SubnetId>
:
子網資源標識碼。 範例:/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/SH9_Subnet
<CapacityPoolResourceId>
:
容量集區資源標識碼。 範例:/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/SH9_Pool
使用 curl 建立 Oracle 的應用程式磁碟區群組
您可以使用使用 curl 呼叫 API 的範例殼層腳本來建立下列範例的 Oracle 磁碟區群組:
- 擷取訂用帳戶 ID。 這個指令會自動擷取訂用帳戶標識碼併產生授權權杖:
subId=$(az account list | jq ".[] | select (.name == \"Pay-As-You-Go\") | .id" -r)echo "Subscription ID: $subId"
- 建立存取權杖:
response=$(az account get-access-token)token=$(echo $response | jq ".accessToken" -r)echo "Token: $token"
- 使用 curl 呼叫 REST API:
echo "---"curl -X PUT -H "Authorization: Bearer $token" -H "Content-Type:application/json" -H "Accept:application/json" -d @<ExampleJson> https://management.azure.com/subscriptions/$subId/resourceGroups/<ResourceGroup>/providers/Microsoft.NetApp/netAppAccounts/<NtapAccount>/volumeGroups/<VolumeGroupName>?api-version=2023-05-01 | jq .
範例:Oracle 建立要求的應用程式磁碟區群組
此範例會使用下列磁碟區建立磁碟區群組名稱 「group1」 :
- test-ora-data1
- test-ora-data2
- test-ora-data3
- test-ora-data4
- test-ora-data5
- test-ora-data6
- test-ora-data7
- test-ora-data8
- test-ora-log
- test-ora-log-mirror
- test-ora-binary
- test-ora-backup
將 JSON 樣本儲存為 sh9.json
:
注意
佔位元 <SubnetId>
和 <CapacityPoolResourceId>
需要取代,而且磁碟區數據必須在使用這個 json
做為您自己的部署範本時進行調整。
{
"location": "westus",
"properties": {
"groupMetaData": {
"groupDescription": "Volume group",
"applicationType": "ORACLE",
"applicationIdentifier": "OR2"
},
"volumes": [
{
"name": "test-ora-data1",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data1",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data1",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data2",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data2",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data2",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data3",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data3",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data3",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data4",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data4",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data4",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data5",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data5",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data5",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data6",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data6",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data6",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data7",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data7",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data7",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data8",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data8",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data8",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-log",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-log",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-log-mirror",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-log-mirror",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log-mirror",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-binary",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-binary",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-binary",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-backup",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-backup",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-backup",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
}
]
}
}
}
}
調整並啟動腳本
注意
此 json 輸入檔案現在應該與上述腳本搭配使用。
#! /bin/bash
# 1. Extract the subscription ID:
#
subId=$(az account list | jq ".[] | select (.name == \"Pay-As-You-Go\") | .id" -r)
echo "Subscription ID: $subId"
#
# 2. Create the access token:
#
response=$(az account get-access-token)
token=$(echo $response | jq ".accessToken" -r)
echo "Token: $token"
#
# 3. Call the REST API using curl
#
echo "---"
curl -X PUT -H "Authorization: Bearer $token" -H "Content-Type:application/json" -H "Accept:application/json" -d @sh9.json https://management.azure.com/subscriptions/$subId/resourceGroups/rg-westus/providers/Microsoft.NetApp/netAppAccounts/ANF-WestUS-test/volumeGroups/test-ORA?api-version=2022-03-01 | jq .
範例結果
注意
在 | jq .
curl 呼叫結束時使用 ,傳回的 json 格式正確。
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
"name": "group1",
"type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
"location": "westus",
"properties": {
"provisioningState": "Creating",
"groupMetaData": {
"groupDescription": "Volume group",
"applicationType": "ORACLE",
"applicationIdentifier": "OR2"
},
"volumes": [
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data1",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data1",
"serviceLevel": "Premium",
"creationToken": "test-ora-data1",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data2",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data2",
"serviceLevel": "Premium",
"creationToken": "test-ora-data2",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data3",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data3",
"serviceLevel": "Premium",
"creationToken": "test-ora-data3",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data4",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data4",
"serviceLevel": "Premium",
"creationToken": "test-ora-data4",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data5",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data5",
"serviceLevel": "Premium",
"creationToken": "test-ora-data5",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data6",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data6",
"serviceLevel": "Premium",
"creationToken": "test-ora-data6",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data7",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data7",
"serviceLevel": "Premium",
"creationToken": "test-ora-data7",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data8",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data8",
"serviceLevel": "Premium",
"creationToken": "test-ora-data8",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-log",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-log",
"serviceLevel": "Premium",
"creationToken": "test-ora-log",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-log-mirror",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-log-mirror",
"serviceLevel": "Premium",
"creationToken": "test-ora-log-mirror",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-binary",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-binary",
"serviceLevel": "Premium",
"creationToken": "test-ora-binary",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-backup",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-backup",
"serviceLevel": "Premium",
"creationToken": "test-ora-backup",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
}
]
}
}
}
}
}