Compartilhar via


TenantSupportTicketCollection Class

Definition

A class representing a collection of TenantSupportTicketResource and their operations. Each TenantSupportTicketResource in the collection will belong to the same instance of TenantResource. To get a TenantSupportTicketCollection instance call the GetTenantSupportTickets method from an instance of TenantResource.

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

Constructors

TenantSupportTicketCollection()

Initializes a new instance of the TenantSupportTicketCollection 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, SupportTicketData, CancellationToken)

Creates a new support ticket for Billing, and Subscription Management issues. Learn the prerequisites required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Create
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
CreateOrUpdateAsync(WaitUntil, String, SupportTicketData, CancellationToken)

Creates a new support ticket for Billing, and Subscription Management issues. Learn the prerequisites required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Create
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
Get(String, CancellationToken)

Gets details for a specific support ticket. 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: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
GetAll(Nullable<Int32>, String, CancellationToken)

Lists all the support tickets. <br/><br/>You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, , <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, using which you can retrieve the next set of support tickets. <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: /providers/Microsoft.Support/supportTickets
  • Operation Id: SupportTicketsNoSubscription_List
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Lists all the support tickets. <br/><br/>You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, , <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, using which you can retrieve the next set of support tickets. <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: /providers/Microsoft.Support/supportTickets
  • Operation Id: SupportTicketsNoSubscription_List
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
GetAsync(String, CancellationToken)

Gets details for a specific support ticket. 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: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Operation Id: SupportTicketsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: TenantSupportTicketResource
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<TenantSupportTicketResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TenantSupportTicketResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to