/// <summary> /// Initializes a new instance of the RestorePoint class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="excludeDisks">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.</param> /// <param name="sourceMetadata">Gets the details of the VM captured at /// the time of the restore point creation.</param> /// <param name="provisioningState">Gets the provisioning state of the /// restore point.</param> /// <param name="consistencyMode">Gets the consistency mode for the /// restore point. Please refer to https://aka.ms/RestorePoints for /// more details. Possible values include: 'CrashConsistent', /// 'FileSystemConsistent', 'ApplicationConsistent'</param> /// <param name="provisioningDetails">Gets the provisioning details set /// by the server during Create restore point operation.</param> public RestorePoint(string id = default(string), string name = default(string), string type = default(string), IList <ApiEntityReference> excludeDisks = default(IList <ApiEntityReference>), RestorePointSourceMetadata sourceMetadata = default(RestorePointSourceMetadata), string provisioningState = default(string), string consistencyMode = default(string), RestorePointProvisioningDetails provisioningDetails = default(RestorePointProvisioningDetails)) : base(id, name, type) { ExcludeDisks = excludeDisks; SourceMetadata = sourceMetadata; ProvisioningState = provisioningState; ConsistencyMode = consistencyMode; ProvisioningDetails = provisioningDetails; CustomInit(); }
/// <summary> /// Initializes a new instance of the RestorePoint class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="excludeDisks">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.</param> /// <param name="sourceMetadata">Gets the details of the VM captured at /// the time of the restore point creation.</param> /// <param name="provisioningState">Gets the provisioning state of the /// restore point.</param> /// <param name="consistencyMode">Gets the consistency mode for the /// restore point. Please refer to https://aka.ms/RestorePoints for /// more details. Possible values include: 'CrashConsistent', /// 'FileSystemConsistent', 'ApplicationConsistent'</param> /// <param name="timeCreated">Gets the creation time of the restore /// point.</param> public RestorePoint(string id = default(string), string name = default(string), string type = default(string), IList <ApiEntityReference> excludeDisks = default(IList <ApiEntityReference>), RestorePointSourceMetadata sourceMetadata = default(RestorePointSourceMetadata), string provisioningState = default(string), string consistencyMode = default(string), System.DateTime?timeCreated = default(System.DateTime?)) : base(id, name, type) { ExcludeDisks = excludeDisks; SourceMetadata = sourceMetadata; ProvisioningState = provisioningState; ConsistencyMode = consistencyMode; TimeCreated = timeCreated; CustomInit(); }