amazonka-backup-gateway-2.0: Amazon Backup Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupGateway.Types.VirtualMachine

Description

 
Synopsis

Documentation

data VirtualMachine Source #

A virtual machine that is on a hypervisor.

See: newVirtualMachine smart constructor.

Constructors

VirtualMachine' 

Fields

Instances

Instances details
FromJSON VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

Generic VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

Associated Types

type Rep VirtualMachine :: Type -> Type #

Read VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

Show VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

NFData VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

Methods

rnf :: VirtualMachine -> () #

Eq VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

Hashable VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

type Rep VirtualMachine Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.VirtualMachine

type Rep VirtualMachine = D1 ('MetaData "VirtualMachine" "Amazonka.BackupGateway.Types.VirtualMachine" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "VirtualMachine'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hostName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hypervisorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastBackupDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newVirtualMachine :: VirtualMachine Source #

Create a value of VirtualMachine with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostName:VirtualMachine', virtualMachine_hostName - The host name of the virtual machine.

$sel:hypervisorId:VirtualMachine', virtualMachine_hypervisorId - The ID of the virtual machine's hypervisor.

$sel:lastBackupDate:VirtualMachine', virtualMachine_lastBackupDate - The most recent date a virtual machine was backed up, in Unix format and UTC time.

$sel:name:VirtualMachine', virtualMachine_name - The name of the virtual machine.

$sel:path:VirtualMachine', virtualMachine_path - The path of the virtual machine.

$sel:resourceArn:VirtualMachine', virtualMachine_resourceArn - The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.

virtualMachine_hostName :: Lens' VirtualMachine (Maybe Text) Source #

The host name of the virtual machine.

virtualMachine_hypervisorId :: Lens' VirtualMachine (Maybe Text) Source #

The ID of the virtual machine's hypervisor.

virtualMachine_lastBackupDate :: Lens' VirtualMachine (Maybe UTCTime) Source #

The most recent date a virtual machine was backed up, in Unix format and UTC time.

virtualMachine_name :: Lens' VirtualMachine (Maybe Text) Source #

The name of the virtual machine.

virtualMachine_path :: Lens' VirtualMachine (Maybe Text) Source #

The path of the virtual machine.

virtualMachine_resourceArn :: Lens' VirtualMachine (Maybe Text) Source #

The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.