PrivateLinkResourcesInner Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.implementation.PrivateLinkResourcesInner

public class PrivateLinkResourcesInner

An instance of this class provides access to all the operations defined in PrivateLinkResources.

Constructor Summary

Constructor Description
PrivateLinkResourcesInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of PrivateLinkResourcesInner.

Method Summary

Modifier and Type Method and Description
PrivateLinkResourceInner get(String resourceGroupName, String accountName, String privateLinkResourceName)

Gets information about the specified private link resource.

Observable<PrivateLinkResourceInner> getAsync(String resourceGroupName, String accountName, String privateLinkResourceName)

Gets information about the specified private link resource.

ServiceFuture<PrivateLinkResourceInner> getAsync(String resourceGroupName, String accountName, String privateLinkResourceName, final ServiceCallback<PrivateLinkResourceInner> serviceCallback)

Gets information about the specified private link resource.

Observable<ServiceResponse<PrivateLinkResourceInner>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String privateLinkResourceName)

Gets information about the specified private link resource.

PagedList<PrivateLinkResourceInner> listByBatchAccount(final String resourceGroupName, final String accountName)

Lists all of the private link resources in the specified account.

PagedList<PrivateLinkResourceInner> listByBatchAccount(final String resourceGroupName, final String accountName, final Integer maxresults)

Lists all of the private link resources in the specified account.

Observable<Page<PrivateLinkResourceInner>> listByBatchAccountAsync(final String resourceGroupName, final String accountName)

Lists all of the private link resources in the specified account.

Observable<Page<PrivateLinkResourceInner>> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

Lists all of the private link resources in the specified account.

ServiceFuture<List<PrivateLinkResourceInner>> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final Integer maxresults, final ListOperationCallback<PrivateLinkResourceInner> serviceCallback)

Lists all of the private link resources in the specified account.

ServiceFuture<List<PrivateLinkResourceInner>> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback<PrivateLinkResourceInner> serviceCallback)

Lists all of the private link resources in the specified account.

PagedList<PrivateLinkResourceInner> listByBatchAccountNext(final String nextPageLink)

Lists all of the private link resources in the specified account.

Observable<Page<PrivateLinkResourceInner>> listByBatchAccountNextAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

ServiceFuture<List<PrivateLinkResourceInner>> listByBatchAccountNextAsync(final String nextPageLink, final ServiceFuture<List<PrivateLinkResourceInner>> serviceFuture, final ListOperationCallback<PrivateLinkResourceInner> serviceCallback)

Lists all of the private link resources in the specified account.

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountNextSinglePageAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

ServiceResponse<PageImpl<PrivateLinkResourceInner>> *

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountSinglePageAsync(final String resourceGroupName, final String accountName)

Lists all of the private link resources in the specified account.

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountSinglePageAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

Lists all of the private link resources in the specified account.

ServiceResponse<PageImpl<PrivateLinkResourceInner>> *

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)

Lists all of the private link resources in the specified account.

Observable<ServiceResponse<Page<PrivateLinkResourceInner>>> listByBatchAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

Lists all of the private link resources in the specified account.

Constructor Details

PrivateLinkResourcesInner

public PrivateLinkResourcesInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of PrivateLinkResourcesInner.

Parameters:

retrofit - the Retrofit instance built from a Retrofit Builder.
client - the instance of the service client containing this operation class.

Method Details

get

public 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:

the PrivateLinkResourceInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(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:

the observable to the PrivateLinkResourceInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String resourceGroupName, String accountName, String privateLinkResourceName, final ServiceCallback serviceCallback)

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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(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:

the observable to the PrivateLinkResourceInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccount

public PagedList listByBatchAccount(final String resourceGroupName, final 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:

the PagedList<PrivateLinkResourceInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByBatchAccount

public PagedList listByBatchAccount(final String resourceGroupName, final String accountName, final Integer maxresults)

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.

Returns:

the PagedList<PrivateLinkResourceInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByBatchAccountAsync

public Observable> listByBatchAccountAsync(final String resourceGroupName, final 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:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountAsync

public Observable> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

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.

Returns:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountAsync

public ServiceFuture> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final Integer maxresults, final ListOperationCallback serviceCallback)

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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountAsync

public ServiceFuture> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback serviceCallback)

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.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountNext

public PagedList listByBatchAccountNext(final String nextPageLink)

Lists all of the private link resources in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<PrivateLinkResourceInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByBatchAccountNextAsync

public Observable> listByBatchAccountNextAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountNextAsync

public ServiceFuture> listByBatchAccountNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists all of the private link resources in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountNextSinglePageAsync

public Observable>> listByBatchAccountNextSinglePageAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

ServiceResponse<PageImpl<PrivateLinkResourceInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<PrivateLinkResourceInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountNextWithServiceResponseAsync

public Observable>> listByBatchAccountNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the private link resources in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountSinglePageAsync

public Observable>> listByBatchAccountSinglePageAsync(final String resourceGroupName, final 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:

the PagedList<PrivateLinkResourceInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountSinglePageAsync

public Observable>> listByBatchAccountSinglePageAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

Lists all of the private link resources in the specified account.

ServiceResponse<PageImpl<PrivateLinkResourceInner>> *

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account. ServiceResponse<PageImpl<PrivateLinkResourceInner>> *
accountName - The name of the Batch account. ServiceResponse<PageImpl<PrivateLinkResourceInner>> *
maxresults - The maximum number of items to return in the response.

Returns:

the PagedList<PrivateLinkResourceInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountWithServiceResponseAsync

public Observable>> listByBatchAccountWithServiceResponseAsync(final String resourceGroupName, final 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:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountWithServiceResponseAsync

public Observable>> listByBatchAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName, final Integer maxresults)

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.

Returns:

the observable to the PagedList<PrivateLinkResourceInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to