Partager via


LocationProfile Class

Definition

Represents the profile for a single additional location in the Fleet. The location and the virtualMachineProfileOverride (optional).

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

Constructors

LocationProfile(AzureLocation)

Initializes a new instance of LocationProfile.

Properties

Location

The ARM location name of the additional region. If LocationProfile is specified, then location is required.

VirtualMachineProfileOverride

An override for computeProfile.baseVirtualMachineProfile specific to this region. This override is merged with the base virtual machine profile to define the final virtual machine profile for the resources deployed in this location.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LocationProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LocationProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LocationProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LocationProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LocationProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to