Partager via


Configurer un groupe de volumes d'application pour Oracle en utilisant l'API REST

Cet article décrit la création du groupe de volumes d'application (AVG) pour Oracle à l'aide de l'API REST. Les détails incluent les paramètres et propriétés sélectionnés requis pour le déploiement. L'article spécifie également des contraintes et des valeurs classiques pour la création AVG pour Oracle, le cas échéant.

Groupe de volumes d’applications : créer

Dans une demande de création, utilisez le format d’URI suivant :

/subscriptions/<subscriptionId>/providers/Microsoft.NetApp/resourceGroups/<resourceGroupName>/providers/Microsoft.NetApp/netAppAccounts/<accountName>/volumeGroups/<volumeGroupName>?api-version=<apiVersion>

Paramètre d’URI Descriptif Restrictions pour Oracle AVG
subscriptionId ID d’abonnement Aucun
resourceGroupName Nom du groupe ressources Aucun
accountName Nom de compte NetApp Aucun
volumeGroupName Nom du groupe de volumes Le format recommandé est <SID>-<Name>

- SID : identificateur unique. L'ID système unique Oracle peut contenir des caractères alphanumériques, des traits d'union ('-') et des traits de soulignement ('_'). Il doit être composé d'une chaîne de 3 caractères au minimum et de 12 caractères au maximum, et doit commencer par une lettre.

– Nom : chaîne de votre choix

Exemple : ORA-Testing
apiVersion Version de l'API Doit être 2023-05-01 ou ultérieure

Corps de la demande

Le corps de la requête se compose des paramètres externes, des propriétés de groupe et d’un tableau de volumes à créer, chacun avec leurs paramètres externes individuels et propriétés de volume.

Le tableau suivant décrit les paramètres du corps de la requête et les propriétés de niveau groupe nécessaires à la création d'un déploiement Oracle.

Paramètre d’URI Descriptif Restrictions pour Oracle AVG
Location Région dans laquelle créer le groupe de volumes d’application Aucun
Propriétés de groupe
groupDescription Description du groupe Chaîne de forme libre
applicationType Type d'application Utiliser ORACLE pour les déploiements AVG pour Oracle
applicationIdentifier Chaîne d'identificateur spécifique à l'application Pour Oracle, ce paramètre est l'ID système unique
deploymentSpecId Identificateur de spécification de déploiement définissant les règles pour déployer le type de groupe de volumes d’application spécifique Doit être : 10542149-bfca-5618-1879-9863dc6767f1
volumes Tableau de volumes à créer (voir le tableau suivant pour les détails granulaires du volume) Il peut y avoir 2 à 12 volumes dans le cadre d'un déploiement Oracle :

- Obligatoire : un volume de données et un volume de journalisation

- Facultatif : données 2-8, mir-log, sauvegarde, binaire

Les tableaux suivants décrivent les paramètres du corps de la demande et les propriétés de volume pour la création d'un volume dans un groupe de volumes d'application Oracle.

Paramètre de requête au niveau du volume Descriptif Restrictions
name Nom du volume, qui inclut oracle SID pour identifier la base de données à l'aide des volumes du groupe Aucune.

Exemples ou noms de volumes recommandés :

- <sid>-ora-data1 (données)
- <sid>-ora-data2 (données)
- <sid>-ora-log (journal)
- <sid>-ora-log-mirror (mirlog)
- <sid>-ora-binary (binaire)
- <sid>-ora-bakup (sauvegarde)
tags Balises de volume Aucun
zones Zones de disponibilité Pour Oracle AVG :

– Si la région comporte des zones de disponibilité, vous devez sélectionner des zones. Ex. : zones (1, 2 ou 3).

– Si une région ne comporte pas de zones disponibles et que l'utilisation de PPG n'est pas activée, le client peut accéder au déploiement régional (nécessite l'activation PPG).

Propriétés du volume Descriptif Restrictions de valeur Oracle
creationToken Exportez le nom du chemin d'accès, généralement identique au nom du volume. <sid>-ora-data1
throughputMibps Débit de QoS Vous devez définir le débit en fonction du type de volume compris entre 1 Miobits/s et 4 500 Miobits/s.
usageThreshold Taille du volume en octets. Cette valeur doit être comprise entre 50 Gio et 100 Tio. Par exemple, 100 Gio = 107374182400 octets. Vous devez définir la taille du volume en octets.
exportPolicyRule Règle de stratégie d’exportation de volume Au moins une règle de stratégie d'exportation doit être spécifiée pour Oracle. Seules les valeurs de règles suivantes peuvent être modifiées pour Oracle. Le reste doit avoir ses valeurs par défaut :

- unixReadOnly : doit être false.

- unixReadWrite : doit être true.

- allowedClients : spécifiez les clients autorisés. Utilisez 0.0.0.0/0 pour pas de restrictions.

- hasRootAccess : doit être true pour utiliser l'utilisateur racine pour l'installation.

- chownMode : spécifiez le mode chown.

- Select nfsv41: or nfsv3: : comme true. Il est recommandé d'utiliser la même version de protocole pour tous les volumes.

Toutes les autres valeurs de règle doivent être laissées par défaut.
volumeSpecName Spécifie le type de volume du groupe de volumes d’application en cours de création Les volumes Oracle doivent avoir une valeur correspondant à l'un des éléments suivants :

- 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 ID de ressource du groupe de placement de proximité (PPG) pour le placement approprié du volume. Ce paramètre est facultatif. Si la région dispose de zones disponibles, l'utilisation de zones est toujours prioritaire. Les volumes data, log et mirror-log, ora-binary et backup doivent chacun avoir un PPG spécifié, de préférence un PPG commun.
subnetId ID de sous-réseau délégué pour Azure NetApp Files. L'ID de sous-réseau doit être identique pour tous les volumes.
capacityPoolResourceId ID du pool de capacités Le pool de capacités doit être de type QoS manuel. En règle générale, tous les volumes Oracle sont placés dans un pool de capacités commun. Toutefois, ce n'est pas une exigence.
protocolTypes Protocole à utiliser Ce paramètre doit être NFSv3 ou NFSv4.1 et doit correspondre au protocole spécifié dans la règle de stratégie d'exportation décrite plus haut dans ce tableau.
endpointType Type de point de terminaison pour une configuration de réplication. La valeur autorisée est dst
remoteVolumeResourceId ID de ressource du volume distant ID de volume
replicationSchedule Fréquence de réplication (quotidienne, horaire ou toutes les 10 minutes) Les valeurs autorisées sont daily, hourlyou _10minutely

Exemples : groupe de volumes d'applications pour le contenu de demande d'API Oracle

Les exemples de cette section illustrent les valeurs passées dans la demande de création de groupe de volumes pour diverses configurations Oracle. Les exemples illustrent les meilleures pratiques en matière de nommage, de dimensionnement et de valeurs, comme décrit dans les tables.

Dans les exemples suivants, les espaces réservés sélectionnés sont spécifiés. Vous devez les remplacer par des valeurs propres à votre configuration. Ces valeurs incluent :

  • <SubscriptionId>-Exemple: aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
  • <ResourceGroup> -Exemple: TestResourceGroup
  • <NtapAccount> -Exemple: TestAccount
  • <VolumeGroupName> -Exemple: SH9-Test-00001
  • <SubnetId> -Exemple: /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/SH9_Subnet
  • <CapacityPoolResourceId> -Exemple: /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/SH9_Pool

Créer des groupes de volumes d'application pour Oracle à l'aide de curl

Les groupes de volumes Oracle pour les exemples suivants peuvent être créés à l'aide d'un exemple de script interpréteur de commandes qui appelle l'API à l'aide de curl :

  1. Extrayez l’ID d’abonnement. Cette commande automatise l’extraction de l’ID d’abonnement et génère le jeton d’autorisation :

    subId=$(az account list | jq ".[] | select (.name == \"Pay-As-You-Go\") | .id" -r)echo "Subscription ID: $subId" 
    
  2. Créez le jeton d’accès :

    response=$(az account get-access-token)token=$(echo $response | jq ".accessToken" -r)echo "Token: $token" 
    
  3. Appelez l’API REST à l’aide de curl :

    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 . 
    

Exemple : Groupe de volumes d'application pour la demande de création Oracle

Cet exemple crée un nom de groupe de volumes « group1 » avec les volumes suivants :

  • 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

Enregistrez le modèle JSON comme sh9.json:

Remarque

Les espaces réservés <SubnetId> et les <CapacityPoolResourceId> doivent être remplacés, et les données de volume doivent être adaptées lors de l’utilisation de ce json comme modèle pour votre propre déploiement.

{ 
      "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" 
              ]
            }
          }
        ]
      }
    }
  }
}

Adapter et démarrer le script

Remarque

Ce fichier d’entrée JSON doit être utilisé avec le script ci-dessus.

#! /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 .

Remarque

L’utilisation | jq . à la fin de l’appel curl retourne le JSON dans un format plus structuré.

Exemple de résultat

{
        "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"
                ]
              }
            }
          ]
        }
      }
    }
  }
}

Configurer la réplication interrégion ou interzone (version préliminaire)

Vous pouvez utiliser la réplication interzone ou interrégion pour la récupération d’urgence pour votre groupe de volumes d’applications. Cet exemple configure la réplication interzone. Cette fonctionnalité est actuellement en préversion.

Remarque

Dans cet exemple, les espaces réservés pour <CapacityPoolResourceId>, <SrcVolumeId>et <SubnetId> doivent être remplacés.

{
    "location": "eastus",
    "properties": {
        "groupMetaData": {
            "groupDescription": "Data Protection: Test group for ORA",
            "applicationType": "ORACLE",
            "applicationIdentifier": "ORA"
        },
        "volumes": [
            {
                "name": "ORA-ora-data1",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data1",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data1",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data1>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data2",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data2",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data2",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data2>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data3", 
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data3",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data3",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data3>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data4",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data4",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data4",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data4>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data5",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data5",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data5",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data5>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data6",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data6",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data6",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data6>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data7",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data7",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data7",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data7>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data8",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-data8",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data8",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data8>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-log",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-log",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-log",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_log>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-log-mirror",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-log-mirror",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-log-mirror",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_log_mirror>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-binary",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-binary",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-binary",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_binary>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-backup",
                "zones": [
                    2
                ],
                "properties": {
                    "creationToken": "ORA-ora-backup",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-backup",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_backup>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            }
        ]
    }
}

Réplication interrégion à l’aide d’un groupe de placement de proximité

Cet exemple configure la réplication interrégion d'un groupe de volumes applicatifs Oracle déployé grâce à un groupe de placement de proximité.

Remarque

Dans cet exemple, les espaces réservés pour <CapacityPoolResourceId>, <SrcVolumeId>et <SubnetId> doivent être remplacés.

{
    "location": "eastus",
    "properties": {
        "groupMetaData": {
            "groupDescription": "Data Protection: Test group for ORA",
            "applicationType": "ORACLE",
            "applicationIdentifier": "ORA"
        },
        "volumes": [
            {
                "name": "ORA-ora-data1",
                "properties": {
                    "creationToken": "ORA-ora-data1",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data1",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data1>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data2",
                "properties": {
                    "creationToken": "ORA-ora-data2",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data2",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data2>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data3",
                "properties": {
                    "creationToken": "ORA-ora-data3",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data3",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data3>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data4",
                "properties": {
                    "creationToken": "ORA-ora-data4",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data4",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data4>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data5",
                "properties": {
                    "creationToken": "ORA-ora-data5",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data5",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data5>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data6",
                "properties": {
                    "creationToken": "ORA-ora-data6",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data6",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data6>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data7",
                "properties": {
                    "creationToken": "ORA-ora-data7",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data7",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data7>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-data8",
                "properties": {
                    "creationToken": "ORA-ora-data8",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-data8",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_data8>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-log",
                "properties": {
                    "creationToken": "ORA-ora-log",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-log",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_log>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-log-mirror",
                "properties": {
                    "creationToken": "ORA-ora-log-mirror",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-log-mirror",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_log_mirror>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-binary",
                "properties": {
                    "creationToken": "ORA-ora-binary",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-binary",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_binary>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            },
            {
                "name": "ORA-ora-backup",
                "properties": {
                    "creationToken": "ORA-ora-backup",
                    "serviceLevel": "standard",
                    "throughputMibps": 10,
                    "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"
                    ],
                    "subnetId": <SubnetId>,
                    "usageThreshold": 107374182400,
                    "volumeSpecName": "ora-backup",
                    "capacityPoolResourceId": <CapacityPoolResourceId>,
                    "proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
                    "volumeType": "DataProtection",
                    "dataProtection": {
                        "replication": {
                            "endpointType": "dst",
                            "remoteVolumeResourceId": <SrcVolumeId_backup>,
                            "replicationSchedule": "Hourly"
                        }
                    }
                }
            }
        ]
    }
}

Étapes suivantes