Update-CloudResource
Uppdateringar en molnresurs i VMM.
Syntax
Update-CloudResource
[-CloudResource] <CloudResource>
[-ResourceConfiguration <System.Collections.Generic.Dictionary`2[System.String,System.Object]>]
[-Description <String>]
[-VMMServer <ServerConnection>]
[-ResourceDefinition <System.Collections.Generic.Dictionary`2[System.String,System.Object]>]
[-RunREST]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Description
Cmdleten Update-CloudResource uppdaterar en molnresurs i Virtual Machine Manager (VMM).
Parametrar
-CloudResource
Anger ett molnresursobjekt.
Type: | CloudResource |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Description
Anger en beskrivning för en molnresurs.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
Anger att jobbstatus spåras och lagras i variabeln som heter av den här parametern.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUser
Anger ett användarnamn. Den här cmdleten fungerar för användarens räkning som den här parametern anger.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUserRole
Anger en användarroll. Om du vill hämta en användarroll använder du cmdleten Get-SCUserRole . Den här cmdleten fungerar för den användarroll som den här parametern anger.
Type: | UserRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceConfiguration
Anger ett resurskonfigurationsobjekt.
Type: | System.Collections.Generic.Dictionary`2[System.String,System.Object] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceDefinition
Anger ett resursdefinitionsobjekt.
Type: | System.Collections.Generic.Dictionary`2[System.String,System.Object] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunREST
Anger att REST-API:er körs.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Anger ett VMM-serverobjekt.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |