Set-CloudVMRoleSizeProfile

Updates a cloud VM role size profile.

Syntax

Set-CloudVMRoleSizeProfile
   [-Description <String>]
   [-CPUCount <UInt32>]
   [-MemoryMB <UInt32>]
   [-HWProfileId <Guid>]
   [-VMMServer <ServerConnection>]
   [-VMRoleSizeProfile] <CloudVmRoleSizeProfile>
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<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
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

States a description for the specified object.

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

-HWProfileId

Type:Guid
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
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
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False