Udostępnij za pośrednictwem


SupportTicketCommunicationCollection Class

Definition

A class representing a collection of SupportTicketCommunicationResource and their operations. Each SupportTicketCommunicationResource in the collection will belong to the same instance of SubscriptionSupportTicketResource. To get a SupportTicketCommunicationCollection instance call the GetSupportTicketCommunications method from an instance of SubscriptionSupportTicketResource.

public class SupportTicketCommunicationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Support.SupportTicketCommunicationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
type SupportTicketCommunicationCollection = class
    inherit ArmCollection
    interface seq<SupportTicketCommunicationResource>
    interface IEnumerable
    interface IAsyncEnumerable<SupportTicketCommunicationResource>
Public Class SupportTicketCommunicationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SupportTicketCommunicationResource), IEnumerable(Of SupportTicketCommunicationResource)
Inheritance
SupportTicketCommunicationCollection
Implements

Constructors

SupportTicketCommunicationCollection()

Initializes a new instance of the SupportTicketCommunicationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SupportTicketCommunicationData, CancellationToken)

Adds a new customer communication to an Azure support ticket.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Create
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
CreateOrUpdateAsync(WaitUntil, String, SupportTicketCommunicationData, CancellationToken)

Adds a new customer communication to an Azure support ticket.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Create
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
Get(String, CancellationToken)

Returns communication details for a support ticket.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
GetAll(Nullable<Int32>, String, CancellationToken)

Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications
  • Operation Id: Communications_List
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by CreatedDate or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications
  • Operation Id: Communications_List
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
GetAsync(String, CancellationToken)

Returns communication details for a support ticket.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SupportTicketCommunicationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SupportTicketCommunicationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to