| | 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> Profile for the container service agent pool. </summary> |
| | 13 | | public partial class ContainerServiceAgentPoolProfile |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ContainerServiceAgentPoolProfile. </summary> |
| | 16 | | /// <param name="name"> Unique name of the agent pool profile in the context of the subscription and resource gr |
| | 17 | | /// <param name="count"> Number of agents (VMs) to host docker containers. Allowed values must be in the range o |
| | 18 | | /// <param name="vmSize"> Size of agent VMs. </param> |
| | 19 | | /// <param name="dnsPrefix"> DNS prefix to be used to create the FQDN for the agent pool. </param> |
| 0 | 20 | | public ContainerServiceAgentPoolProfile(string name, int count, ContainerServiceVMSizeTypes vmSize, string dnsPr |
| | 21 | | { |
| 0 | 22 | | if (name == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(name)); |
| | 25 | | } |
| 0 | 26 | | if (dnsPrefix == null) |
| | 27 | | { |
| 0 | 28 | | throw new ArgumentNullException(nameof(dnsPrefix)); |
| | 29 | | } |
| | 30 | |
|
| 0 | 31 | | Name = name; |
| 0 | 32 | | Count = count; |
| 0 | 33 | | VmSize = vmSize; |
| 0 | 34 | | DnsPrefix = dnsPrefix; |
| 0 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> Initializes a new instance of ContainerServiceAgentPoolProfile. </summary> |
| | 38 | | /// <param name="name"> Unique name of the agent pool profile in the context of the subscription and resource gr |
| | 39 | | /// <param name="count"> Number of agents (VMs) to host docker containers. Allowed values must be in the range o |
| | 40 | | /// <param name="vmSize"> Size of agent VMs. </param> |
| | 41 | | /// <param name="dnsPrefix"> DNS prefix to be used to create the FQDN for the agent pool. </param> |
| | 42 | | /// <param name="fqdn"> FQDN for the agent pool. </param> |
| 0 | 43 | | internal ContainerServiceAgentPoolProfile(string name, int count, ContainerServiceVMSizeTypes vmSize, string dns |
| | 44 | | { |
| 0 | 45 | | Name = name; |
| 0 | 46 | | Count = count; |
| 0 | 47 | | VmSize = vmSize; |
| 0 | 48 | | DnsPrefix = dnsPrefix; |
| 0 | 49 | | Fqdn = fqdn; |
| 0 | 50 | | } |
| | 51 | |
|
| | 52 | | /// <summary> Unique name of the agent pool profile in the context of the subscription and resource group. </sum |
| 0 | 53 | | public string Name { get; set; } |
| | 54 | | /// <summary> Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 |
| 0 | 55 | | public int Count { get; set; } |
| | 56 | | /// <summary> Size of agent VMs. </summary> |
| 0 | 57 | | public ContainerServiceVMSizeTypes VmSize { get; set; } |
| | 58 | | /// <summary> DNS prefix to be used to create the FQDN for the agent pool. </summary> |
| 0 | 59 | | public string DnsPrefix { get; set; } |
| | 60 | | /// <summary> FQDN for the agent pool. </summary> |
| 0 | 61 | | public string Fqdn { get; } |
| | 62 | | } |
| | 63 | | } |