Delen via


PlacementProfile Class

Definition

Specifies the compute and storage placement settings for the virtual machine.

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

Constructors

PlacementProfile()

Initializes a new instance of PlacementProfile.

Properties

ClusterId

Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.

DatastoreId

Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.

HostId

Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.

ResourcePoolId

Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

Explicit Interface Implementations

IJsonModel<PlacementProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PlacementProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlacementProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlacementProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PlacementProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to