Interface PrivateLinkResourcesOperationsClient
public interface PrivateLinkResourcesOperationsClient
An instance of this class provides access to all the operations defined in PrivateLinkResourcesOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet the specified private link resourcecom.azure.core.http.rest.Response<GroupIdInformationInner>
getWithResponse
(String resourceGroupName, String resourceName, String groupId, com.azure.core.util.Context context) Get the specified private link resourceList private link resourcescom.azure.core.http.rest.Response<PrivateLinkResourcesInner>
listWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private link resources
-
Method Details
-
list
List private link resourcesList private link resources for the given IotHub.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.- Returns:
- the available private link resources for an IotHub.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourcesInner> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private link resourcesList private link resources for the given IotHub.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.context
- The context to associate with this operation.- Returns:
- the available private link resources for an IotHub along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get the specified private link resourceGet the specified private link resource for the given IotHub.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.groupId
- The name of the private link resource.- Returns:
- the specified private link resource for the given IotHub.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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<GroupIdInformationInner> getWithResponse(String resourceGroupName, String resourceName, String groupId, com.azure.core.util.Context context) Get the specified private link resourceGet the specified private link resource for the given IotHub.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.groupId
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- the specified private link resource for the given IotHub along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-