次の方法で共有


New-AzActionGroupEmailReceiverObject

Create an in-memory object for EmailReceiver.

構文

Default (既定)

New-AzActionGroupEmailReceiverObject
    -EmailAddress <String>
    -Name <String>
    [-UseCommonAlertSchema <Boolean>]
    [<CommonParameters>]

説明

Create an in-memory object for EmailReceiver.

Example 1: create action group email receiver

New-AzActionGroupEmailReceiverObject -EmailAddress user@example.com -Name user1
EmailAddress     Name  Status UseCommonAlertSchema
------------     ----  ------ --------------------
user@example.com user1

This command creates action group email receiver object.

パラメーター

-EmailAddress

The email address of this receiver.

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Name

The name of the email receiver. Names must be unique across all receivers within an action group.

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-UseCommonAlertSchema

Indicates whether to use common alert schema.

パラメーターのプロパティ

型:Boolean
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値: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.

出力

EmailReceiver