VirtualMachineResourceSettings 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.
Gets or sets the virtual machine resource settings.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettingsTypeConverter))]
public class VirtualMachineResourceSettings : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IVirtualMachineResourceSettings, Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.VirtualMachineResourceSettingsTypeConverter))>]
type VirtualMachineResourceSettings = class
interface IVirtualMachineResourceSettings
interface IJsonSerializable
interface IResourceSettings
interface IValidates
Public Class VirtualMachineResourceSettings
Implements IValidates, IVirtualMachineResourceSettings
- Inheritance
-
VirtualMachineResourceSettings
- Attributes
- Implements
Constructors
VirtualMachineResourceSettings() |
Creates an new VirtualMachineResourceSettings instance. |
Properties
ResourceType |
The resource type. For example, the value can be Microsoft.Compute/virtualMachines. |
Tag |
Gets or sets the Resource tags. |
TargetAvailabilitySetId |
Gets or sets the target availability set id for virtual machines not in an availability set at source. |
TargetAvailabilityZone |
Gets or sets the target availability zone. |
TargetResourceGroupName |
Gets or sets the target resource group name. |
TargetResourceName |
Gets or sets the target Resource name. |
TargetVMSize |
Gets or sets the target virtual machine size. |
UserManagedIdentity |
Gets or sets user-managed identities |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineResourceSettings. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineResourceSettings. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IVirtualMachineResourceSettings. |
FromJsonString(String) |
Creates a new instance of VirtualMachineResourceSettings, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineResourceSettings into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |