| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.ResourceManager.Resources.Models |
| | 9 | | { |
| | 10 | | /// <summary> Deployment on error behavior. </summary> |
| | 11 | | public partial class OnErrorDeployment |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of OnErrorDeployment. </summary> |
| 0 | 14 | | public OnErrorDeployment() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of OnErrorDeployment. </summary> |
| | 19 | | /// <param name="type"> The deployment on error behavior type. Possible values are LastSuccessful and SpecificDe |
| | 20 | | /// <param name="deploymentName"> The deployment to be used on error case. </param> |
| 0 | 21 | | internal OnErrorDeployment(OnErrorDeploymentType? type, string deploymentName) |
| | 22 | | { |
| 0 | 23 | | Type = type; |
| 0 | 24 | | DeploymentName = deploymentName; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. |
| 0 | 28 | | public OnErrorDeploymentType? Type { get; set; } |
| | 29 | | /// <summary> The deployment to be used on error case. </summary> |
| 0 | 30 | | public string DeploymentName { get; set; } |
| | 31 | | } |
| | 32 | | } |