Compute Engine v1 API - Class InstanceMoveRequest (3.2.0)

public sealed class InstanceMoveRequest : IMessage<InstanceMoveRequest>, IEquatable<InstanceMoveRequest>, IDeepCloneable<InstanceMoveRequest>, IBufferMessage, IMessage

Inheritance

object > InstanceMoveRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceMoveRequest()

public InstanceMoveRequest()

InstanceMoveRequest(InstanceMoveRequest)

public InstanceMoveRequest(InstanceMoveRequest other)
Parameter
Name Description
other InstanceMoveRequest

Properties

DestinationZone

public string DestinationZone { get; set; }

The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone

Property Value
Type Description
string

HasDestinationZone

public bool HasDestinationZone { get; }

Gets whether the "destination_zone" field is set

Property Value
Type Description
bool

HasTargetInstance

public bool HasTargetInstance { get; }

Gets whether the "target_instance" field is set

Property Value
Type Description
bool

TargetInstance

public string TargetInstance { get; set; }

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance

Property Value
Type Description
string