Interface PrivateEndpointConnections
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateEndpointConnection resource.void
Deletes a private endpoint connection.void
delete
(String resourceGroupName, String configStoreName, 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.Gets the specified private endpoint connection associated with the configuration store.Gets the specified private endpoint connection associated with the configuration store.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 configuration store.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse
(String resourceGroupName, String configStoreName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets the specified private endpoint connection associated with the configuration store.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
listByConfigurationStore
(String resourceGroupName, String configStoreName) Lists all private endpoint connections for a configuration store.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
listByConfigurationStore
(String resourceGroupName, String configStoreName, com.azure.core.util.Context context) Lists all private endpoint connections for a configuration store.
-
Method Details
-
listByConfigurationStore
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByConfigurationStore(String resourceGroupName, String configStoreName) Lists all private endpoint connections for a configuration store.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.- Returns:
- a list of private endpoint connections 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.
-
listByConfigurationStore
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByConfigurationStore(String resourceGroupName, String configStoreName, com.azure.core.util.Context context) Lists all private endpoint connections for a configuration store.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.context
- The context to associate with this operation.- Returns:
- a list of private endpoint connections 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
PrivateEndpointConnection get(String resourceGroupName, String configStoreName, String privateEndpointConnectionName) Gets the specified private endpoint connection associated with the configuration store.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.privateEndpointConnectionName
- Private endpoint connection name.- Returns:
- the specified private endpoint connection associated with the configuration store.
- 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 configStoreName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets the specified private endpoint connection associated with the configuration store.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.privateEndpointConnectionName
- Private endpoint connection name.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the configuration store 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
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.privateEndpointConnectionName
- Private endpoint connection name.- 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 configStoreName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group to which the container registry belongs.configStoreName
- The name of the configuration store.privateEndpointConnectionName
- Private endpoint connection name.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
Gets the specified private endpoint connection associated with the configuration store.- Parameters:
id
- the resource ID.- Returns:
- the specified private endpoint connection associated with the configuration store 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 configuration store.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the configuration store 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 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
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
Begins definition for a new PrivateEndpointConnection resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateEndpointConnection definition.
-