Interface PrivateEndpointConnections
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateEndpointConnection resource.void
Deletes the specified private endpoint connection associated with the Elastic San.void
delete
(String resourceGroupName, String elasticSanName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes the specified private endpoint connection associated with the Elastic San.void
deleteById
(String id) Deletes the specified private endpoint connection associated with the Elastic San.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified private endpoint connection associated with the Elastic San.Gets the specified private endpoint connection associated with the Elastic San.Gets the specified private endpoint connection associated with the Elastic San.com.azure.core.http.rest.Response
<PrivateEndpointConnection> getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the specified private endpoint connection associated with the Elastic San.com.azure.core.http.rest.Response
<PrivateEndpointConnection> getWithResponse
(String resourceGroupName, String elasticSanName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets the specified private endpoint connection associated with the Elastic San.com.azure.core.http.rest.PagedIterable
<PrivateEndpointConnection> List all Private Endpoint Connections associated with the Elastic San.com.azure.core.http.rest.PagedIterable
<PrivateEndpointConnection> List all Private Endpoint Connections associated with the Elastic San.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String elasticSanName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets the specified private endpoint connection associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.privateEndpointConnectionName
- The name of the Private Endpoint connection.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the Elastic San 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 elasticSanName, String privateEndpointConnectionName) Gets the specified private endpoint connection associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.privateEndpointConnectionName
- The name of the Private Endpoint connection.- Returns:
- the specified private endpoint connection associated with the Elastic San.
- 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
Deletes the specified private endpoint connection associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.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 elasticSanName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes the specified private endpoint connection associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String elasticSanName) List all Private Endpoint Connections associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.- Returns:
- list of private endpoint connections associated with SAN 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<PrivateEndpointConnection> list(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context) List all Private Endpoint Connections associated with the Elastic San.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.elasticSanName
- The name of the ElasticSan.context
- The context to associate with this operation.- Returns:
- list of private endpoint connections associated with SAN 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.
-
getById
Gets the specified private endpoint connection associated with the Elastic San.- Parameters:
id
- the resource ID.- Returns:
- the specified private endpoint connection associated with the Elastic San 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) Gets the specified private endpoint connection associated with the Elastic San.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the Elastic San 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
Deletes the specified private endpoint connection associated with the Elastic San.- 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
Deletes the specified private endpoint connection associated with the Elastic San.- 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.
-