共用方式為


SiteSlotDetectorCollection Class

Definition

A class representing a collection of SiteSlotDetectorResource and their operations. Each SiteSlotDetectorResource in the collection will belong to the same instance of WebSiteSlotResource. To get a SiteSlotDetectorCollection instance call the GetSiteSlotDetectors method from an instance of WebSiteSlotResource.

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

Constructors

SiteSlotDetectorCollection()

Initializes a new instance of the SiteSlotDetectorCollection 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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
GetAll(CancellationToken)

Description for List Site Detector Responses

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors
  • Operation Id: Diagnostics_ListSiteDetectorResponsesSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
GetAllAsync(CancellationToken)

Description for List Site Detector Responses

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors
  • Operation Id: Diagnostics_ListSiteDetectorResponsesSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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}/slots/{slot}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetSiteDetectorResponseSlot
  • Default Api Version: 2021-02-01
  • Resource: SiteSlotDetectorResource
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<SiteSlotDetectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotDetectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to