summary import { ComputeManagementClient } from "@msinternal/compute-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function getInformationAboutAManagedDisk ( ) { const subscriptionId = "{subscription-id}" ; const resourceGroupName = "myResourceGroup" ; const diskName = "myManagedDisk" ; const credential = new DefaultAzureCredential ( ) ; const client = new ComputeManagementClient ( credential , subscriptionId ) ; const result = await client . disks . get ( resourceGroupName , diskName ) ; console . log ( result ) ; } getInformationAboutAManagedDisk ( ) . catch ( console . error ) ;