Interface PrivateLinkResources
-
public interface PrivateLinkResources
Resource collection API of PrivateLinkResources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateLinkResourceDescription
get(String resourceGroupName, String resourceName, String groupName)
Gets a private link resource that need to be created for a service.com.azure.core.http.rest.Response<PrivateLinkResourceDescription>
getWithResponse(String resourceGroupName, String resourceName, String groupName, com.azure.core.util.Context context)
Gets a private link resource that need to be created for a service.PrivateLinkResourceListResultDescription
listByService(String resourceGroupName, String resourceName)
Gets the private link resources that need to be created for a service.com.azure.core.http.rest.Response<PrivateLinkResourceListResultDescription>
listByServiceWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets the private link resources that need to be created for a service.
-
-
-
Method Detail
-
listByService
PrivateLinkResourceListResultDescription listByService(String resourceGroupName, String resourceName)
Gets the private link resources that need to be created for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.- Returns:
- the private link resources that need to be created for a service.
- 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.
-
listByServiceWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourceListResultDescription> listByServiceWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Gets the private link resources that need to be created for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.context
- The context to associate with this operation.- Returns:
- the private link resources that need to be created for a service 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
PrivateLinkResourceDescription get(String resourceGroupName, String resourceName, String groupName)
Gets a private link resource that need to be created for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.groupName
- The name of the private link resource group.- Returns:
- a private link resource that need to be created for a service.
- 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<PrivateLinkResourceDescription> getWithResponse(String resourceGroupName, String resourceName, String groupName, com.azure.core.util.Context context)
Gets a private link resource that need to be created for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.groupName
- The name of the private link resource group.context
- The context to associate with this operation.- Returns:
- a private link resource that need to be created for a service 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.
-
-