New-AzActionGroup
Creates an ActionGroup reference object in memory.
Syntax
Default (Standard)
New-AzActionGroup
-ActionGroupId <String>
[-WebhookProperty <System.Collections.Generic.Dictionary`2[System.String,System.String]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzActionGroup cmdlet creates an action group reference object in memory.
Exempel
Example 1: Create an action group reference object in memory
PS C:\>$dict = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]"
PS C:\>$dict.Add('key1', 'value1')
PS C:\>$actionGrp1 = New-AzActionGroup -ActionGroupId 'actiongr1' -WebhookProperty $dict
Parametrar
-ActionGroupId
The Id/name of the action group.
Parameteregenskaper
Typ: | String |
Standardvärde: | None |
Stöder jokertecken: | False |
DontShow: | False |
Parameteruppsättningar
(All)
Position: | Named |
Obligatorisk: | True |
Värde från pipeline: | False |
Värde från pipeline efter egenskapsnamn: | True |
Värde från återstående argument: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Parameteregenskaper
Typ: | IAzureContextContainer |
Standardvärde: | None |
Stöder jokertecken: | False |
DontShow: | False |
Alias: | AzContext, AzureRmContext, AzureCredential |
Parameteruppsättningar
(All)
Position: | Named |
Obligatorisk: | False |
Värde från pipeline: | False |
Värde från pipeline efter egenskapsnamn: | False |
Värde från återstående argument: | False |
-WebhookProperty
The webhook properties of the action group
Parameteregenskaper
Typ: | Dictionary<TKey,TValue>[System.String,System.String] |
Standardvärde: | None |
Stöder jokertecken: | False |
DontShow: | False |
Parameteruppsättningar
(All)
Position: | Named |
Obligatorisk: | False |
Värde från pipeline: | False |
Värde från pipeline efter egenskapsnamn: | True |
Värde från återstående argument: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.