| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Capture Virtual Machine parameters. </summary> |
| | 13 | | public partial class VirtualMachineCaptureParameters |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of VirtualMachineCaptureParameters. </summary> |
| | 16 | | /// <param name="vhdPrefix"> The captured virtual hard disk's name prefix. </param> |
| | 17 | | /// <param name="destinationContainerName"> The destination container name. </param> |
| | 18 | | /// <param name="overwriteVhds"> Specifies whether to overwrite the destination virtual hard disk, in case of co |
| 0 | 19 | | public VirtualMachineCaptureParameters(string vhdPrefix, string destinationContainerName, bool overwriteVhds) |
| | 20 | | { |
| 0 | 21 | | if (vhdPrefix == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(vhdPrefix)); |
| | 24 | | } |
| 0 | 25 | | if (destinationContainerName == null) |
| | 26 | | { |
| 0 | 27 | | throw new ArgumentNullException(nameof(destinationContainerName)); |
| | 28 | | } |
| | 29 | |
|
| 0 | 30 | | VhdPrefix = vhdPrefix; |
| 0 | 31 | | DestinationContainerName = destinationContainerName; |
| 0 | 32 | | OverwriteVhds = overwriteVhds; |
| 0 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> The captured virtual hard disk's name prefix. </summary> |
| 0 | 36 | | public string VhdPrefix { get; } |
| | 37 | | /// <summary> The destination container name. </summary> |
| 0 | 38 | | public string DestinationContainerName { get; } |
| | 39 | | /// <summary> Specifies whether to overwrite the destination virtual hard disk, in case of conflict. </summary> |
| 0 | 40 | | public bool OverwriteVhds { get; } |
| | 41 | | } |
| | 42 | | } |