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


DatabaseWatcherSharedPrivateLinkResourceCollection Class

Definition

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

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

Constructors

DatabaseWatcherSharedPrivateLinkResourceCollection()

Initializes a new instance of the DatabaseWatcherSharedPrivateLinkResourceCollection 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

CreateOrUpdate(WaitUntil, String, DatabaseWatcherSharedPrivateLinkResourceData, CancellationToken)

Create a SharedPrivateLinkResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operation Id: SharedPrivateLinkResource_Create
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherSharedPrivateLinkResource
CreateOrUpdateAsync(WaitUntil, String, DatabaseWatcherSharedPrivateLinkResourceData, CancellationToken)

Create a SharedPrivateLinkResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operation Id: SharedPrivateLinkResource_Create
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherSharedPrivateLinkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operation Id: SharedPrivateLinkResource_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherSharedPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Get a SharedPrivateLinkResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operation Id: SharedPrivateLinkResource_Get
  • Default Api Version: 2025-01-02
  • Resource: DatabaseWatcherSharedPrivateLinkResource
GetAll(CancellationToken)

List SharedPrivateLinkResource resources by Watcher

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

List SharedPrivateLinkResource resources by Watcher

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

Get a SharedPrivateLinkResource

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DatabaseWatcherSharedPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to