Update-CloudResource

Updates a cloud resource in VMM.

Syntax

Update-CloudResource [-CloudResource] <CloudResource> [-Description <String>] [-JobVariable <String>]
 [-OnBehalfOfUser <String>] [-OnBehalfOfUserRole <UserRole>]
 [-ResourceConfiguration <System.Collections.Generic.Dictionary`2[System.String,System.Object]>]
 [-ResourceDefinition <System.Collections.Generic.Dictionary`2[System.String,System.Object]>] [-RunREST]
 [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Update-CloudResource cmdlet updates a cloud resource in Virtual Machine Manager (VMM).

Parameters

-CloudResource

Specifies a cloud resource object.

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

Specifies a description for a cloud resource.

Type:String
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
-OnBehalfOfUser

Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.

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

Specifies a user role. To obtain a user role, use the Get-SCUserRole cmdlet. This cmdlet operates on behalf of the user role that this parameter specifies.

Type:UserRole
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceConfiguration

Specifies a resource configuration object.

Type:System.Collections.Generic.Dictionary`2[System.String,System.Object]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceDefinition

Specifies a resource definition object.

Type:System.Collections.Generic.Dictionary`2[System.String,System.Object]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunREST

Indicates that REST APIs are run.

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