Language

PartialFulfillmentPolicy Class

Definition

Controls how partial fulfillment is handled for a BulkCreateCustom request. When enabled, Azure creates only the VMs or vCPUs it has high confidence can be successfully allocated, instead of attempting the entire request and potentially returning allocation failures.

public class PartialFulfillmentPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.BulkActions.Models.PartialFulfillmentPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.BulkActions.Models.PartialFulfillmentPolicy>
type PartialFulfillmentPolicy = class
    interface IJsonModel<PartialFulfillmentPolicy>
    interface IPersistableModel<PartialFulfillmentPolicy>
Public Class PartialFulfillmentPolicy
Implements IJsonModel(Of PartialFulfillmentPolicy), IPersistableModel(Of PartialFulfillmentPolicy)
Inheritance
PartialFulfillmentPolicy
Implements

Constructors

Name Description
PartialFulfillmentPolicy()

Initializes a new instance of PartialFulfillmentPolicy.

Properties

Name Description
FulfilledCapacity

The amount of capacity that was actually attempted, expressed in the units specified by capacityType. When partial fulfillment is enabled, this value can be less than the requested capacity.

Mode

Specifies whether partial fulfillment is allowed. When Enabled, Azure creates as many VMs as it has high confidence can be successfully allocated. When Disabled, Azure attempts to create all requested VMs, which may result into allocation failures.

Reason

Indicates why the fulfilled capacity is less than the requested capacity. Possible values include InsufficientCapacity and InsufficientQuota. Returned only in the create response when partial fulfillment is enabled and the request cannot be fully satisfied.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PartialFulfillmentPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<PartialFulfillmentPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<PartialFulfillmentPolicy>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<PartialFulfillmentPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<PartialFulfillmentPolicy>.Write(ModelReaderWriterOptions)

Applies to