@Override public boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) { return this.inner().checkExistence( resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion); }
@Override public boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) { return this.inner().checkExistence( resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion); }
@Override public Completable deleteByIdAsync(final String id) { final ResourcesInner inner = this.inner(); return getApiVersionFromId(id) .flatMap(new Func1<String, Observable<Void>>() { @Override public Observable<Void> call(String apiVersion) { return inner.deleteByIdAsync(id, apiVersion); } }).toCompletable(); }
@Override public Completable deleteByIdAsync(final String id) { final ResourcesInner inner = this.inner(); return getApiVersionFromId(id) .flatMap(new Func1<String, Observable<Void>>() { @Override public Observable<Void> call(String apiVersion) { return inner.deleteByIdAsync(id, apiVersion); } }).toCompletable(); }
@Override public Completable deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) { return this.inner().deleteAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion).toCompletable(); }
@Override public Observable<GenericResource> listAsync() { return wrapPageAsync(this.inner().listAsync()); }
@Override public Observable<GenericResource> listAsync() { return wrapPageAsync(this.inner().listAsync()); }
@Override public Completable deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) { return this.inner().deleteAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion).toCompletable(); }
@Override public boolean checkExistenceById(String id) { String apiVersion = getApiVersionFromId(id).toBlocking().single(); return this.inner().checkExistenceById(id, apiVersion); }
@Override public boolean checkExistenceById(String id) { String apiVersion = getApiVersionFromId(id).toBlocking().single(); return this.inner().checkExistenceById(id, apiVersion); }
@Override public Completable moveResourcesAsync(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List<String> resources) { ResourcesMoveInfoInner moveInfo = new ResourcesMoveInfoInner(); moveInfo.withTargetResourceGroup(targetResourceGroup.id()); moveInfo.withResources(resources); return this.inner().moveResourcesAsync(sourceResourceGroupName, moveInfo).toCompletable(); }
@Override public Completable moveResourcesAsync(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List<String> resources) { ResourcesMoveInfoInner moveInfo = new ResourcesMoveInfoInner(); moveInfo.withTargetResourceGroup(targetResourceGroup.id()); moveInfo.withResources(resources); return this.inner().moveResourcesAsync(sourceResourceGroupName, moveInfo).toCompletable(); }
@Override public GenericResource getById(String id) { Provider provider = this.manager().providers().getByName(ResourceUtils.resourceProviderFromResourceId(id)); String apiVersion = ResourceUtils.defaultApiVersion(id, provider); return wrapModel(this.inner().getById(id, apiVersion)).withApiVersion(apiVersion); }
@Override public GenericResource getById(String id) { Provider provider = this.manager().providers().getByName(ResourceUtils.resourceProviderFromResourceId(id)); String apiVersion = ResourceUtils.defaultApiVersion(id, provider); return wrapModel(this.inner().getById(id, apiVersion)).withApiVersion(apiVersion); }
GenericResourceInner inner = this.inner().get( resourceGroupName, resourceProviderNamespace,
GenericResourceInner inner = this.inner().get( resourceGroupName, resourceProviderNamespace,