Add-CloudResource
Lägger till en molnresurs i VMM.
Syntax
Add-CloudResource
-ResourceName <String>
[-Description <String>]
-CloudService <CloudService>
[-ResourceConfiguration <System.Collections.Generic.Dictionary`2[System.String,System.Object]>]
[-DeploymentCloud <Cloud>]
[-VMMServer <ServerConnection>]
-ResourceDefinition <System.Collections.Generic.Dictionary`2[System.String,System.Object]>
[-RunREST]
[-JobVariable <String>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
Description
Cmdleten Add-CloudResource lägger till en molnresurs i Virtual Machine Manager (VMM).
Parametrar
-CloudService
Anger ett molntjänstobjekt.
Type: | CloudService |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeploymentCloud
Anger ett molnobjekt.
Type: | Cloud |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Anger en beskrivning av molnresursen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
Anger att jobb förloppet spåras och lagras i variabeln med namnet 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 skaffa 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: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceName
Anger namnet på en molnresurs.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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 |