get_virtual_machine
(**kwargs)¶By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
See also: AWS API Documentation
Request Syntax
response = client.get_virtual_machine(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the virtual machine.
{
'VirtualMachine': {
'HostName': 'string',
'HypervisorId': 'string',
'LastBackupDate': datetime(2015, 1, 1),
'Name': 'string',
'Path': 'string',
'ResourceArn': 'string',
'VmwareTags': [
{
'VmwareCategory': 'string',
'VmwareTagDescription': 'string',
'VmwareTagName': 'string'
},
]
}
}
Response Structure
This object contains the basic attributes of VirtualMachine
contained by the output of GetVirtualMachine
The host name of the virtual machine.
The ID of the virtual machine's hypervisor.
The most recent date a virtual machine was backed up, in Unix format and UTC time.
The name of the virtual machine.
The path of the virtual machine.
The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
These are the details of the VMware tags associated with the specified virtual machine.
A VMware tag is a tag attached to a specific virtual machine. A tag is a key-value pair you can use to manage, filter, and search for your resources.
The content of VMware tags can be matched to Amazon Web Services tags.
The is the category of VMware.
This is a user-defined description of a VMware tag.
This is the user-defined name of a VMware tag.
Exceptions
BackupGateway.Client.exceptions.ValidationException
BackupGateway.Client.exceptions.InternalServerException
BackupGateway.Client.exceptions.ResourceNotFoundException
BackupGateway.Client.exceptions.ThrottlingException