Share via


PlacementProfile Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.PlacementProfileTypeConverter))]
public class PlacementProfile : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IPlacementProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.PlacementProfileTypeConverter))>]
type PlacementProfile = class
    interface IPlacementProfile
    interface IJsonSerializable
Public Class PlacementProfile
Implements IPlacementProfile
Inheritance
PlacementProfile
Attributes
Implements

Constructors

PlacementProfile()

Creates an new PlacementProfile instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PlacementProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlacementProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IPlacementProfile.

FromJsonString(String)

Creates a new instance of PlacementProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlacementProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to