New-AzActionGroupArmRoleReceiverObject
Create an in-memory object for ArmRoleReceiver.
Syntax
New-AzActionGroupArmRoleReceiverObject
-Name <String>
-RoleId <String>
[-UseCommonAlertSchema <Boolean>]
[<CommonParameters>]
Description
Create an in-memory object for ArmRoleReceiver.
Examples
Example 1: create action group arm role receiver
New-AzActionGroupArmRoleReceiverObject -Name "sample arm role" -RoleId "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" -UseCommonAlertSchema $true
Name RoleId UseCommonAlertSchema
---- ------ --------------------
sample arm role 8e3af657-a8ff-443c-a75c-2fe8c4bcb635 True
This command creates action group arm role receiver object.
Parameters
-Name
The name of the arm role receiver. Names must be unique across all receivers within an action group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RoleId
The arm role id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UseCommonAlertSchema
Indicates whether to use common alert schema.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell