Interface PrivateEndpointConnectionsClient
public interface PrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginDelete
(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connectioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginDelete
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connectioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginUpdate
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Update private endpoint connectioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginUpdate
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Update private endpoint connectionDelete private endpoint connectiondelete
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connectionGet private endpoint connectioncom.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
getWithResponse
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connectionList private endpoint connectionscom.azure.core.http.rest.Response<List<PrivateEndpointConnectionInner>>
listWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connectionsupdate
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Update private endpoint connectionupdate
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Update private endpoint connection
-
Method Details
-
list
List private endpoint connectionsList private endpoint connection properties.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.- Returns:
- the list of private endpoint connections 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<List<PrivateEndpointConnectionInner>> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connectionsList private endpoint connection properties.
- 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 list of private endpoint connections 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
PrivateEndpointConnectionInner get(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Get private endpoint connectionGet private endpoint connection properties.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- private endpoint connection properties.
- 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<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connectionGet private endpoint connection properties.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- private endpoint connection properties 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Update private endpoint connectionUpdate the status of a private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Update private endpoint connectionUpdate the status of a private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of 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.
-
update
PrivateEndpointConnectionInner update(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Update private endpoint connectionUpdate the status of a private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.- Returns:
- the private endpoint connection of 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.
-
update
PrivateEndpointConnectionInner update(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Update private endpoint connectionUpdate the status of a private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.context
- The context to associate with this operation.- Returns:
- the private endpoint connection of 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginDelete(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connectionDelete private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginDelete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connectionDelete private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of 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.
-
delete
PrivateEndpointConnectionInner delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connectionDelete private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- the private endpoint connection of 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.
-
delete
PrivateEndpointConnectionInner delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connectionDelete private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT hub.resourceName
- The name of the IoT hub.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- the private endpoint connection of 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.
-