| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Batch.Protocol.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The public IP Address configuration of the networking configuration of |
| | 20 | | /// a Pool. |
| | 21 | | /// </summary> |
| | 22 | | public partial class PublicIPAddressConfiguration |
| | 23 | | { |
| | 24 | | /// <summary> |
| | 25 | | /// Initializes a new instance of the PublicIPAddressConfiguration |
| | 26 | | /// class. |
| | 27 | | /// </summary> |
| 558 | 28 | | public PublicIPAddressConfiguration() |
| | 29 | | { |
| | 30 | | CustomInit(); |
| 558 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// Initializes a new instance of the PublicIPAddressConfiguration |
| | 35 | | /// class. |
| | 36 | | /// </summary> |
| | 37 | | /// <param name="provision">The provisioning type for Public IP |
| | 38 | | /// Addresses for the Pool.</param> |
| | 39 | | /// <param name="ipAddressIds">The list of public IPs which the Batch |
| | 40 | | /// service will use when provisioning Compute Nodes.</param> |
| 0 | 41 | | public PublicIPAddressConfiguration(IPAddressProvisioningType? provision = default(IPAddressProvisioningType?), |
| | 42 | | { |
| 0 | 43 | | Provision = provision; |
| 0 | 44 | | IpAddressIds = ipAddressIds; |
| | 45 | | CustomInit(); |
| 0 | 46 | | } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// An initialization method that performs custom operations like setting defaults |
| | 50 | | /// </summary> |
| | 51 | | partial void CustomInit(); |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// Gets or sets the provisioning type for Public IP Addresses for the |
| | 55 | | /// Pool. |
| | 56 | | /// </summary> |
| | 57 | | /// <remarks> |
| | 58 | | /// The default value is BatchManaged. Possible values include: |
| | 59 | | /// 'batchManaged', 'userManaged', 'noPublicIPAddresses' |
| | 60 | | /// </remarks> |
| | 61 | | [JsonProperty(PropertyName = "provision")] |
| 1265 | 62 | | public IPAddressProvisioningType? Provision { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// Gets or sets the list of public IPs which the Batch service will |
| | 66 | | /// use when provisioning Compute Nodes. |
| | 67 | | /// </summary> |
| | 68 | | /// <remarks> |
| | 69 | | /// The number of IPs specified here limits the maximum size of the |
| | 70 | | /// Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated |
| | 71 | | /// for each public IP. For example, a pool needing 150 dedicated VMs |
| | 72 | | /// would need at least 3 public IPs specified. Each element of this |
| | 73 | | /// collection is of the form: |
| | 74 | | /// /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}. |
| | 75 | | /// </remarks> |
| | 76 | | [JsonProperty(PropertyName = "ipAddressIds")] |
| 1264 | 77 | | public IList<string> IpAddressIds { get; set; } |
| | 78 | |
|
| | 79 | | } |
| | 80 | | } |