Condividi tramite


ApplySnapshotRequest Constructors

Definition

Overloads

ApplySnapshotRequest()

Initializes a new instance of the ApplySnapshotRequest class.

ApplySnapshotRequest(String, SnapshotApplyMode)

Initializes a new instance of the ApplySnapshotRequest class.

ApplySnapshotRequest()

Source:
ApplySnapshotRequest.cs

Initializes a new instance of the ApplySnapshotRequest class.

public ApplySnapshotRequest ();
Public Sub New ()

Applies to

ApplySnapshotRequest(String, SnapshotApplyMode)

Source:
ApplySnapshotRequest.cs

Initializes a new instance of the ApplySnapshotRequest class.

public ApplySnapshotRequest (string objectId, Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotApplyMode mode = Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotApplyMode.CreateNew);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.ApplySnapshotRequest : string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotApplyMode -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.ApplySnapshotRequest
Public Sub New (objectId As String, Optional mode As SnapshotApplyMode = Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotApplyMode.CreateNew)

Parameters

objectId
String

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

mode
SnapshotApplyMode

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'

Applies to