Share via


EdgeDiagnosticCollection Class

Definition

A class representing a collection of EdgeDiagnosticResource and their operations. Each EdgeDiagnosticResource in the collection will belong to the same instance of ResourceGroupResource. To get an EdgeDiagnosticCollection instance call the GetEdgeDiagnostics method from an instance of ResourceGroupResource.

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

Constructors

EdgeDiagnosticCollection()

Initializes a new instance of the EdgeDiagnosticCollection 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, EdgeDiagnosticData, CancellationToken)

Creates new or updates existing Diagnostic resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_CreateOrUpdate
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
CreateOrUpdateAsync(WaitUntil, String, EdgeDiagnosticData, CancellationToken)

Creates new or updates existing Diagnostic resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_CreateOrUpdate
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
Get(String, CancellationToken)

Returns details of specified Diagnostic resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
GetAll(CancellationToken)

Returns a collection of Diagnostic resources within the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics
  • Operation Id: Diagnostic_ListByResourceGroup
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
GetAllAsync(CancellationToken)

Returns a collection of Diagnostic resources within the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics
  • Operation Id: Diagnostic_ListByResourceGroup
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
GetAsync(String, CancellationToken)

Returns details of specified Diagnostic resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}
  • Operation Id: Diagnostic_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDiagnosticResource
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<EdgeDiagnosticResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EdgeDiagnosticResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to