共用方式為


ProblemClassificationCollection Class

Definition

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

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

Constructors

ProblemClassificationCollection()

Initializes a new instance of the ProblemClassificationCollection 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}/problemClassifications/{problemClassificationName}
  • Operation Id: ProblemClassifications_Get
  • Default Api Version: 2024-04-01
  • Resource: ProblemClassificationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Get problem classification details for a specific Azure service.

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

Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}/problemClassifications
  • Operation Id: ProblemClassifications_List
  • Default Api Version: 2024-04-01
  • Resource: ProblemClassificationResource
GetAllAsync(CancellationToken)

Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.

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

Get problem classification details for a specific Azure service.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ProblemClassificationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to