| | | 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 ScopedDeployment |
| | | 15 | | { |
| | | 16 | | /// <summary> Initializes a new instance of ScopedDeployment. </summary> |
| | | 17 | | /// <param name="location"> The location to store the deployment data. </param> |
| | | 18 | | /// <param name="properties"> The deployment properties. </param> |
| | 4 | 19 | | public ScopedDeployment(string location, DeploymentProperties properties) |
| | | 20 | | { |
| | 4 | 21 | | if (location == null) |
| | | 22 | | { |
| | 0 | 23 | | throw new ArgumentNullException(nameof(location)); |
| | | 24 | | } |
| | 4 | 25 | | if (properties == null) |
| | | 26 | | { |
| | 0 | 27 | | throw new ArgumentNullException(nameof(properties)); |
| | | 28 | | } |
| | | 29 | | |
| | 4 | 30 | | Location = location; |
| | 4 | 31 | | Properties = properties; |
| | 4 | 32 | | } |
| | | 33 | | |
| | | 34 | | /// <summary> Initializes a new instance of ScopedDeployment. </summary> |
| | | 35 | | /// <param name="location"> The location to store the deployment data. </param> |
| | | 36 | | /// <param name="properties"> The deployment properties. </param> |
| | | 37 | | /// <param name="tags"> Deployment tags. </param> |
| | 0 | 38 | | internal ScopedDeployment(string location, DeploymentProperties properties, IDictionary<string, string> tags) |
| | | 39 | | { |
| | 0 | 40 | | Location = location; |
| | 0 | 41 | | Properties = properties; |
| | 0 | 42 | | Tags = tags; |
| | 0 | 43 | | } |
| | | 44 | | |
| | | 45 | | /// <summary> The location to store the deployment data. </summary> |
| | 16 | 46 | | public string Location { get; } |
| | | 47 | | /// <summary> The deployment properties. </summary> |
| | 16 | 48 | | public DeploymentProperties Properties { get; } |
| | | 49 | | /// <summary> Deployment tags. </summary> |
| | 36 | 50 | | public IDictionary<string, string> Tags { get; set; } |
| | | 51 | | } |
| | | 52 | | } |