Share via


ApplySnapshotRequest Class

Definition

Request body for applying snapshot operation.

public class ApplySnapshotRequest
type ApplySnapshotRequest = class
Public Class ApplySnapshotRequest
Inheritance
ApplySnapshotRequest

Constructors

ApplySnapshotRequest()

Initializes a new instance of the ApplySnapshotRequest class.

ApplySnapshotRequest(String, SnapshotApplyMode)

Initializes a new instance of the ApplySnapshotRequest class.

Properties

Mode

Gets or sets snapshot applying mode. Currently only CreateNew is supported, which means the apply operation will fail if target subscription already contains an object of same type and using the same objectId. Users can specify the "objectId" in request body to avoid such conflicts. Possible values include: 'CreateNew'

ObjectId

Gets or sets user specified target object id to be created from the snapshot.

Methods

Validate()

Validate the object.

Applies to