我正在为 azure 使用最新的 java SDK。当我获取所有虚拟机时,我没有从虚拟机(经典)中获取虚拟机
ServiceClientCredentials credentials = new ApplicationTokenCredentials(client, tenant, key, AzureEnvironment.AZURE);
Azure azure = Azure.authenticate(credentials).withSubscription(subscriptionId);
PagedList<VirtualMachine> vms = azure.virtualMachines().list();