Interface PrivateLinkResources
public interface PrivateLinkResources
Resource collection API of PrivateLinkResources.
-
Method Summary
Modifier and TypeMethodDescriptionGet the specified private link resourcecom.azure.core.http.rest.Response<GroupIdInformation>
getWithResponse
(String resourceGroupName, String workspaceName, String groupId, com.azure.core.util.Context context) Get the specified private link resourcecom.azure.core.http.rest.PagedIterable<GroupIdInformation>
List private link resourcescom.azure.core.http.rest.PagedIterable<GroupIdInformation>
List private link resources
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<GroupIdInformation> list(String resourceGroupName, String workspaceName) List private link resourcesList private link resources for a given workspace.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- the available private link resources for a workspace 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<GroupIdInformation> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List private link resourcesList private link resources for a given 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:
- the available private link resources for a workspace 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<GroupIdInformation> getWithResponse(String resourceGroupName, String workspaceName, String groupId, com.azure.core.util.Context context) Get the specified private link resourceGet the specified private link resource for the given group id (sub-resource).
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.groupId
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- the specified private link resource for the given group id (sub-resource) 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
Get the specified private link resourceGet the specified private link resource for the given group id (sub-resource).
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.groupId
- The name of the private link resource.- Returns:
- the specified private link resource for the given group id (sub-resource).
- 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.
-