Interface PrivateLinkResourcesClient
public interface PrivateLinkResourcesClient
An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet Private link resource object.com.azure.core.http.rest.Response<PrivateLinkResourceInner>
getWithResponse
(String resourceGroupName, String farmBeatsResourceName, String subResourceName, com.azure.core.util.Context context) Get Private link resource object.com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
listByResource
(String resourceGroupName, String farmBeatsResourceName) Get list of Private link resources.com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
listByResource
(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get list of Private link resources.
-
Method Details
-
listByResource
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByResource(String resourceGroupName, String farmBeatsResourceName) Get list of Private link resources.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.- Returns:
- list of Private link resources 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.
-
listByResource
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByResource(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get list of Private link resources.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.context
- The context to associate with this operation.- Returns:
- list of Private link resources 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.
-
get
PrivateLinkResourceInner get(String resourceGroupName, String farmBeatsResourceName, String subResourceName) Get Private link resource object.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.subResourceName
- Sub resource name.- Returns:
- private link resource object.
- 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 farmBeatsResourceName, String subResourceName, com.azure.core.util.Context context) Get Private link resource object.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.subResourceName
- Sub resource name.context
- The context to associate with this operation.- Returns:
- private link resource object 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.
-