Partilhar via


SubscriptionSupportTicketCollection Class

Definition

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

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

Constructors

SubscriptionSupportTicketCollection()

Initializes a new instance of the SubscriptionSupportTicketCollection 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 Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. 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/>Creating a support ticket for on-behalf-of: Include x-ms-authorization-auxiliary header to provide an auxiliary token as per documentation. The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.

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

Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. 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/>Creating a support ticket for on-behalf-of: Include x-ms-authorization-auxiliary header to provide an auxiliary token as per documentation. The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get ticket details for an Azure subscription. 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}
  • Operation Id: SupportTickets_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionSupportTicketResource
GetAll(Nullable<Int32>, String, CancellationToken)

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by Status, CreatedDate, ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, 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: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets
  • Operation Id: SupportTickets_List
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionSupportTicketResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by Status, CreatedDate, ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, 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: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets
  • Operation Id: SupportTickets_List
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionSupportTicketResource
GetAsync(String, CancellationToken)

Get ticket details for an Azure subscription. 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}
  • Operation Id: SupportTickets_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionSupportTicketResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SubscriptionSupportTicketResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to