FlexProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the FlexProfile for a virtual machine. When set, Azure may deploy a compatible alternative VM size based on capacity and placement considerations, and the deployed size is returned in hardwareProfile.vmSize. See the properties.flexProfile description for the full usage rules, including how it interacts with hardwareProfile.vmSize.
public class FlexProfile
type FlexProfile = class
Public Class FlexProfile
- Inheritance
-
FlexProfile
Constructors
| Name | Description |
|---|---|
| FlexProfile() |
Initializes a new instance of the FlexProfile class. |
| FlexProfile(String) |
Initializes a new instance of the FlexProfile class. |
Properties
| Name | Description |
|---|---|
| PreferredVMSize |
Gets or sets specifies the preferred VM size, for example Standard_D4s_v5. Azure may deploy a compatible alternative size based on capacity and placement considerations. Supported VM families for FlexProfile may vary by region. The recommended way to get the list of available sizes is using these APIs: List all available virtual machine sizes in a region, List all available virtual machine sizes for resizing. |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |