Get-AzEmailServicedataEmailSendResult

Gets the status of the email send operation.

Syntax

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

Description

Gets the status of the email send operation.

Examples

Example 1: Gets the status and operation id of the email send operation.

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            :

Returns a status and operation id of the email send operation.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Endpoint

The communication resource, for example https://my-resource.communication.azure.com

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

-InputObject

Identity Parameter

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

-OperationId

ID of the long running operation (GUID) returned from a previous call to send email

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

Inputs

IEmailServicedataIdentity

Outputs

IEmailSendResult