Editar

Compartilhar via


Get-AzSupportCommunicationsNoSubscription

Returns communication details for a support ticket.

Syntax

Get-AzSupportCommunicationsNoSubscription
   -SupportTicketName <String>
   [-Filter <String>]
   [-Top <Int32>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSupportCommunicationsNoSubscription
   -CommunicationName <String>
   -SupportTicketInputObject <ISupportIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSupportCommunicationsNoSubscription
   -CommunicationName <String>
   -SupportTicketName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSupportCommunicationsNoSubscription
   -InputObject <ISupportIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Returns communication details for a support ticket.

Examples

Example 1: List all communications under a no subscription support ticket

Get-AzSupportCommunicationsNoSubscription -SupportTicketName test1234

Name               Sender            Subject                                              CreatedDate
----               ------            -------                                              -----------
testCommunication1 sender@sender.com this is a test subject - TrackingID#2403070040015890 3/11/2024 3:46:43 PM
testCommunication2 sender@sender.com this is a test subject - TrackingID#2403070040015890 3/11/2024 3:46:43 PM

List all communications under a no subscription support ticket

Example 2: Get a communication under a no subscription support ticket

Get-AzSupportCommunicationsNoSubscription -SupportTicketName test1234 -Name testCommunication1

Body                   : <pre>this is a test body</pre>
CommunicationDirection : Inbound
CommunicationType      : Web
CreatedDate            : 3/7/2024 11:53:33 PM
Id                     : /providers/Microsoft.Support/supportTickets/test1234/communications/testCommunication1
Name                   : testCommunication
ResourceGroupName      :
Sender                 : sender@sender.com
Subject                : this is a test subject - TrackingID#2403070040015890
Type                   : Microsoft.Support/communications

Get a communication under a no subscription support ticket

Parameters

-CommunicationName

Communication name.

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

-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

-Filter

The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator.

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

-InputObject

Identity Parameter

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

-SupportTicketInputObject

Identity Parameter

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

-SupportTicketName

Support ticket name.

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

-Top

The number of values to return in the collection. Default is 10 and max is 10.

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

Inputs

ISupportIdentity

Outputs

ICommunicationDetails