共用方式為


SupportAzureServiceCollection Class

Definition

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

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

Constructors

SupportAzureServiceCollection()

Initializes a new instance of the SupportAzureServiceCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
Get(String, CancellationToken)

Gets a specific Azure service for support ticket creation.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
GetAll(CancellationToken)

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

  • Request Path: /providers/Microsoft.Support/services
  • Operation Id: Services_List
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
GetAllAsync(CancellationToken)

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

  • Request Path: /providers/Microsoft.Support/services
  • Operation Id: Services_List
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
GetAsync(String, CancellationToken)

Gets a specific Azure service for support ticket creation.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportAzureServiceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SupportAzureServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to