Interface PrivateEndpointConnections
-
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateEndpointConnectionDescription.DefinitionStages.Blank
define(String name)
Begins definition for a new PrivateEndpointConnectionDescription resource.void
delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.void
delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes a private endpoint connection.void
deleteById(String id)
Deletes a private endpoint connection.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes a private endpoint connection.PrivateEndpointConnectionDescription
get(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the service.PrivateEndpointConnectionDescription
getById(String id)
Gets the specified private endpoint connection associated with the service.com.azure.core.http.rest.Response<PrivateEndpointConnectionDescription>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.com.azure.core.http.rest.Response<PrivateEndpointConnectionDescription>
getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescription>
listByService(String resourceGroupName, String resourceName)
Lists all private endpoint connections for a service.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescription>
listByService(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Lists all private endpoint connections for a service.
-
-
-
Method Detail
-
listByService
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescription> listByService(String resourceGroupName, String resourceName)
Lists all private endpoint connections for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.- Returns:
- list of private endpoint connection associated with the specified storage account 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.
-
listByService
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescription> listByService(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Lists all private endpoint connections for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.context
- The context to associate with this operation.- Returns:
- list of private endpoint connection associated with the specified storage account 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
PrivateEndpointConnectionDescription get(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.- Returns:
- the specified private endpoint connection associated with the service.
- 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<PrivateEndpointConnectionDescription> getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the service 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
void delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.- 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)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.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
PrivateEndpointConnectionDescription getById(String id)
Gets the specified private endpoint connection associated with the service.- Parameters:
id
- the resource ID.- Returns:
- the specified private endpoint connection associated with the service 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<PrivateEndpointConnectionDescription> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the service 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
void deleteById(String id)
Deletes a private endpoint connection.- 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
void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes a private endpoint connection.- 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
PrivateEndpointConnectionDescription.DefinitionStages.Blank define(String name)
Begins definition for a new PrivateEndpointConnectionDescription resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateEndpointConnectionDescription definition.
-
-