Interface PrivateEndpointConnections
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateEndpointConnection resource.void
Remove private endpoint connectionvoid
delete
(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Remove private endpoint connectionvoid
deleteById
(String id) Remove private endpoint connectionvoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Remove private endpoint connectionGet private endpoint connectionGet private endpoint connectioncom.azure.core.http.rest.Response<PrivateEndpointConnection>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get private endpoint connectioncom.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse
(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connectioncom.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
List private endpoint connectionscom.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
List private endpoint connections
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName) List private endpoint connectionsList private endpoint connections of the workspace.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- list of private link connections as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List private endpoint connectionsList private endpoint connections of the workspace.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- list of private link connections as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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 workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connectionGet a private endpoint connection properties for a workspace.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- a private endpoint connection properties for a workspace along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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 workspaceName, String privateEndpointConnectionName) Get private endpoint connectionGet a private endpoint connection properties for a workspace.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- a private endpoint connection properties for a workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Remove private endpoint connectionRemove private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.privateEndpointConnectionName
- The name of the private endpoint connection.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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 workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Remove private endpoint connectionRemove private endpoint connection with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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 connectionGet a private endpoint connection properties for a workspace.
- Parameters:
id
- the resource ID.- Returns:
- a private endpoint connection properties for a workspace along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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 connectionGet a private endpoint connection properties for a workspace.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a private endpoint connection properties for a workspace along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Remove private endpoint connectionRemove private endpoint connection with the specified name.
- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Remove private endpoint connectionRemove private endpoint connection with the specified name.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorInfoException
- 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.
-