共用方式為


SiteDiagnosticCollection Class

Definition

A class representing a collection of SiteDiagnosticResource and their operations. Each SiteDiagnosticResource in the collection will belong to the same instance of WebSiteResource. To get a SiteDiagnosticCollection instance call the GetSiteDiagnostics method from an instance of WebSiteResource.

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

Constructors

SiteDiagnosticCollection()

Initializes a new instance of the SiteDiagnosticCollection 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: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
Get(String, CancellationToken)

Description for Get Diagnostics Category

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
GetAll(CancellationToken)

Description for Get Diagnostics Categories

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics
  • Operation Id: Diagnostics_ListSiteDiagnosticCategories
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
GetAllAsync(CancellationToken)

Description for Get Diagnostics Categories

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics
  • Operation Id: Diagnostics_ListSiteDiagnosticCategories
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
GetAsync(String, CancellationToken)

Description for Get Diagnostics Category

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}
  • Operation Id: Diagnostics_GetSiteDiagnosticCategory
  • Default Api Version: 2023-12-01
  • Resource: SiteDiagnosticResource
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<SiteDiagnosticResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteDiagnosticResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to