你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiskRestorePoint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DiskRestorePoint()
初始化 DiskRestorePoint 类的新实例。
public DiskRestorePoint ();
Public Sub New ()
适用于
DiskRestorePoint(String, String, String, Nullable<DateTime>, String, Nullable<OperatingSystemTypes>, String, PurchasePlan, String, String, Encryption, Nullable<Boolean>)
初始化 DiskRestorePoint 类的新实例。
public DiskRestorePoint (string id, string name, string type, DateTime? timeCreated, string sourceResourceId, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, string familyId, string sourceUniqueId = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, bool? supportsHibernation = default);
new Microsoft.Azure.Management.Compute.Models.DiskRestorePoint : string * string * string * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * string * string * Microsoft.Azure.Management.Compute.Models.Encryption * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.DiskRestorePoint
Public Sub New (id As String, name As String, type As String, timeCreated As Nullable(Of DateTime), sourceResourceId As String, osType As Nullable(Of OperatingSystemTypes), hyperVGeneration As String, purchasePlan As PurchasePlan, familyId As String, Optional sourceUniqueId As String = Nothing, Optional encryption As Encryption = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing)
参数
- id
- String
资源 ID
- name
- String
资源名称
- type
- String
资源类型
- sourceResourceId
- String
源磁盘的 arm ID
- osType
- Nullable<OperatingSystemTypes>
操作系统类型。 可能的值包括:“Windows”、“Linux”
- hyperVGeneration
- String
虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”
- purchasePlan
- PurchasePlan
从中创建 OS 磁盘的映像的购买计划信息。
- familyId
- String
支持快照的 MIS 系列的 ID
- sourceUniqueId
- String
源磁盘的唯一化身 ID
- encryption
- Encryption
加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。
适用于
DiskRestorePoint(String, String, String, Nullable<DateTime>, String, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, String, String, Encryption, Nullable<Boolean>, String, String, String, Nullable<Double>, String, String, DiskSecurityProfile)
初始化 DiskRestorePoint 类的新实例。
public DiskRestorePoint (string id = default, string name = default, string type = default, DateTime? timeCreated = default, string sourceResourceId = default, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, string familyId = default, string sourceUniqueId = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, bool? supportsHibernation = default, string networkAccessPolicy = default, string publicNetworkAccess = default, string diskAccessId = default, double? completionPercent = default, string replicationState = default, string sourceResourceLocation = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default);
new Microsoft.Azure.Management.Compute.Models.DiskRestorePoint : string * string * string * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * string * string * Microsoft.Azure.Management.Compute.Models.Encryption * Nullable<bool> * string * string * string * Nullable<double> * string * string * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile -> Microsoft.Azure.Management.Compute.Models.DiskRestorePoint
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sourceResourceId As String = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional hyperVGeneration As String = Nothing, Optional purchasePlan As PurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional familyId As String = Nothing, Optional sourceUniqueId As String = Nothing, Optional encryption As Encryption = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional networkAccessPolicy As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional diskAccessId As String = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional replicationState As String = Nothing, Optional sourceResourceLocation As String = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing)
参数
- id
- String
资源 ID
- name
- String
资源名称
- type
- String
资源类型
- sourceResourceId
- String
源磁盘或源磁盘还原点的 arm ID。
- osType
- Nullable<OperatingSystemTypes>
操作系统类型。 可能的值包括:“Windows”、“Linux”
- hyperVGeneration
- String
虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”
- purchasePlan
- PurchasePlan
从中创建 OS 磁盘的映像的购买计划信息。
- supportedCapabilities
- SupportedCapabilities
从中创建 OS 磁盘的映像支持的功能列表。
- familyId
- String
支持快照的 MIS 系列的 ID
- sourceUniqueId
- String
源磁盘的唯一化身 ID
- encryption
- Encryption
加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。
- networkAccessPolicy
- String
可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”
- publicNetworkAccess
- String
可能的值包括:“Enabled”、“Disabled”
- diskAccessId
- String
用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。
- replicationState
- String
当源资源来自不同区域时,磁盘还原点的复制状态。
- sourceResourceLocation
- String
当源资源来自不同区域时,源磁盘或源磁盘还原点的位置。
- securityProfile
- DiskSecurityProfile
包含资源的安全相关信息。