Interface PrivateEndpointConnectionsClient
public interface PrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginCreateOrUpdate
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginCreateOrUpdate
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.beginDelete
(String resourceGroupName, String scopeName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.beginDelete
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.createOrUpdate
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.createOrUpdate
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.void
Deletes a private endpoint connection with a given name.void
delete
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.Gets a private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
getWithResponse
(String resourceGroupName, String scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets a private endpoint connection.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
listByPrivateLinkScope
(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
listByPrivateLinkScope
(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Gets all private endpoint connections on a private link scope.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- a private endpoint connection 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 scopeName, String privateEndpointConnectionName) Gets a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- a 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.parameters
- A private endpoint connection.- Returns:
- the
SyncPoller
for polling of a 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.parameters
- A private endpoint connection.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a 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.
-
createOrUpdate
PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.parameters
- A private endpoint connection.- Returns:
- a 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.
-
createOrUpdate
PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String scopeName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.parameters
- A private endpoint connection.context
- The context to associate with this operation.- Returns:
- a 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String scopeName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.- 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 scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.privateEndpointConnectionName
- The name of the private endpoint connection.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
Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.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 scopeName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.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.
-
listByPrivateLinkScope
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> listByPrivateLinkScope(String resourceGroupName, String scopeName) Gets all private endpoint connections on a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.- Returns:
- all private endpoint connections on a private link scope 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.
-
listByPrivateLinkScope
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> listByPrivateLinkScope(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Gets all private endpoint connections on a private link scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.context
- The context to associate with this operation.- Returns:
- all private endpoint connections on a private link scope 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.
-