Exactly like the title says. How do I get the AWS ARN (Amazon Resource Name) for the VMs that reside in VMC?
Thanks.
I got this figured out.
(this all assumes you're already authenticated)
aws backup-gateway list-hypervisors (and get the ARN of the hypervisor where your VM resides)
Copy the value from the K/V pair of ResourceArn, with the quotes.
Then:
aws backup-gateway list-virtual-machines --hypervisor-arn "arn:aws:backup-gateway:us-west-2:987654321098:hypervisor/hype-12345678" (these are obviously bogus numbers, but you get the idea)
And then you will see the ResourceArn values for your VMs in the results!
Thank you AWS Support. They were the ones that helped me with this. I figured it would be VMware I'd need to contact first.
I got this figured out.
(this all assumes you're already authenticated)
aws backup-gateway list-hypervisors (and get the ARN of the hypervisor where your VM resides)
Copy the value from the K/V pair of ResourceArn, with the quotes.
Then:
aws backup-gateway list-virtual-machines --hypervisor-arn "arn:aws:backup-gateway:us-west-2:987654321098:hypervisor/hype-12345678" (these are obviously bogus numbers, but you get the idea)
And then you will see the ResourceArn values for your VMs in the results!
Thank you AWS Support. They were the ones that helped me with this. I figured it would be VMware I'd need to contact first.