Partager via


PublicIpAddressConfiguration Class

Definition

The public IP Address configuration of the networking configuration of a Pool.

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

Constructors

PublicIpAddressConfiguration()

Initializes a new instance of PublicIpAddressConfiguration.

Properties

IpAddressIds

The list of public IPs which the Batch service will use when provisioning Compute Nodes. The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/Low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.

IpAddressProvisioningType

The provisioning type for Public IP Addresses for the Pool. The default value is BatchManaged.

Explicit Interface Implementations

IJsonModel<PublicIpAddressConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PublicIpAddressConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PublicIpAddressConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PublicIpAddressConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PublicIpAddressConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to