PrivateEndpointConnectionsInner Class

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

public class PrivateEndpointConnectionsInner

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

Constructor Summary

Constructor Description
PrivateEndpointConnectionsInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of PrivateEndpointConnectionsInner.

Method Summary

Modifier and Type Method and Description
PrivateEndpointConnectionInner beginUpdate(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

PrivateEndpointConnectionInner beginUpdate(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Observable<PrivateEndpointConnectionInner> beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

ServiceFuture<PrivateEndpointConnectionInner> beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, final ServiceCallback<PrivateEndpointConnectionInner> serviceCallback)

Updates the properties of an existing private endpoint connection.

Observable<PrivateEndpointConnectionInner> beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

ServiceFuture<PrivateEndpointConnectionInner> beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch, final ServiceCallback<PrivateEndpointConnectionInner> serviceCallback)

Updates the properties of an existing private endpoint connection.

Observable<ServiceResponseWithHeaders<PrivateEndpointConnectionInner, PrivateEndpointConnectionUpdateHeaders>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Observable<ServiceResponseWithHeaders<PrivateEndpointConnectionInner, PrivateEndpointConnectionUpdateHeaders>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

PrivateEndpointConnectionInner get(String resourceGroupName, String accountName, String privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

Observable<PrivateEndpointConnectionInner> getAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

ServiceFuture<PrivateEndpointConnectionInner> getAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, final ServiceCallback<PrivateEndpointConnectionInner> serviceCallback)

Gets information about the specified private endpoint connection.

Observable<ServiceResponse<PrivateEndpointConnectionInner>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

PagedList<PrivateEndpointConnectionInner> listByBatchAccountNext(final String nextPageLink)

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

ServiceResponse<PageImpl<PrivateEndpointConnectionInner>> *

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

ServiceResponse<PageImpl<PrivateEndpointConnectionInner>> *

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

Lists all of the private endpoint connections in the specified account.

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

Lists all of the private endpoint connections in the specified account.

PrivateEndpointConnectionInner update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

PrivateEndpointConnectionInner update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Observable<PrivateEndpointConnectionInner> updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

ServiceFuture<PrivateEndpointConnectionInner> updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, final ServiceCallback<PrivateEndpointConnectionInner> serviceCallback)

Updates the properties of an existing private endpoint connection.

Observable<PrivateEndpointConnectionInner> updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

ServiceFuture<PrivateEndpointConnectionInner> updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch, final ServiceCallback<PrivateEndpointConnectionInner> serviceCallback)

Updates the properties of an existing private endpoint connection.

Observable<ServiceResponseWithHeaders<PrivateEndpointConnectionInner, PrivateEndpointConnectionUpdateHeaders>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Observable<ServiceResponseWithHeaders<PrivateEndpointConnectionInner, PrivateEndpointConnectionUpdateHeaders>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Constructor Details

PrivateEndpointConnectionsInner

public PrivateEndpointConnectionsInner(Retrofit retrofit, BatchManagementClientImpl client)

Initializes an instance of PrivateEndpointConnectionsInner.

Parameters:

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

Method Details

beginUpdate

public PrivateEndpointConnectionInner beginUpdate(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the PrivateEndpointConnectionInner 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

beginUpdate

public PrivateEndpointConnectionInner beginUpdate(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the PrivateEndpointConnectionInner 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

beginUpdateAsync

public Observable beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public ServiceFuture beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, final ServiceCallback serviceCallback)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public Observable beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public ServiceFuture beginUpdateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch, final ServiceCallback serviceCallback)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateWithServiceResponseAsync

public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateWithServiceResponseAsync

public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public PrivateEndpointConnectionInner get(String resourceGroupName, String accountName, String privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.

Returns:

the PrivateEndpointConnectionInner 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 privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

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

Gets information about the specified private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection 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 privateEndpointConnectionName)

Gets information about the specified private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.

Returns:

the observable to the PrivateEndpointConnectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccount

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

Lists all of the private endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections 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 endpoint connections 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 endpoint connections in the specified account.

Parameters:

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

Returns:

the PagedList<PrivateEndpointConnectionInner> 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 endpoint connections in the specified account.

Parameters:

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

Returns:

the observable to the PagedList<PrivateEndpointConnectionInner> 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 endpoint connections 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 endpoint connections in the specified account.

ServiceResponse<PageImpl<PrivateEndpointConnectionInner>> *

Parameters:

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

Returns:

the PagedList<PrivateEndpointConnectionInner> 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 endpoint connections in the specified account.

Parameters:

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

Returns:

the observable to the PagedList<PrivateEndpointConnectionInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByBatchAccountSinglePageAsync

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

Lists all of the private endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections in the specified account.

ServiceResponse<PageImpl<PrivateEndpointConnectionInner>> *

Parameters:

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

Returns:

the PagedList<PrivateEndpointConnectionInner> 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 endpoint connections 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<PrivateEndpointConnectionInner> 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 endpoint connections 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<PrivateEndpointConnectionInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public PrivateEndpointConnectionInner update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the PrivateEndpointConnectionInner 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

update

public PrivateEndpointConnectionInner update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the PrivateEndpointConnectionInner 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

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, final ServiceCallback serviceCallback)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public Observable updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch, final ServiceCallback serviceCallback)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch)

Updates the properties of an existing private endpoint connection.

Parameters:

resourceGroupName - The name of the resource group that contains the Batch account.
accountName - The name of the Batch account.
privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to