Skip to content

Commit 789133a

Browse files
committed
updating generation
1 parent 9ccd9ff commit 789133a

File tree

2 files changed

+63
-3
lines changed

2 files changed

+63
-3
lines changed

src/Batch/Batch.Management.Sdk/Generated/Models/Pool.cs

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ public Pool()
143143
/// application package references on any given pool.
144144
/// </param>
145145

146+
/// <param name="applicationLicenses">The list of application licenses must be a subset of available Batch
147+
/// service application licenses. If a license is requested which is not
148+
/// supported, pool creation will fail.
149+
/// </param>
150+
146151
/// <param name="resizeOperationStatus">Describes either the current operation (if the pool AllocationState is
147152
/// Resizing) or the previously completed operation (if the AllocationState is
148153
/// Steady).
@@ -156,7 +161,14 @@ public Pool()
156161

157162
/// <param name="currentNodeCommunicationMode">Determines how a pool communicates with the Batch service.
158163
/// Possible values include: &#39;Default&#39;, &#39;Classic&#39;, &#39;Simplified&#39;</param>
159-
public Pool(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), BatchPoolIdentity identity = default(BatchPoolIdentity), AllocationState? allocationState = default(AllocationState?), DeploymentConfiguration deploymentConfiguration = default(DeploymentConfiguration), ScaleSettings scaleSettings = default(ScaleSettings), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), StartTask startTask = default(StartTask), UpgradePolicy upgradePolicy = default(UpgradePolicy), string displayName = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolProvisioningState? provisioningState = default(PoolProvisioningState?), System.DateTime? provisioningStateTransitionTime = default(System.DateTime?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), AutoScaleRun autoScaleRun = default(AutoScaleRun), InterNodeCommunicationState? interNodeCommunication = default(InterNodeCommunicationState?), int? taskSlotsPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), System.Collections.Generic.IList<UserAccount> userAccounts = default(System.Collections.Generic.IList<UserAccount>), System.Collections.Generic.IList<MetadataItem> metadata = default(System.Collections.Generic.IList<MetadataItem>), System.Collections.Generic.IList<CertificateReference> certificates = default(System.Collections.Generic.IList<CertificateReference>), System.Collections.Generic.IList<ApplicationPackageReference> applicationPackages = default(System.Collections.Generic.IList<ApplicationPackageReference>), ResizeOperationStatus resizeOperationStatus = default(ResizeOperationStatus), System.Collections.Generic.IList<MountConfiguration> mountConfiguration = default(System.Collections.Generic.IList<MountConfiguration>), NodeCommunicationMode? targetNodeCommunicationMode = default(NodeCommunicationMode?), NodeCommunicationMode? currentNodeCommunicationMode = default(NodeCommunicationMode?))
164+
165+
/// <param name="resourceTags">The user-defined tags to be associated with the Azure Batch Pool. When
166+
/// specified, these tags are propagated to the backing Azure resources
167+
/// associated with the pool. This property can only be specified when the
168+
/// Batch account was created with the poolAllocationMode property set to
169+
/// &#39;UserSubscription&#39;.
170+
/// </param>
171+
public Pool(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), BatchPoolIdentity identity = default(BatchPoolIdentity), AllocationState? allocationState = default(AllocationState?), DeploymentConfiguration deploymentConfiguration = default(DeploymentConfiguration), ScaleSettings scaleSettings = default(ScaleSettings), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), StartTask startTask = default(StartTask), UpgradePolicy upgradePolicy = default(UpgradePolicy), string displayName = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolProvisioningState? provisioningState = default(PoolProvisioningState?), System.DateTime? provisioningStateTransitionTime = default(System.DateTime?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), AutoScaleRun autoScaleRun = default(AutoScaleRun), InterNodeCommunicationState? interNodeCommunication = default(InterNodeCommunicationState?), int? taskSlotsPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), System.Collections.Generic.IList<UserAccount> userAccounts = default(System.Collections.Generic.IList<UserAccount>), System.Collections.Generic.IList<MetadataItem> metadata = default(System.Collections.Generic.IList<MetadataItem>), System.Collections.Generic.IList<CertificateReference> certificates = default(System.Collections.Generic.IList<CertificateReference>), System.Collections.Generic.IList<ApplicationPackageReference> applicationPackages = default(System.Collections.Generic.IList<ApplicationPackageReference>), System.Collections.Generic.IList<string> applicationLicenses = default(System.Collections.Generic.IList<string>), ResizeOperationStatus resizeOperationStatus = default(ResizeOperationStatus), System.Collections.Generic.IList<MountConfiguration> mountConfiguration = default(System.Collections.Generic.IList<MountConfiguration>), NodeCommunicationMode? targetNodeCommunicationMode = default(NodeCommunicationMode?), NodeCommunicationMode? currentNodeCommunicationMode = default(NodeCommunicationMode?), System.Collections.Generic.IDictionary<string, string> resourceTags = default(System.Collections.Generic.IDictionary<string, string>))
160172

161173
: base(id, name, type, etag, tags)
162174
{
@@ -184,10 +196,12 @@ public Pool()
184196
this.Metadata = metadata;
185197
this.Certificates = certificates;
186198
this.ApplicationPackages = applicationPackages;
199+
this.ApplicationLicenses = applicationLicenses;
187200
this.ResizeOperationStatus = resizeOperationStatus;
188201
this.MountConfiguration = mountConfiguration;
189202
this.TargetNodeCommunicationMode = targetNodeCommunicationMode;
190203
this.CurrentNodeCommunicationMode = currentNodeCommunicationMode;
204+
this.ResourceTags = resourceTags;
191205
CustomInit();
192206
}
193207

@@ -374,7 +388,13 @@ public Pool()
374388
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.applicationPackages")]
375389
public System.Collections.Generic.IList<ApplicationPackageReference> ApplicationPackages {get; set; }
376390

377-
391+
/// <summary>
392+
/// Gets or sets the list of application licenses must be a subset of available
393+
/// Batch service application licenses. If a license is requested which is not
394+
/// supported, pool creation will fail.
395+
/// </summary>
396+
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.applicationLicenses")]
397+
public System.Collections.Generic.IList<string> ApplicationLicenses {get; set; }
378398

379399
/// <summary>
380400
/// Gets describes either the current operation (if the pool AllocationState is
@@ -402,6 +422,15 @@ public Pool()
402422
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.currentNodeCommunicationMode")]
403423
public NodeCommunicationMode? CurrentNodeCommunicationMode {get; private set; }
404424

425+
/// <summary>
426+
/// Gets or sets the user-defined tags to be associated with the Azure Batch
427+
/// Pool. When specified, these tags are propagated to the backing Azure
428+
/// resources associated with the pool. This property can only be specified
429+
/// when the Batch account was created with the poolAllocationMode property set
430+
/// to &#39;UserSubscription&#39;.
431+
/// </summary>
432+
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.resourceTags")]
433+
public System.Collections.Generic.IDictionary<string, string> ResourceTags {get; set; }
405434
/// <summary>
406435
/// Validate the object.
407436
/// </summary>

src/Batch/Batch.Management.Sdk/Generated/Models/PoolProperties.cs

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ public PoolProperties()
121121
/// application package references on any given pool.
122122
/// </param>
123123

124+
/// <param name="applicationLicenses">The list of application licenses must be a subset of available Batch
125+
/// service application licenses. If a license is requested which is not
126+
/// supported, pool creation will fail.
127+
/// </param>
128+
124129
/// <param name="resizeOperationStatus">Describes either the current operation (if the pool AllocationState is
125130
/// Resizing) or the previously completed operation (if the AllocationState is
126131
/// Steady).
@@ -137,7 +142,14 @@ public PoolProperties()
137142

138143
/// <param name="upgradePolicy">Describes an upgrade policy - automatic, manual, or rolling.
139144
/// </param>
140-
public PoolProperties(string displayName = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolProvisioningState? provisioningState = default(PoolProvisioningState?), System.DateTime? provisioningStateTransitionTime = default(System.DateTime?), AllocationState? allocationState = default(AllocationState?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), DeploymentConfiguration deploymentConfiguration = default(DeploymentConfiguration), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), ScaleSettings scaleSettings = default(ScaleSettings), AutoScaleRun autoScaleRun = default(AutoScaleRun), InterNodeCommunicationState? interNodeCommunication = default(InterNodeCommunicationState?), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), int? taskSlotsPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), System.Collections.Generic.IList<UserAccount> userAccounts = default(System.Collections.Generic.IList<UserAccount>), System.Collections.Generic.IList<MetadataItem> metadata = default(System.Collections.Generic.IList<MetadataItem>), StartTask startTask = default(StartTask), System.Collections.Generic.IList<CertificateReference> certificates = default(System.Collections.Generic.IList<CertificateReference>), System.Collections.Generic.IList<ApplicationPackageReference> applicationPackages = default(System.Collections.Generic.IList<ApplicationPackageReference>), ResizeOperationStatus resizeOperationStatus = default(ResizeOperationStatus), System.Collections.Generic.IList<MountConfiguration> mountConfiguration = default(System.Collections.Generic.IList<MountConfiguration>), NodeCommunicationMode? targetNodeCommunicationMode = default(NodeCommunicationMode?), NodeCommunicationMode? currentNodeCommunicationMode = default(NodeCommunicationMode?), UpgradePolicy upgradePolicy = default(UpgradePolicy))
145+
146+
/// <param name="resourceTags">The user-defined tags to be associated with the Azure Batch Pool. When
147+
/// specified, these tags are propagated to the backing Azure resources
148+
/// associated with the pool. This property can only be specified when the
149+
/// Batch account was created with the poolAllocationMode property set to
150+
/// &#39;UserSubscription&#39;.
151+
/// </param>
152+
public PoolProperties(string displayName = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolProvisioningState? provisioningState = default(PoolProvisioningState?), System.DateTime? provisioningStateTransitionTime = default(System.DateTime?), AllocationState? allocationState = default(AllocationState?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), DeploymentConfiguration deploymentConfiguration = default(DeploymentConfiguration), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), ScaleSettings scaleSettings = default(ScaleSettings), AutoScaleRun autoScaleRun = default(AutoScaleRun), InterNodeCommunicationState? interNodeCommunication = default(InterNodeCommunicationState?), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), int? taskSlotsPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), System.Collections.Generic.IList<UserAccount> userAccounts = default(System.Collections.Generic.IList<UserAccount>), System.Collections.Generic.IList<MetadataItem> metadata = default(System.Collections.Generic.IList<MetadataItem>), StartTask startTask = default(StartTask), System.Collections.Generic.IList<CertificateReference> certificates = default(System.Collections.Generic.IList<CertificateReference>), System.Collections.Generic.IList<ApplicationPackageReference> applicationPackages = default(System.Collections.Generic.IList<ApplicationPackageReference>), System.Collections.Generic.IList<string> applicationLicenses = default(System.Collections.Generic.IList<string>), ResizeOperationStatus resizeOperationStatus = default(ResizeOperationStatus), System.Collections.Generic.IList<MountConfiguration> mountConfiguration = default(System.Collections.Generic.IList<MountConfiguration>), NodeCommunicationMode? targetNodeCommunicationMode = default(NodeCommunicationMode?), NodeCommunicationMode? currentNodeCommunicationMode = default(NodeCommunicationMode?), UpgradePolicy upgradePolicy = default(UpgradePolicy), System.Collections.Generic.IDictionary<string, string> resourceTags = default(System.Collections.Generic.IDictionary<string, string>))
141153

142154
{
143155
this.DisplayName = displayName;
@@ -162,11 +174,13 @@ public PoolProperties()
162174
this.StartTask = startTask;
163175
this.Certificates = certificates;
164176
this.ApplicationPackages = applicationPackages;
177+
this.ApplicationLicenses = applicationLicenses;
165178
this.ResizeOperationStatus = resizeOperationStatus;
166179
this.MountConfiguration = mountConfiguration;
167180
this.TargetNodeCommunicationMode = targetNodeCommunicationMode;
168181
this.CurrentNodeCommunicationMode = currentNodeCommunicationMode;
169182
this.UpgradePolicy = upgradePolicy;
183+
this.ResourceTags = resourceTags;
170184
CustomInit();
171185
}
172186

@@ -341,6 +355,14 @@ public PoolProperties()
341355
[Newtonsoft.Json.JsonProperty(PropertyName = "applicationPackages")]
342356
public System.Collections.Generic.IList<ApplicationPackageReference> ApplicationPackages {get; set; }
343357

358+
/// <summary>
359+
/// Gets or sets the list of application licenses must be a subset of available
360+
/// Batch service application licenses. If a license is requested which is not
361+
/// supported, pool creation will fail.
362+
/// </summary>
363+
[Newtonsoft.Json.JsonProperty(PropertyName = "applicationLicenses")]
364+
public System.Collections.Generic.IList<string> ApplicationLicenses {get; set; }
365+
344366
/// <summary>
345367
/// Gets describes either the current operation (if the pool AllocationState is
346368
/// Resizing) or the previously completed operation (if the AllocationState is
@@ -373,6 +395,15 @@ public PoolProperties()
373395
[Newtonsoft.Json.JsonProperty(PropertyName = "upgradePolicy")]
374396
public UpgradePolicy UpgradePolicy {get; set; }
375397

398+
/// <summary>
399+
/// Gets or sets the user-defined tags to be associated with the Azure Batch
400+
/// Pool. When specified, these tags are propagated to the backing Azure
401+
/// resources associated with the pool. This property can only be specified
402+
/// when the Batch account was created with the poolAllocationMode property set
403+
/// to &#39;UserSubscription&#39;.
404+
/// </summary>
405+
[Newtonsoft.Json.JsonProperty(PropertyName = "resourceTags")]
406+
public System.Collections.Generic.IDictionary<string, string> ResourceTags {get; set; }
376407
/// <summary>
377408
/// Validate the object.
378409
/// </summary>

0 commit comments

Comments
 (0)