Interface PrivateEndpointConnectionsClient
public interface PrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName) Delete Private endpoint connection request.beginDelete
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete Private endpoint connection request.createOrUpdate
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body) Approves or Rejects a Private endpoint connection request.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
createOrUpdateWithResponse
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body, com.azure.core.util.Context context) Approves or Rejects a Private endpoint connection request.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.Get Private endpoint connection object.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
getWithResponse
(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get Private endpoint connection object.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
listByResource
(String resourceGroupName, String farmBeatsResourceName) Get list of Private endpoint connections.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
listByResource
(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get list of Private endpoint connections.
-
Method Details
-
createOrUpdate
PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body) Approves or Rejects a 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.body
- Request object.- Returns:
- the Private Endpoint Connection 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> createOrUpdateWithResponse(String resourceGroupName, String farmBeatsResourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner body, com.azure.core.util.Context context) Approves or Rejects a 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.body
- Request object.context
- The context to associate with this operation.- Returns:
- the Private Endpoint Connection resource 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
PrivateEndpointConnectionInner 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<PrivateEndpointConnectionInner> 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
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<PrivateEndpointConnectionInner> 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<PrivateEndpointConnectionInner> 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.
-