summary import { ComputeManagementClient } from "@msinternal/compute-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function getAGalleryApplicationVersionWithReplicationStatus ( ) { const subscriptionId = "{subscription-id}" ; const resourceGroupName = "myResourceGroup" ; const galleryName = "myGalleryName" ; const galleryApplicationName = "myGalleryApplicationName" ; const galleryApplicationVersionName = "1.0.0" ; const expand = "ReplicationStatus" ; const options = { expand : expand } ; const credential = new DefaultAzureCredential ( ) ; const client = new ComputeManagementClient ( credential , subscriptionId ) ; const result = await client . galleryApplicationVersions . get ( resourceGroupName , galleryName , galleryApplicationName , galleryApplicationVersionName , options ) ; console . log ( result ) ; } getAGalleryApplicationVersionWithReplicationStatus ( ) . catch ( console . error ) ;