Interface PrivateLinkResources
public interface PrivateLinkResources
Resource collection API of PrivateLinkResources.
-
Method Summary
Modifier and TypeMethodDescriptionGets information about the specified private link resource.com.azure.core.http.rest.Response<PrivateLinkResource>
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<PrivateLinkResource>
listByBatchAccount
(String resourceGroupName, String accountName) Lists all of the private link resources in the specified account.com.azure.core.http.rest.PagedIterable<PrivateLinkResource>
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<PrivateLinkResource> 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<PrivateLinkResource> 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<PrivateLinkResource> 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
PrivateLinkResource 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.
-