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 a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
   *
   * @summary Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
   * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json
   */
  const { ComputeManagementClient } = require("@azure/arm-compute");
  const { DefaultAzureCredential } = require("@azure/identity");
  
  async function virtualMachineImagesEdgeZoneListMinimumSetGen() {
    const subscriptionId = "{subscription-id}";
    const location = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
    const edgeZone = "aaaaa";
    const publisherName = "aaaaaaaaaaaaaaaaaaa";
    const offer = "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
    const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
    const credential = new DefaultAzureCredential();
    const client = new ComputeManagementClient(credential, subscriptionId);
    const result = await client.virtualMachineImagesEdgeZone.list(
      location,
      edgeZone,
      publisherName,
      offer,
      skus
    );
    console.log(result);
  }
  
  virtualMachineImagesEdgeZoneListMinimumSetGen().catch(console.error);
  