Table of Contents

Class PrivateLinkResourcesOperationsExtensions

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Extension methods for PrivateLinkResourcesOperations.

public static class PrivateLinkResourcesOperationsExtensions
Inheritance
PrivateLinkResourcesOperationsExtensions
Inherited Members

Methods

GetAsync(IPrivateLinkResourcesOperations, string, string, string, CancellationToken)

Gets the private link resources that need to be created for a Cosmos DB account.

public static Task<PrivateLinkResourceInner> GetAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, string groupName, CancellationToken cancellationToken = default)

Parameters

operations IPrivateLinkResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

groupName string

The name of the private link resource.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<PrivateLinkResourceInner>

ListByDatabaseAccountAsync(IPrivateLinkResourcesOperations, string, string, CancellationToken)

Gets the private link resources that need to be created for a Cosmos DB account.

public static Task<IEnumerable<PrivateLinkResourceInner>> ListByDatabaseAccountAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default)

Parameters

operations IPrivateLinkResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<PrivateLinkResourceInner>>