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 { EventGridManagementClient } = require("@azure/arm-eventgrid");
  const { DefaultAzureCredential } = require("@azure/identity");
  
  /**
   * This sample demonstrates how to Get properties of a partner configuration.
   *
   * @summary Get properties of a partner configuration.
   * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/PartnerConfigurations_Get.json
   */
  async function partnerConfigurationsGet() {
    const subscriptionId = "5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
    const resourceGroupName = "examplerg";
    const credential = new DefaultAzureCredential();
    const client = new EventGridManagementClient(credential, subscriptionId);
    const result = await client.partnerConfigurations.get(resourceGroupName);
    console.log(result);
  }
  
  partnerConfigurationsGet().catch(console.error);
  