Interface PrivateEndpointConnections
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateEndpointConnection resource.void
Delete private endpoint connection with the specified name.void
delete
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.void
deleteById
(String id) Delete private endpoint connection with the specified name.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.Get private endpoint connection properties for the given private endpoint.Get private endpoint connection properties for the given private endpoint.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get private endpoint connection properties for the given private endpoint.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connection properties for the given private endpoint.List private endpoint connection properties.com.azure.core.http.rest.Response<PrivateEndpointConnectionsResponse>
listWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connection properties.
-
Method Details
-
list
List private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.- Returns:
- the available private link connections for a Digital Twin.
- 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.
-
listWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionsResponse> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.context
- The context to associate with this operation.- Returns:
- the available private link connections for a Digital Twin 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
PrivateEndpointConnection get(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Get private endpoint connection properties for the given private endpoint.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- private endpoint connection properties for the given private endpoint.
- 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<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connection properties for the given private endpoint.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- private endpoint connection properties for the given private endpoint 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.
-
delete
Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.privateEndpointConnectionName
- The name of the private endpoint connection.- 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.
-
delete
void delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- 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.
-
getById
Get private endpoint connection properties for the given private endpoint.- Parameters:
id
- the resource ID.- Returns:
- private endpoint connection properties for the given private endpoint 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnection> getByIdWithResponse(String id, com.azure.core.util.Context context) Get private endpoint connection properties for the given private endpoint.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- private endpoint connection properties for the given private endpoint 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.
-
deleteById
Delete private endpoint connection with the specified name.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Delete private endpoint connection with the specified name.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- 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.
-
define
Begins definition for a new PrivateEndpointConnection resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateEndpointConnection definition.
-