Поделиться через


DatabaseWatcherHealthValidationCollection Class

Definition

A class representing a collection of DatabaseWatcherHealthValidationResource and their operations. Each DatabaseWatcherHealthValidationResource in the collection will belong to the same instance of DatabaseWatcherResource. To get a DatabaseWatcherHealthValidationCollection instance call the GetDatabaseWatcherHealthValidations method from an instance of DatabaseWatcherResource.

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

Constructors

DatabaseWatcherHealthValidationCollection()

Initializes a new instance of the DatabaseWatcherHealthValidationCollection 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.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
Get(String, CancellationToken)

Get a HealthValidation

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
GetAll(CancellationToken)

List HealthValidation resources by Watcher

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations
  • Operation Id: HealthValidation_ListByParent
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
GetAllAsync(CancellationToken)

List HealthValidation resources by Watcher

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations
  • Operation Id: HealthValidation_ListByParent
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
GetAsync(String, CancellationToken)

Get a HealthValidation

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}
  • Operation Id: HealthValidation_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherHealthValidationResource
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<DatabaseWatcherHealthValidationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DatabaseWatcherHealthValidationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to