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.
  /**
   * This sample demonstrates how to Gets the information about the application resource with the given name. The information include the description and other properties of the application.
   *
   * @summary Gets the information about the application resource with the given name. The information include the description and other properties of the application.
   * x-ms-original-file: specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json
   */
  const { ServiceFabricMeshManagementClient } = require("@azure/arm-servicefabricmesh");
  const { DefaultAzureCredential } = require("@azure/identity");
  
  async function getApplication() {
    const subscriptionId = "00000000-0000-0000-0000-000000000000";
    const resourceGroupName = "sbz_demo";
    const applicationResourceName = "sampleApplication";
    const credential = new DefaultAzureCredential();
    const client = new ServiceFabricMeshManagementClient(credential, subscriptionId);
    const result = await client.application.get(resourceGroupName, applicationResourceName);
    console.log(result);
  }
  
  getApplication().catch(console.error);
  