ArmComputeModelFactory.DiskRestorePointData 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 DiskRestorePointData.
public static Azure.ResourceManager.Compute.DiskRestorePointData DiskRestorePointData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? timeCreated = default, Azure.Core.ResourceIdentifier sourceResourceId = default, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, Azure.ResourceManager.Compute.Models.DiskPurchasePlan purchasePlan = default, Azure.ResourceManager.Compute.Models.SupportedCapabilities supportedCapabilities = default, string familyId = default, string sourceUniqueId = default, Azure.ResourceManager.Compute.Models.DiskEncryption encryption = default, bool? supportsHibernation = default, Azure.ResourceManager.Compute.Models.NetworkAccessPolicy? networkAccessPolicy = default, Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess? publicNetworkAccess = default, Azure.Core.ResourceIdentifier diskAccessId = default, float? completionPercent = default, string replicationState = default, Azure.Core.AzureLocation? sourceResourceLocation = default, Azure.ResourceManager.Compute.Models.DiskSecurityProfile securityProfile = default, int? logicalSectorSize = default);
static member DiskRestorePointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType> * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * Azure.ResourceManager.Compute.Models.DiskPurchasePlan * Azure.ResourceManager.Compute.Models.SupportedCapabilities * string * string * Azure.ResourceManager.Compute.Models.DiskEncryption * Nullable<bool> * Nullable<Azure.ResourceManager.Compute.Models.NetworkAccessPolicy> * Nullable<Azure.ResourceManager.Compute.Models.DiskPublicNetworkAccess> * Azure.Core.ResourceIdentifier * Nullable<single> * string * Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.Compute.Models.DiskSecurityProfile * Nullable<int> -> Azure.ResourceManager.Compute.DiskRestorePointData
Public Shared Function DiskRestorePointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional timeCreated As Nullable(Of DateTimeOffset) = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional osType As Nullable(Of SupportedOperatingSystemType) = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional purchasePlan As DiskPurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional familyId As String = Nothing, Optional sourceUniqueId As String = Nothing, Optional encryption As DiskEncryption = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional networkAccessPolicy As Nullable(Of NetworkAccessPolicy) = Nothing, Optional publicNetworkAccess As Nullable(Of DiskPublicNetworkAccess) = Nothing, Optional diskAccessId As ResourceIdentifier = Nothing, Optional completionPercent As Nullable(Of Single) = Nothing, Optional replicationState As String = Nothing, Optional sourceResourceLocation As Nullable(Of AzureLocation) = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional logicalSectorSize As Nullable(Of Integer) = Nothing) As DiskRestorePointData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- timeCreated
- Nullable<DateTimeOffset>
The timestamp of restorePoint creation.
- sourceResourceId
- ResourceIdentifier
arm id of source disk or source disk restore point.
- osType
- Nullable<SupportedOperatingSystemType>
The Operating System type.
- hyperVGeneration
- Nullable<HyperVGeneration>
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- purchasePlan
- DiskPurchasePlan
Purchase plan information for the the image from which the OS disk was created.
- supportedCapabilities
- SupportedCapabilities
List of supported capabilities for the image from which the OS disk was created.
- familyId
- String
id of the backing snapshot's MIS family.
- sourceUniqueId
- String
unique incarnation id of the source disk.
- encryption
- DiskEncryption
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- networkAccessPolicy
- Nullable<NetworkAccessPolicy>
Policy for accessing the disk via network.
- publicNetworkAccess
- Nullable<DiskPublicNetworkAccess>
Policy for controlling export on the disk.
- diskAccessId
- ResourceIdentifier
ARM id of the DiskAccess resource for using private endpoints on disks.
Percentage complete for the background copy of disk restore point when source resource is from a different region.
- replicationState
- String
Replication state of disk restore point when source resource is from a different region.
- sourceResourceLocation
- Nullable<AzureLocation>
Location of source disk or source disk restore point when source resource is from a different region.
- securityProfile
- DiskSecurityProfile
Contains the security related information for the resource.
Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.
Returns
A new DiskRestorePointData instance for mocking.
Applies to
Azure SDK for .NET