ArmComputeModelFactory.RestorePointData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RestorePointData.
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.Resources.Models.WritableSubResource> excludeDisks = default, Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata sourceMetadata = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.ConsistencyModeType? consistencyMode = default, DateTimeOffset? timeCreated = default, Azure.Core.ResourceIdentifier sourceRestorePointId = default, Azure.ResourceManager.Compute.Models.RestorePointInstanceView instanceView = default);
static member RestorePointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata * string * Nullable<Azure.ResourceManager.Compute.Models.ConsistencyModeType> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Compute.Models.RestorePointInstanceView -> 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 excludeDisks As IEnumerable(Of WritableSubResource) = 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 sourceRestorePointId As ResourceIdentifier = Nothing, Optional instanceView As RestorePointInstanceView = Nothing) As RestorePointData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- excludeDisks
- IEnumerable<WritableSubResource>
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.
- sourceRestorePointId
- ResourceIdentifier
Resource Id of the source restore point from which a copy needs to be created.
- instanceView
- RestorePointInstanceView
The restore point instance view.
Returns
A new RestorePointData instance for mocking.
Applies to
Azure SDK for .NET