共用方式為


Get-AzEmailServicedataEmailSendResult

取得電子郵件傳送作業的狀態。

語法

Get-AzEmailServicedataEmailSendResult
   -Endpoint <String>
   -OperationId <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzEmailServicedataEmailSendResult
   -Endpoint <String>
   -InputObject <IEmailServicedataIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得電子郵件傳送作業的狀態。

範例

範例 1:取得電子郵件傳送作業的狀態和作業標識碼。

Get-AzEmailServicedataEmailSendResult -Endpoint "https://contoso.unitedstates.communication.azure.com" -OperationId 1111c0de-899f-5cce-acb5-3ec493af3800

AdditionalInfo    :
Code              :
Detail            :
Id                : 1111c0de-899f-5cce-acb5-3ec493af3800
Message           :
ResourceGroupName :
RetryAfter        :
Status            : Succeeded
Target            :

傳回電子郵件傳送作業的狀態和作業標識碼。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Endpoint

通訊資源,例如 https://my-resource.communication.azure.com

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-InputObject

Identity 參數

類型:IEmailServicedataIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-OperationId

從先前呼叫傳送電子郵件所傳回之長時間執行作業的標識碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

輸出