| | 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 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Resources.Models |
| | 12 | | { |
| | 13 | | /// <summary> Deployment operation parameters. </summary> |
| | 14 | | public partial class Deployment |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of Deployment. </summary> |
| | 17 | | /// <param name="properties"> The deployment properties. </param> |
| 76 | 18 | | public Deployment(DeploymentProperties properties) |
| | 19 | | { |
| 76 | 20 | | if (properties == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(properties)); |
| | 23 | | } |
| | 24 | |
|
| 76 | 25 | | Properties = properties; |
| 76 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of Deployment. </summary> |
| | 29 | | /// <param name="location"> The location to store the deployment data. </param> |
| | 30 | | /// <param name="properties"> The deployment properties. </param> |
| | 31 | | /// <param name="tags"> Deployment tags. </param> |
| 0 | 32 | | internal Deployment(string location, DeploymentProperties properties, IDictionary<string, string> tags) |
| | 33 | | { |
| 0 | 34 | | Location = location; |
| 0 | 35 | | Properties = properties; |
| 0 | 36 | | Tags = tags; |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> The location to store the deployment data. </summary> |
| 256 | 40 | | public string Location { get; set; } |
| | 41 | | /// <summary> The deployment properties. </summary> |
| 184 | 42 | | public DeploymentProperties Properties { get; } |
| | 43 | | /// <summary> Deployment tags. </summary> |
| 276 | 44 | | public IDictionary<string, string> Tags { get; set; } |
| | 45 | | } |
| | 46 | | } |