Share via


HostingEnvironmentDetectorCollection Class

Definition

A class representing a collection of HostingEnvironmentDetectorResource and their operations. Each HostingEnvironmentDetectorResource in the collection will belong to the same instance of AppServiceEnvironmentResource. To get a HostingEnvironmentDetectorCollection instance call the GetHostingEnvironmentDetectors method from an instance of AppServiceEnvironmentResource.

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

Constructors

HostingEnvironmentDetectorCollection()

Initializes a new instance of the HostingEnvironmentDetectorCollection 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/hostingEnvironments/{name}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetHostingEnvironmentDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: HostingEnvironmentDetectorResource
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/hostingEnvironments/{name}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetHostingEnvironmentDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: HostingEnvironmentDetectorResource
Get(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)

Description for Get Hosting Environment Detector Response

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}
  • Operation Id: Diagnostics_GetHostingEnvironmentDetectorResponse
  • Default Api Version: 2024-04-01
  • Resource: HostingEnvironmentDetectorResource
GetAll(CancellationToken)

Description for List Hosting Environment Detector Responses

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors
  • Operation Id: Diagnostics_ListHostingEnvironmentDetectorResponses
  • Default Api Version: 2024-04-01
  • Resource: HostingEnvironmentDetectorResource
GetAllAsync(CancellationToken)

Description for List Hosting Environment Detector Responses

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

Description for Get Hosting Environment Detector Response

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HostingEnvironmentDetectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to