Interface PrivateLinkResourcesClient
public interface PrivateLinkResourcesClient
An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the private link resources that need to be created for a Cosmos DB account.Gets the private link resources that need to be created for a Cosmos DB account.com.azure.core.http.rest.Response
<PrivateLinkResourceInner> getWithResponse
(String resourceGroupName, String accountName, String groupName, com.azure.core.util.Context context) Gets the private link resources that need to be created for a Cosmos DB account.Mono
<com.azure.core.http.rest.Response<PrivateLinkResourceInner>> getWithResponseAsync
(String resourceGroupName, String accountName, String groupName) Gets the private link resources that need to be created for a Cosmos DB account.com.azure.core.http.rest.PagedIterable
<PrivateLinkResourceInner> listByDatabaseAccount
(String resourceGroupName, String accountName) Gets the private link resources that need to be created for a Cosmos DB account.com.azure.core.http.rest.PagedIterable
<PrivateLinkResourceInner> listByDatabaseAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the private link resources that need to be created for a Cosmos DB account.com.azure.core.http.rest.PagedFlux
<PrivateLinkResourceInner> listByDatabaseAccountAsync
(String resourceGroupName, String accountName) Gets the private link resources that need to be created for a Cosmos DB account.
-
Method Details
-
listByDatabaseAccountAsync
com.azure.core.http.rest.PagedFlux<PrivateLinkResourceInner> listByDatabaseAccountAsync(String resourceGroupName, String accountName) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.- Returns:
- the private link resources that need to be created for a Cosmos DB account as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByDatabaseAccount
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByDatabaseAccount(String resourceGroupName, String accountName) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.- Returns:
- the private link resources that need to be created for a Cosmos DB account as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByDatabaseAccount
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByDatabaseAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.context
- The context to associate with this operation.- Returns:
- the private link resources that need to be created for a Cosmos DB account as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<PrivateLinkResourceInner>> getWithResponseAsync(String resourceGroupName, String accountName, String groupName) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.groupName
- The name of the private link resource.- Returns:
- the private link resources that need to be created for a Cosmos DB account along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<PrivateLinkResourceInner> getAsync(String resourceGroupName, String accountName, String groupName) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.groupName
- The name of the private link resource.- Returns:
- the private link resources that need to be created for a Cosmos DB account on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String accountName, String groupName, com.azure.core.util.Context context) Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.groupName
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- the private link resources that need to be created for a Cosmos DB account along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets the private link resources that need to be created for a Cosmos DB account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.groupName
- The name of the private link resource.- Returns:
- the private link resources that need to be created for a Cosmos DB account.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-