Set-CloudVMRoleSizeProfile

Updates a cloud VM role size profile.

Syntax

Set-CloudVMRoleSizeProfile [-VMRoleSizeProfile] <CloudVmRoleSizeProfile> [-CPUCount <UInt32>]
 [-Description <String>] [-HWProfileId <Guid>] [-JobVariable <String>] [-MemoryMB <UInt32>] [-PROTipID <Guid>]
 [-RunAsynchronously] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Set-CloudVMRoleSizeProfile cmdlet updates a cloud VM role size profile.

Parameters

-CPUCount

Specifies the number of CPUs on a virtual machine, on a hardware profile, or on a template. Types of hosts support the following number of CPUs:

- Hyper-V. Up to four CPUs per virtual machine, depending on guest operating system.

  • VMware ESX. Up to four CPUs per virtual machine, but only one CPU on a virtual machine that runs Windows NT 4.0.
  • Citrix XenServer. Up to eight CPUs per virtual machine, depending on guest operating system.

Type:UInt32
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

States a description for the specified object.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HWProfileId
Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MemoryMB

Specifies the amount of memory in megabytes (MB) for a user role quota or cloud capacity.

Type:UInt32
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMRoleSizeProfile

Specifies a cloud VM role size profile object.

To obtain a cloud VM role size profile object, use the Get-CloudVMRoleSizeProfile cmdlet.

Type:CloudVmRoleSizeProfile
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False