Delen via


DevOpsPoolProperties Class

Definition

Pool properties.

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

Constructors

DevOpsPoolProperties(Int32, DevOpsOrganizationProfile, DevOpsPoolAgentProfile, DevOpsFabricProfile, String)

Initializes a new instance of DevOpsPoolProperties.

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<DevOpsPoolProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevOpsPoolProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevOpsPoolProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevOpsPoolProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevOpsPoolProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to