BatchAccountPoolResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the properties of an existing pool.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
- Operation Id: Pool_Update
- Default Api Version: 2024-07-01
- Resource: BatchAccountPoolResource
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource> Update (Azure.ResourceManager.Batch.BatchAccountPoolData data, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.Update : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function Update (data As BatchAccountPoolData, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BatchAccountPoolResource)
Parameters
- data
- BatchAccountPoolData
Pool properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to apply the operation unconditionally.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET