Condividi tramite


ApiManagementDiagnosticCollection Class

Definition

A class representing a collection of ApiManagementDiagnosticResource and their operations. Each ApiManagementDiagnosticResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementDiagnosticCollection instance call the GetApiManagementDiagnostics method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementDiagnosticCollection()

Initializes a new instance of the ApiManagementDiagnosticCollection 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, DiagnosticContractData, Nullable<ETag>, CancellationToken)

Creates a new Diagnostic or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
CreateOrUpdateAsync(WaitUntil, String, DiagnosticContractData, Nullable<ETag>, CancellationToken)

Creates a new Diagnostic or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
Get(String, CancellationToken)

Gets the details of the Diagnostic specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all diagnostics of the API Management service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics
  • Operation Id: Diagnostic_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all diagnostics of the API Management service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics
  • Operation Id: Diagnostic_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
GetAsync(String, CancellationToken)

Gets the details of the Diagnostic specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDiagnosticResource
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<ApiManagementDiagnosticResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementDiagnosticResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to