| | 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.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Describes the properties of a Run Command metadata. </summary> |
| | 13 | | public partial class RunCommandDocumentBase |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of RunCommandDocumentBase. </summary> |
| | 16 | | /// <param name="schema"> The VM run command schema. </param> |
| | 17 | | /// <param name="id"> The VM run command id. </param> |
| | 18 | | /// <param name="osType"> The Operating System type. </param> |
| | 19 | | /// <param name="label"> The VM run command label. </param> |
| | 20 | | /// <param name="description"> The VM run command description. </param> |
| 64 | 21 | | internal RunCommandDocumentBase(string schema, string id, OperatingSystemTypes osType, string label, string desc |
| | 22 | | { |
| 64 | 23 | | if (schema == null) |
| | 24 | | { |
| 0 | 25 | | throw new ArgumentNullException(nameof(schema)); |
| | 26 | | } |
| 64 | 27 | | if (id == null) |
| | 28 | | { |
| 0 | 29 | | throw new ArgumentNullException(nameof(id)); |
| | 30 | | } |
| 64 | 31 | | if (label == null) |
| | 32 | | { |
| 0 | 33 | | throw new ArgumentNullException(nameof(label)); |
| | 34 | | } |
| 64 | 35 | | if (description == null) |
| | 36 | | { |
| 0 | 37 | | throw new ArgumentNullException(nameof(description)); |
| | 38 | | } |
| | 39 | |
|
| 64 | 40 | | Schema = schema; |
| 64 | 41 | | Id = id; |
| 64 | 42 | | OsType = osType; |
| 64 | 43 | | Label = label; |
| 64 | 44 | | Description = description; |
| 64 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> The VM run command schema. </summary> |
| 0 | 48 | | public string Schema { get; } |
| | 49 | | /// <summary> The VM run command id. </summary> |
| 12 | 50 | | public string Id { get; } |
| | 51 | | /// <summary> The Operating System type. </summary> |
| 0 | 52 | | public OperatingSystemTypes OsType { get; } |
| | 53 | | /// <summary> The VM run command label. </summary> |
| 0 | 54 | | public string Label { get; } |
| | 55 | | /// <summary> The VM run command description. </summary> |
| 0 | 56 | | public string Description { get; } |
| | 57 | | } |
| | 58 | | } |