Interface PrivateEndpointConnections
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateEndpointConnection resource.void
delete
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName) Delete Private endpoint connection request.void
delete
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete Private endpoint connection request.void
deleteById
(String id) Delete Private endpoint connection request.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete Private endpoint connection request.Get Private endpoint connection object.Get Private endpoint connection object.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get Private endpoint connection object.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get Private endpoint connection object.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
listByResource
(String resourceGroupName, String farmBeatsResourceName) Get list of Private endpoint connections.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
listByResource
(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get list of Private endpoint connections.
-
Method Details
-
get
PrivateEndpointConnection get(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName) Get Private endpoint connection object.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.privateEndpointConnectionName
- Private endpoint connection name.- Returns:
- private endpoint connection object.
- 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 farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get Private endpoint connection object.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.privateEndpointConnectionName
- Private endpoint connection name.context
- The context to associate with this operation.- Returns:
- private endpoint connection object 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 farmBeatsResourceName, String privateEndpointConnectionName) Delete Private endpoint connection request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.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 farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete Private endpoint connection request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.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.
-
listByResource
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByResource(String resourceGroupName, String farmBeatsResourceName) Get list of Private endpoint connections.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.- Returns:
- 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.
-
listByResource
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByResource(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get list of Private endpoint connections.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.farmBeatsResourceName
- FarmBeats resource name.context
- The context to associate with this operation.- Returns:
- 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.
-
getById
Get Private endpoint connection object.- Parameters:
id
- the resource ID.- Returns:
- private endpoint connection object 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 object.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- private endpoint connection object 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 request.- 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 request.- 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.
-