Compartilhar via


PoolUpdateProperties Class

Definition

The updatable properties of the Pool.

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

Constructors

PoolUpdateProperties()

Initializes a new instance of PoolUpdateProperties.

Properties

AgentProfile

Defines how the machine will be handled once it executed a job. Please note DevOpsPoolAgentProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsStateful and DevOpsStatelessAgentProfile.

DevCenterProjectResourceId

The resource id of the DevCenter Project the pool belongs to.

FabricProfile

Defines the type of fabric the agent will run on. Please note DevOpsFabricProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsVmssFabricProfile.

MaximumConcurrency

Defines how many resources can there be created at any given time.

OrganizationProfile

Defines the organization in which the pool will be used. Please note DevOpsOrganizationProfile is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DevOpsAzureOrganizationProfile and DevOpsGitHubOrganizationProfile.

ProvisioningState

The status of the current operation.

Explicit Interface Implementations

IJsonModel<PoolUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PoolUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PoolUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PoolUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PoolUpdateProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to