/** * Gets all deployments operations for a deployment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param deploymentName The name of the deployment with the operation to get. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DeploymentOperationInner> object */ public Observable<Page<DeploymentOperationInner>> listByResourceGroupAsync(final String resourceGroupName, final String deploymentName) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, deploymentName) .map(new Func1<ServiceResponse<Page<DeploymentOperationInner>>, Page<DeploymentOperationInner>>() { @Override public Page<DeploymentOperationInner> call(ServiceResponse<Page<DeploymentOperationInner>> response) { return response.body(); } }); }
/** * Gets all deployments operations for a deployment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param deploymentName The name of the deployment with the operation to get. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DeploymentOperationInner> object */ public Observable<Page<DeploymentOperationInner>> listByResourceGroupAsync(final String resourceGroupName, final String deploymentName) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, deploymentName) .map(new Func1<ServiceResponse<Page<DeploymentOperationInner>>, Page<DeploymentOperationInner>>() { @Override public Page<DeploymentOperationInner> call(ServiceResponse<Page<DeploymentOperationInner>> response) { return response.body(); } }); }
/** * Gets all deployments operations for a deployment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param deploymentName The name of the deployment with the operation to get. * @param top The number of results to return. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DeploymentOperationInner> object */ public Observable<Page<DeploymentOperationInner>> listByResourceGroupAsync(final String resourceGroupName, final String deploymentName, final Integer top) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, deploymentName, top) .map(new Func1<ServiceResponse<Page<DeploymentOperationInner>>, Page<DeploymentOperationInner>>() { @Override public Page<DeploymentOperationInner> call(ServiceResponse<Page<DeploymentOperationInner>> response) { return response.body(); } }); }
/** * Gets all deployments operations for a deployment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param deploymentName The name of the deployment with the operation to get. * @param top The number of results to return. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<DeploymentOperationInner> object */ public Observable<Page<DeploymentOperationInner>> listByResourceGroupAsync(final String resourceGroupName, final String deploymentName, final Integer top) { return listByResourceGroupWithServiceResponseAsync(resourceGroupName, deploymentName, top) .map(new Func1<ServiceResponse<Page<DeploymentOperationInner>>, Page<DeploymentOperationInner>>() { @Override public Page<DeploymentOperationInner> call(ServiceResponse<Page<DeploymentOperationInner>> response) { return response.body(); } }); }