I
InsightNexus

Class PoolResizeErrorCodes | Azure SDK for .NET

Author

Emma Terry

Published Feb 16, 2026

Contains error codes specific to pool resize errors.

Inheritance

System.Object

PoolResizeErrorCodes

Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Batch.dll
Syntax
public static class PoolResizeErrorCodes

Fields

AccountCoreQuotaReached

The specified account has reached core quota

Declaration
public const string AccountCoreQuotaReached;
Field Value
System.String

AccountLowPriorityCoreQuotaReached

The specified account has reached low priority core quota

Declaration
public const string AccountLowPriorityCoreQuotaReached;
Field Value
System.String

AccountSpotCoreQuotaReached

The specified account has reached spot core quota

Declaration
public const string AccountSpotCoreQuotaReached;
Field Value
System.String

AllocationFailed

Desired number of nodes could not be allocated

Declaration
public const string AllocationFailed;
Field Value
System.String

AllocationTimedOut

Desired number of nodes could not be allocated as the resize timeout was reached

Declaration
public const string AllocationTimedOut;
Field Value
System.String

CommunicationEnabledPoolReachedMaxVMCount

Communication enabled pool has reached the maximum VM count

Declaration
public const string CommunicationEnabledPoolReachedMaxVMCount;
Field Value
System.String

DependentResourceNotFound

A dependent resource specified for the Pool was not found.

Declaration
public const string DependentResourceNotFound;
Field Value
System.String

DiskEncryptionFailure

Pool creation failed with disk encryption error

Declaration
public const string DiskEncryptionFailure;
Field Value
System.String

FailedIdentityOperation

Pool creation failed with error 'Failed to perform resource identity operation'

Declaration
public const string FailedIdentityOperation;
Field Value
System.String

IncompatibleVMSize

Requested VM size is not compatible with requested configuration.

Declaration
public const string IncompatibleVMSize;
Field Value
System.String

MissingPublisherPropertyInMarketPlacePlan

The marketplace resource plan is missing required publisher property

Declaration
public const string MissingPublisherPropertyInMarketPlacePlan;
Field Value
System.String

OperationsOnImageRestrictedByPolicy

Assigned policy on Custom Image has blocked pool operation.

Declaration
public const string OperationsOnImageRestrictedByPolicy;
Field Value
System.String

OperationsOnLoadBalancerRestrictedByPolicy

Assigned policy on Load Balancer has blocked pool operation.

Declaration
public const string OperationsOnLoadBalancerRestrictedByPolicy;
Field Value
System.String

OperationsOnNetworkSecurityGroupRestrictedByPolicy

Assigned policy on Network Security Group has blocked pool operation.

Declaration
public const string OperationsOnNetworkSecurityGroupRestrictedByPolicy;
Field Value
System.String

OperationsOnPrivateEndpointRestrictedByPolicy

Assigned policy on Private Endpoint has blocked pool operation.

Declaration
public const string OperationsOnPrivateEndpointRestrictedByPolicy;
Field Value
System.String

OperationsOnPrivateLinkRestrictedByPolicy

Assigned policy on Private Link has blocked pool operation.

Declaration
public const string OperationsOnPrivateLinkRestrictedByPolicy;
Field Value
System.String

OperationsOnPublicIPRestrictedByPolicy

Assigned policy on PublicIP has blocked pool operation.

Declaration
public const string OperationsOnPublicIPRestrictedByPolicy;
Field Value
System.String

OperationsOnVirtualNetworkRestrictedByPolicy

Assigned policy on Virtual Network has blocked pool operation.

Declaration
public const string OperationsOnVirtualNetworkRestrictedByPolicy;
Field Value
System.String

OperationsRestrictedByPolicy

Assigned policy on resource has blocked pool operation.

Declaration
public const string OperationsRestrictedByPolicy;
Field Value
System.String

OverconstrainedAllocationRequestError

Allocation failed because the allocation condition is too restrictive. Please remove some constraints and try again

Declaration
public const string OverconstrainedAllocationRequestError;
Field Value
System.String

RemoveNodesFailed

One or more failures were encountered in removing nodes from the pool

Declaration
public const string RemoveNodesFailed;
Field Value
System.String

ResizeStopped

Desired number of nodes could not be allocated due to a stop resize operation

Declaration
public const string ResizeStopped;
Field Value
System.String

Unknown

The reason for the failure is not known.

Declaration
public const string Unknown;
Field Value
System.String

UnsupportedVMSize

Requested VM size is not supported.

Declaration
public const string UnsupportedVMSize;
Field Value
System.String