ApplySnapshotRequest Class

Request body for applying snapshot operation.

All required parameters must be populated in order to send to Azure.

Inheritance
ApplySnapshotRequest

Constructor

ApplySnapshotRequest(*, object_id: str, mode='CreateNew', **kwargs)

Parameters

object_id
str
Required

Required. User specified target object id to be created from the snapshot.

mode
str or SnapshotApplyMode
Required

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'. Default value: "CreateNew" .