| | | 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.Resources.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Deployment What-if operation parameters. </summary> |
| | | 13 | | public partial class DeploymentWhatIf |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of DeploymentWhatIf. </summary> |
| | | 16 | | /// <param name="properties"> The deployment properties. </param> |
| | 76 | 17 | | public DeploymentWhatIf(DeploymentWhatIfProperties properties) |
| | | 18 | | { |
| | 76 | 19 | | if (properties == null) |
| | | 20 | | { |
| | 0 | 21 | | throw new ArgumentNullException(nameof(properties)); |
| | | 22 | | } |
| | | 23 | | |
| | 76 | 24 | | Properties = properties; |
| | 76 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> Initializes a new instance of DeploymentWhatIf. </summary> |
| | | 28 | | /// <param name="location"> The location to store the deployment data. </param> |
| | | 29 | | /// <param name="properties"> The deployment properties. </param> |
| | 0 | 30 | | internal DeploymentWhatIf(string location, DeploymentWhatIfProperties properties) |
| | | 31 | | { |
| | 0 | 32 | | Location = location; |
| | 0 | 33 | | Properties = properties; |
| | 0 | 34 | | } |
| | | 35 | | |
| | | 36 | | /// <summary> The location to store the deployment data. </summary> |
| | 272 | 37 | | public string Location { get; set; } |
| | | 38 | | /// <summary> The deployment properties. </summary> |
| | 152 | 39 | | public DeploymentWhatIfProperties Properties { get; } |
| | | 40 | | } |
| | | 41 | | } |