| | 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.Compute.Models |
| | 9 | | { |
| | 10 | | /// <summary> The input for OrchestrationServiceState. </summary> |
| | 11 | | public partial class OrchestrationServiceStateInput |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of OrchestrationServiceStateInput. </summary> |
| | 14 | | /// <param name="action"> The action to be performed. </param> |
| 0 | 15 | | public OrchestrationServiceStateInput(OrchestrationServiceStateAction action) |
| | 16 | | { |
| 0 | 17 | | ServiceName = "AutomaticRepairs"; |
| 0 | 18 | | Action = action; |
| 0 | 19 | | } |
| | 20 | |
|
| | 21 | | /// <summary> Initializes a new instance of OrchestrationServiceStateInput. </summary> |
| | 22 | | /// <param name="serviceName"> The name of the service. </param> |
| | 23 | | /// <param name="action"> The action to be performed. </param> |
| 8 | 24 | | internal OrchestrationServiceStateInput(string serviceName, OrchestrationServiceStateAction action) |
| | 25 | | { |
| 8 | 26 | | ServiceName = serviceName; |
| 8 | 27 | | Action = action; |
| 8 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> The name of the service. </summary> |
| 16 | 31 | | public string ServiceName { get; } |
| | 32 | | /// <summary> The action to be performed. </summary> |
| 16 | 33 | | public OrchestrationServiceStateAction Action { get; } |
| | 34 | | } |
| | 35 | | } |