Interface PrivateLinkResourcesClient
public interface PrivateLinkResourcesClient
An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets information about the specified private link resource.com.azure.core.http.rest.Response<PrivateLinkResourceInner>
getWithResponse
(String resourceGroupName, String accountName, String privateLinkResourceName, com.azure.core.util.Context context) Gets information about the specified private link resource.com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
listByBatchAccount
(String resourceGroupName, String accountName) Lists all of the private link resources in the specified account.com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner>
listByBatchAccount
(String resourceGroupName, String accountName, Integer maxresults, com.azure.core.util.Context context) Lists all of the private link resources in the specified account.
-
Method Details
-
listByBatchAccount
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName) Lists all of the private link resources in the specified account.- Parameters:
resourceGroupName
- The name of the resource group that contains the Batch account.accountName
- The name of the Batch account.- Returns:
- values returned by the List operation 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.
-
listByBatchAccount
com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listByBatchAccount(String resourceGroupName, String accountName, Integer maxresults, com.azure.core.util.Context context) Lists all of the private link resources in the specified account.- Parameters:
resourceGroupName
- The name of the resource group that contains the Batch account.accountName
- The name of the Batch account.maxresults
- The maximum number of items to return in the response.context
- The context to associate with this operation.- Returns:
- values returned by the List operation 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.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourceInner> getWithResponse(String resourceGroupName, String accountName, String privateLinkResourceName, com.azure.core.util.Context context) Gets information about the specified private link resource.- Parameters:
resourceGroupName
- The name of the resource group that contains the Batch account.accountName
- The name of the Batch account.privateLinkResourceName
- The private link resource name. This must be unique within the account.context
- The context to associate with this operation.- Returns:
- information about the specified private link resource 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
PrivateLinkResourceInner get(String resourceGroupName, String accountName, String privateLinkResourceName) Gets information about the specified private link resource.- Parameters:
resourceGroupName
- The name of the resource group that contains the Batch account.accountName
- The name of the Batch account.privateLinkResourceName
- The private link resource name. This must be unique within the account.- Returns:
- information about the specified private link resource.
- 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.
-