Interface PrivateEndpointConnections
-
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateEndpointConnection.DefinitionStages.Blank
define(String name)
Begins definition for a new PrivateEndpointConnection resource.OperationResource
delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Delete a private endpoint connection.OperationResource
delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Delete a private endpoint connection.OperationResource
deleteById(String id)
Delete a private endpoint connection.OperationResource
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete a private endpoint connection.PrivateEndpointConnection
get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Gets a private endpoint connection.PrivateEndpointConnection
getById(String id)
Gets a private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets a private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets a private endpoint connection.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
list(String resourceGroupName, String workspaceName)
Lists private endpoint connection in workspace.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Lists private endpoint connection in workspace.
-
-
-
Method Detail
-
get
PrivateEndpointConnection get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Gets a private endpoint connection.- 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.
- 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 workspaceName, 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.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 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
OperationResource delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Delete a private endpoint connection.- 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:
- the 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
OperationResource delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Delete a private endpoint connection.- 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:
- the 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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName)
Lists private endpoint connection in workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- 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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Lists private endpoint connection in 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:
- 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.
-
getById
PrivateEndpointConnection getById(String id)
Gets a private endpoint connection.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnection> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets a private endpoint connection.- Parameters:
id
- the resource ID.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.
-
deleteById
OperationResource deleteById(String id)
Delete a private endpoint connection.- Parameters:
id
- the resource ID.- Returns:
- the 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.
-
deleteByIdWithResponse
OperationResource deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete a private endpoint connection.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the 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.
-
define
PrivateEndpointConnection.DefinitionStages.Blank define(String name)
Begins definition for a new PrivateEndpointConnection resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateEndpointConnection definition.
-
-