共用方式為


SiteDetectorCollection Class

Definition

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

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

Constructors

SiteDetectorCollection()

Initializes a new instance of the SiteDetectorCollection 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, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
ExistsAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
Get(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Description for Get site detector response

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
GetAll(CancellationToken)

Description for List Site Detector Responses

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors
  • Operation Id: Diagnostics_ListSiteDetectorResponses
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
GetAllAsync(CancellationToken)

Description for List Site Detector Responses

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors
  • Operation Id: Diagnostics_ListSiteDetectorResponses
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
GetAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Description for Get site detector response

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
GetIfExists(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
GetIfExistsAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: SiteDetectorResource
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<SiteDetectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteDetectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to