Dela via


RestorePoint Constructors

Definition

Overloads

RestorePoint()

Initializes a new instance of the RestorePoint class.

RestorePoint(String, String, String, IList<ApiEntityReference>, RestorePointSourceMetadata, String, String, Nullable<DateTime>, ApiEntityReference, RestorePointInstanceView)

Initializes a new instance of the RestorePoint class.

RestorePoint()

Initializes a new instance of the RestorePoint class.

public RestorePoint ();
Public Sub New ()

Applies to

RestorePoint(String, String, String, IList<ApiEntityReference>, RestorePointSourceMetadata, String, String, Nullable<DateTime>, ApiEntityReference, RestorePointInstanceView)

Initializes a new instance of the RestorePoint class.

public RestorePoint (string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiEntityReference> excludeDisks = default, Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata sourceMetadata = default, string provisioningState = default, string consistencyMode = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.ApiEntityReference sourceRestorePoint = default, Microsoft.Azure.Management.Compute.Models.RestorePointInstanceView instanceView = default);
new Microsoft.Azure.Management.Compute.Models.RestorePoint : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiEntityReference> * Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.ApiEntityReference * Microsoft.Azure.Management.Compute.Models.RestorePointInstanceView -> Microsoft.Azure.Management.Compute.Models.RestorePoint
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional excludeDisks As IList(Of ApiEntityReference) = Nothing, Optional sourceMetadata As RestorePointSourceMetadata = Nothing, Optional provisioningState As String = Nothing, Optional consistencyMode As String = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sourceRestorePoint As ApiEntityReference = Nothing, Optional instanceView As RestorePointInstanceView = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

excludeDisks
IList<ApiEntityReference>

List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.

sourceMetadata
RestorePointSourceMetadata

Gets the details of the VM captured at the time of the restore point creation.

provisioningState
String

Gets the provisioning state of the restore point.

consistencyMode
String

ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details. Possible values include: 'CrashConsistent', 'FileSystemConsistent', 'ApplicationConsistent'

timeCreated
Nullable<DateTime>

Gets the creation time of the restore point.

sourceRestorePoint
ApiEntityReference

Resource Id of the source restore point from which a copy needs to be created.

instanceView
RestorePointInstanceView

The restore point instance view.

Applies to