Share via


DatabaseWatcherExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DatabaseWatcher.

public static class DatabaseWatcherExtensions
type DatabaseWatcherExtensions = class
Public Module DatabaseWatcherExtensions
Inheritance
DatabaseWatcherExtensions

Methods

Name Description
GetDatabaseWatcher(ResourceGroupResource, String, CancellationToken)

Get a Watcher

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}
  • Operation Id: Watcher_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherResource
<item>MockingTo mock this method, please mock GetDatabaseWatcher(String, CancellationToken) instead.</item>
GetDatabaseWatcherAlertRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseWatcherAlertRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseWatcherAlertRuleResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseWatcherAlertRuleResource(ResourceIdentifier) instead.</item>

GetDatabaseWatcherAsync(ResourceGroupResource, String, CancellationToken)

Get a Watcher

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}
  • Operation Id: Watcher_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherResource
<item>MockingTo mock this method, please mock GetDatabaseWatcherAsync(String, CancellationToken) instead.</item>
GetDatabaseWatcherHealthValidationResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseWatcherHealthValidationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseWatcherHealthValidationResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseWatcherHealthValidationResource(ResourceIdentifier) instead.</item>

GetDatabaseWatcherResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseWatcherResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DatabaseWatcherResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseWatcherResource(ResourceIdentifier) instead.</item>

GetDatabaseWatchers(ResourceGroupResource)

Gets a collection of DatabaseWatcherResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDatabaseWatchers() instead.</item>

GetDatabaseWatchers(SubscriptionResource, CancellationToken)

List Watcher resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DatabaseWatcher/watchers
  • Operation Id: Watcher_ListBySubscription
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherResource
<item>MockingTo mock this method, please mock GetDatabaseWatchers(CancellationToken) instead.</item>
GetDatabaseWatchersAsync(SubscriptionResource, CancellationToken)

List Watcher resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DatabaseWatcher/watchers
  • Operation Id: Watcher_ListBySubscription
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherResource
<item>MockingTo mock this method, please mock GetDatabaseWatchers(CancellationToken) instead.</item>
GetDatabaseWatcherSharedPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseWatcherSharedPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseWatcherSharedPrivateLinkResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseWatcherSharedPrivateLinkResource(ResourceIdentifier) instead.</item>

GetDatabaseWatcherTargetResource(ArmClient, ResourceIdentifier)

Gets an object representing a DatabaseWatcherTargetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DatabaseWatcherTargetResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDatabaseWatcherTargetResource(ResourceIdentifier) instead.</item>

Applies to