text: /*
   * Copyright (c) Microsoft Corporation.
   * Licensed under the MIT License.
   *
   * Code generated by Microsoft (R) AutoRest Code Generator.
   * Changes may cause incorrect behavior and will be lost if the code is regenerated.
   */
  
  // Copyright (c) Microsoft Corporation.
  // Licensed under the MIT License.
  const { NetAppManagementClient } = require("@azure/arm-netapp");
  const { DefaultAzureCredential } = require("@azure/identity");
  
  /**
   * This sample demonstrates how to Get the NetApp account
   *
   * @summary Get the NetApp account
   * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-01-01/examples/Accounts_Get.json
   */
  async function accountsGet() {
    const subscriptionId = "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9";
    const resourceGroupName = "myRG";
    const accountName = "account1";
    const credential = new DefaultAzureCredential();
    const client = new NetAppManagementClient(credential, subscriptionId);
    const result = await client.accounts.get(resourceGroupName, accountName);
    console.log(result);
  }
  
  accountsGet().catch(console.error);
  