Muokkaa

Jaa


New-AzActionGroupArmRoleReceiverObject

Create an in-memory object for ArmRoleReceiver.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RoleId

The arm role id.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UseCommonAlertSchema

Indicates whether to use common alert schema.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Outputs

ArmRoleReceiver