Condividi tramite


ApiManagementLoggerCollection Class

Definition

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

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

Constructors

ApiManagementLoggerCollection()

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

Creates or Updates a logger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}
  • Operation Id: Logger_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementLoggerResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementLoggerData, Nullable<ETag>, CancellationToken)

Creates or Updates a logger.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the logger specified by its identifier.

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

Lists a collection of loggers in the specified service instance.

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

Lists a collection of loggers in the specified service instance.

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

Gets the details of the logger specified by its identifier.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementLoggerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to