Table of Contents

Interface IPrivateLinkResourcesOperations

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

PrivateLinkResourcesOperations operations.

public interface IPrivateLinkResourcesOperations
Extension Methods

Methods

GetWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)

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

Task<AzureOperationResponse<PrivateLinkResourceInner>> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string groupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)

Parameters

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

groupName string

The name of the private link resource.

customHeaders Dictionary<string, List<string>>

The headers that will be added to request.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<AzureOperationResponse<PrivateLinkResourceInner>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException

Thrown when a required parameter is null

ListByDatabaseAccountWithHttpMessagesAsync(string, string, Dictionary<string, List<string>>, CancellationToken)

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

Task<AzureOperationResponse<IEnumerable<PrivateLinkResourceInner>>> ListByDatabaseAccountWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)

Parameters

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

customHeaders Dictionary<string, List<string>>

The headers that will be added to request.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<AzureOperationResponse<IEnumerable<PrivateLinkResourceInner>>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException

Thrown when a required parameter is null