You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception or Stack Trace
Caused by java.lang.IllegalArgumentException: Parameter resourceGroupName is required and cannot be null.
/opt/lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:529 in getByResourceGroupWithServiceResponseAsync
/opt//lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:508 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/TopLevelModifiableResourcesImpl.class:64 in getInnerAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:115 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:80 in getByIdAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:69 in getById
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:34
Setup (please complete the following information):
JRE Version: 11
SDK Version: 1.22.0
The text was updated successfully, but these errors were encountered:
VirtualMachine
/**
* @return the managed data disks associated with this virtual machine, indexed by LUN
*/
Map<Integer, VirtualMachineDataDisk> dataDisks();
@metaldectr
Would you help paste the id here (with redact if you prefer)?
I am fine with my test (with 1.36.0)
var vm = azure.virtualMachines().getById(VM_ID);
var id = vm.dataDisks().entrySet().iterator().next().getValue().id();
var disk = azure.disks().getById(id);
Exception or Stack Trace
Caused by java.lang.IllegalArgumentException: Parameter resourceGroupName is required and cannot be null.
/opt/lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:529 in getByResourceGroupWithServiceResponseAsync
/opt//lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:508 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/TopLevelModifiableResourcesImpl.class:64 in getInnerAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:115 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:80 in getByIdAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:69 in getById
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:34
Setup (please complete the following information):
The text was updated successfully, but these errors were encountered: