Share via


BackendPoolItem Class

Definition

Backend pool service information.

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

Constructors

BackendPoolItem(ResourceIdentifier)

Initializes a new instance of BackendPoolItem.

Properties

Id

The unique ARM id of the backend entity. The ARM id should refer to an already existing backend entity.

Priority

The priority of the backend entity in the backend pool. Must be between 0 and 100. It can be also null if the value not specified.

Weight

The weight of the backend entity in the backend pool. Must be between 0 and 100. It can be also null if the value not specified.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackendPoolItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BackendPoolItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackendPoolItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackendPoolItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BackendPoolItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to