@@ -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: 'Default', 'Classic', 'Simplified'</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+ /// 'UserSubscription'.
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 'UserSubscription'.
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>
0 commit comments