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
IPrivateLinkResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
groupName
stringThe name of the private link resource.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateLinkResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
cancellationToken
CancellationTokenThe cancellation token.