ArmComputeModelFactory.RestorePointData Method

Definition

public static Azure.ResourceManager.Compute.RestorePointData RestorePointData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeApiEntityReference> excludedDisks = default, Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata sourceMetadata = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.ConsistencyModeType? consistencyMode = default, DateTimeOffset? timeCreated = default, Azure.ResourceManager.Compute.Models.RestorePointInstanceView instanceView = default, int? instantAccessDurationMinutes = default, Azure.Core.ResourceIdentifier sourceRestorePointId = default);
static member RestorePointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Compute.Models.ComputeApiEntityReference> * Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata * string * Nullable<Azure.ResourceManager.Compute.Models.ConsistencyModeType> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.RestorePointInstanceView * Nullable<int> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.RestorePointData
Public Shared Function RestorePointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional excludedDisks As IEnumerable(Of ComputeApiEntityReference) = Nothing, Optional sourceMetadata As RestorePointSourceMetadata = Nothing, Optional provisioningState As String = Nothing, Optional consistencyMode As Nullable(Of ConsistencyModeType) = Nothing, Optional timeCreated As Nullable(Of DateTimeOffset) = Nothing, Optional instanceView As RestorePointInstanceView = Nothing, Optional instantAccessDurationMinutes As Nullable(Of Integer) = Nothing, Optional sourceRestorePointId As ResourceIdentifier = Nothing) As RestorePointData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

excludedDisks
IEnumerable<ComputeApiEntityReference>

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
Nullable<ConsistencyModeType>

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.

timeCreated
Nullable<DateTimeOffset>

Gets the creation time of the restore point.

instanceView
RestorePointInstanceView

The restore point instance view.

instantAccessDurationMinutes
Nullable<Int32>

This property determines the time in minutes the snapshot is retained as instant access for restoring Premium SSD v2 or Ultra disk with fast restore performance in this restore point.

sourceRestorePointId
ResourceIdentifier

The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

Returns

A new RestorePointData instance for mocking.

Applies to