Interface PrivateLinkHubPrivateLinkResourcesClient
public interface PrivateLinkHubPrivateLinkResourcesClient
An instance of this class provides access to all the operations defined in PrivateLinkHubPrivateLinkResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet Private Link Hub Private Link Resourcecom.azure.core.http.rest.Response<PrivateLinkResourceInner>
getWithResponse
(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName, com.azure.core.util.Context context) Get Private Link Hub Private Link Resourcecom.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
Private Link Resourcescom.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
Private Link Resources
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> list(String resourceGroupName, String privateLinkHubName) Private Link ResourcesGet all private link resources for a private link hub.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- The name of the private link hub.- Returns:
- all private link resources for a private link hub 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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> list(String resourceGroupName, String privateLinkHubName, com.azure.core.util.Context context) Private Link ResourcesGet all private link resources for a private link hub.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- The name of the private link hub.context
- The context to associate with this operation.- Returns:
- all private link resources for a private link hub 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.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName, com.azure.core.util.Context context) Get Private Link Hub Private Link ResourceGet private link resource in private link hub.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- The name of the private link hub.privateLinkResourceName
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- private link resource in private link hub 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
PrivateLinkResourceInner get(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName) Get Private Link Hub Private Link ResourceGet private link resource in private link hub.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateLinkHubName
- The name of the private link hub.privateLinkResourceName
- The name of the private link resource.- Returns:
- private link resource in private link hub.
- 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.
-