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.void
delete(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Deletes the specified private endpoint connection associated with the workspace.void
deleteById(String id)
Deletes the specified private endpoint connection associated with the workspace.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the specified private endpoint connection associated with the workspace.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes the specified private endpoint connection associated with the workspace.PrivateEndpointConnection
get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the workspace.PrivateEndpointConnection
getById(String id)
Gets the specified private endpoint connection associated with the workspace.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the workspace.com.azure.core.http.rest.Response<PrivateEndpointConnection>
getWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the workspace.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
list(String resourceGroupName, String workspaceName)
List all the private endpoint connections associated with the workspace.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection>
list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
List all the private endpoint connections associated with the workspace.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> list(String resourceGroupName, String workspaceName)
List all the private endpoint connections associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.- Returns:
- list of private endpoint connection associated with the specified workspace 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)
List all the private endpoint connections associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.context
- The context to associate with this operation.- Returns:
- list of private endpoint connection associated with the specified workspace 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.
-
get
PrivateEndpointConnection get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.privateEndpointConnectionName
- The name of the private endpoint connection associated with the workspace.- Returns:
- the specified private endpoint connection associated with the workspace.
- 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 the specified private endpoint connection associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.privateEndpointConnectionName
- The name of the private endpoint connection associated with the workspace.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the workspace 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 workspaceName, String privateEndpointConnectionName)
Deletes the specified private endpoint connection associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.privateEndpointConnectionName
- The name of the private endpoint connection associated with the workspace.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes the specified private endpoint connection associated with the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- Name of Azure Machine Learning workspace.privateEndpointConnectionName
- The name of the private endpoint connection associated with the workspace.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.
-
getById
PrivateEndpointConnection getById(String id)
Gets the specified private endpoint connection associated with the workspace.- Parameters:
id
- the resource ID.- Returns:
- the specified private endpoint connection associated with the workspace 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 the specified private endpoint connection associated with the workspace.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the workspace 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
void deleteById(String id)
Deletes the specified private endpoint connection associated with the workspace.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the specified private endpoint connection associated with the workspace.- 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.
-
-