Interface PrivateLinkResources
-
public interface PrivateLinkResources
Resource collection API of PrivateLinkResources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupIdInformation
get(String resourceGroupName, String resourceName, String resourceId)
Get the specified private link resource for the given Digital Twin.com.azure.core.http.rest.Response<GroupIdInformation>
getWithResponse(String resourceGroupName, String resourceName, String resourceId, com.azure.core.util.Context context)
Get the specified private link resource for the given Digital Twin.GroupIdInformationResponse
list(String resourceGroupName, String resourceName)
List private link resources for given Digital Twin.com.azure.core.http.rest.Response<GroupIdInformationResponse>
listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
List private link resources for given Digital Twin.
-
-
-
Method Detail
-
list
GroupIdInformationResponse list(String resourceGroupName, String resourceName)
List private link resources for given Digital Twin.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.- Returns:
- the available private link resources for a Digital Twin.
- 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.
-
listWithResponse
com.azure.core.http.rest.Response<GroupIdInformationResponse> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
List private link resources for given Digital Twin.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.context
- The context to associate with this operation.- Returns:
- the available private link resources for a Digital Twin 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
GroupIdInformation get(String resourceGroupName, String resourceName, String resourceId)
Get the specified private link resource for the given Digital Twin.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.resourceId
- The name of the private link resource.- Returns:
- the specified private link resource for the given Digital Twin.
- 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<GroupIdInformation> getWithResponse(String resourceGroupName, String resourceName, String resourceId, com.azure.core.util.Context context)
Get the specified private link resource for the given Digital Twin.- Parameters:
resourceGroupName
- The name of the resource group that contains the DigitalTwinsInstance.resourceName
- The name of the DigitalTwinsInstance.resourceId
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- the specified private link resource for the given Digital Twin 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.
-
-