Share via


ServiceWorkspaceLoggerCollection Class

Definition

A class representing a collection of ServiceWorkspaceLoggerResource and their operations. Each ServiceWorkspaceLoggerResource in the collection will belong to the same instance of WorkspaceContractResource. To get a ServiceWorkspaceLoggerCollection instance call the GetServiceWorkspaceLoggers method from an instance of WorkspaceContractResource.

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

Constructors

ServiceWorkspaceLoggerCollection()

Initializes a new instance of the ServiceWorkspaceLoggerCollection 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}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_CreateOrUpdate
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementLoggerData, Nullable<ETag>, CancellationToken)

Creates or Updates a logger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_CreateOrUpdate
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
Get(String, CancellationToken)

Gets the details of the logger specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of loggers in the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers
  • Operation Id: WorkspaceLogger_ListByWorkspace
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of loggers in the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers
  • Operation Id: WorkspaceLogger_ListByWorkspace
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
GetAsync(String, CancellationToken)

Gets the details of the logger specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/loggers/{loggerId}
  • Operation Id: WorkspaceLogger_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceLoggerResource
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<ServiceWorkspaceLoggerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceLoggerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to