註冊 Azure NetApp FilesRegister for Azure NetApp Files

重要

再註冊 Azure NetApp 檔案資源提供者,您一定會收到一封電子郵件確認您已獲得服務的存取權的 Azure NetApp 檔案小組。Before registering the Azure NetApp Files resource provider, you must have received an email from the Azure NetApp Files team confirming that you have been granted access to the service.

在這篇文章,了解如何註冊 Azure NetApp 檔案,以便您可以開始使用服務。In this article, learn how to register for Azure NetApp Files so that you can begin to use the service.

提交的等候清單要求存取服務Submit a waitlist request for accessing the service

  1. 用於存取 Azure NetApp 檔案服務透過等候清單要求提交Azure NetApp 檔案等候清單提交頁面Submit a waitlist request for accessing the Azure NetApp Files service through the Azure NetApp Files waitlist submission page.

    等候清單註冊並不保證立即服務存取。Waitlist signup does not guarantee immediate service access.

  2. 與其他工作繼續之前,以等候來自 Azure NetApp 檔案團隊的官方的確認電子郵件。Wait for an official confirmation email from the Azure NetApp Files team before continuing with other tasks.

註冊 NetApp 資源提供者Register the NetApp Resource Provider

若要使用服務,您必須註冊 Azure NetApp Files 的 Azure 資源提供者。To use the service, you must register the Azure Resource Provider for Azure NetApp Files.

注意

您將能夠成功註冊 NetApp 資源提供者,即使沒有被授與存取服務。You will be able to successfully register the NetApp Resource Provider even without being granted access for service. 不過,存取授權,而任何的 Azure 入口網站或建立 NetApp 帳戶或任何其他 Azure NetApp 檔案資源的 API 要求將會遭到拒絕,發生下列錯誤:However, without access authorization, any Azure portal or API request to create a NetApp account or any other Azure NetApp Files resource will be rejected with the following error:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"InvalidResourceType\",\r\n \"message\": \"The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15'.\"\r\n }\r\n}"}]}

  1. 在 Azure 入口網站中,按一下右上角的 Azure Cloud Shell 圖示:From the Azure portal, click the Azure Cloud Shell icon on the upper right-hand corner:

    Azure Cloud Shell 圖示

  2. 如果您的 Azure 帳戶中有多個訂用帳戶,請選取已列入 Azure NetApp Files 允許清單中的訂用帳戶:If you have multiple subscriptions on your Azure account, select the one that has been whitelisted for Azure NetApp Files:

     az account set --subscription <subscriptionId>
    
  3. 在 Azure Cloud Shell 主控台中輸入下列命令,以驗證您的訂用帳戶已列入白清單中:In the Azure Cloud Shell console, enter the following command to verify that your subscription has been whitelisted:

     az feature list | grep NetApp
    

    命令輸出顯示如下:The command output appears as follows:

    "id": "/subscriptions/<SubID>/providers/Microsoft.Features/providers/Microsoft.NetApp/features/ANFGA",  
    "name": "Microsoft.NetApp/ANFGA" 
    

    <SubID> 是您的訂用帳戶識別碼。<SubID> is your subscription ID.

    如果您看不到功能名稱Microsoft.NetApp/ANFGA,您沒有服務的存取權。If you do not see the feature name Microsoft.NetApp/ANFGA, you do not have access to the service. 在此步驟中停止。Stop at this step. 遵循指示提交存取服務的等候清單要求要求服務存取,然後再繼續。Follow instructions in Submit a waitlist request for accessing the service to request service access before continuing.

  4. 在 Azure Cloud Shell 中輸入下列命令,以註冊 Azure 資源提供者:In the Azure Cloud Shell console, enter the following command to register the Azure Resource Provider:

     az provider register --namespace Microsoft.NetApp --wait
    

    --wait 參數會指示主控台等候註冊完成。The --wait parameter instructs the console to wait for the registration to complete. 註冊程序可能需要一些時間才能完成。The registration process can take some time to complete.

  5. 在 Azure Cloud Shell 中輸入下列命令,以驗證 Azure 資源提供者已註冊:In the Azure Cloud Shell console, enter the following command to verify that the Azure Resource Provider has been registered:

     az provider show --namespace Microsoft.NetApp
    

    命令輸出顯示如下:The command output appears as follows:

     {
     "id": "/subscriptions/<SubID>/providers/Microsoft.NetApp",
     "namespace": "Microsoft.NetApp", 
     "registrationState": "Registered", 
     "resourceTypes": […. 
    

    <SubID> 是您的訂用帳戶識別碼。<SubID> is your subscription ID. state 參數值會指出 RegisteredThe state parameter value indicates Registered.

  6. 從 Azure 入口網站中,按一下 [訂用帳戶] 刀鋒視窗。From the Azure portal, click the Subscriptions blade.

  7. 在 [訂用帳戶] 刀鋒視窗中,按一下您的訂用帳戶識別碼。In the Subscriptions blade, click your subscription ID.

  8. 在訂用帳戶設定中按一下 [資源提供者] ,以驗證 Microsoft.NetApp 提供者顯示為 [已註冊] 狀態:In the settings of the subscription, click Resource providers to verify that Microsoft.NetApp Provider indicates the Registered status:

    已註冊的 Microsoft.NetApp

後續步驟Next steps

建立 NetApp 帳戶Create a NetApp account