Redigera

Dela via


New-AzActionGroupItsmReceiverObject

Create an in-memory object for ItsmReceiver.

Syntax

New-AzActionGroupItsmReceiverObject
   -ConnectionId <String>
   -Name <String>
   -Region <String>
   -TicketConfiguration <String>
   -WorkspaceId <String>
   [<CommonParameters>]

Description

Create an in-memory object for ItsmReceiver.

Examples

Example 1: create action group IT service management receiver

New-AzActionGroupItsmReceiverObject -ConnectionId a3b9076c-ce8e-434e-85b4-aff10cb3c8f1 -Name "sample itsm" -Region "westcentralus" -TicketConfiguration "{ 'PayloadRevision':0, 'WorkItemType':'Incident', 'UseTemplate':false,'WorkItemData':'{}','CreateOneWIPerCI':false}" -WorkspaceId "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c"

ConnectionId        : a3b9076c-ce8e-434e-85b4-aff10cb3c8f1
Name                : sample itsm
Region              : westcentralus
TicketConfiguration : { 'PayloadRevision':0, 'WorkItemType':'Incident', 'UseTemplate':false,'WorkItemData':'{}','CreateOneWIPerCI':false}
WorkspaceId         : 5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c

This command creates action group IT Service Management receiver object.

Parameters

-ConnectionId

Unique identification of ITSM connection among multiple defined in above workspace.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the Itsm 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

-Region

Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TicketConfiguration

JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceId

OMS LA instance identifier.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ItsmReceiver