@Override public GenericResourceImpl withoutPlan() { inner().withPlan(null); return this; }
public GenericResourceImpl withProperties(Object properties) { inner().withProperties(properties); return this; }
@Override public Plan plan() { return inner().plan(); }
@Override public GenericResourceImpl withoutPlan() { inner().withPlan(null); return this; }
@Override public Object properties() { return inner().properties(); }
@Override public Plan plan() { return inner().plan(); }
public GenericResourceImpl withProperties(Object properties) { inner().withProperties(properties); return this; }
@Override public Object properties() { return inner().properties(); }
@Override public Observable<GenericResource> call(String api) { String name = name(); if (!isInCreateMode()) { name = ResourceUtils.nameFromResourceId(inner().id()); } return resourceClient.createOrUpdateAsync( resourceGroupName(), resourceProviderNamespace, parentResourcePath(), resourceType, name, api, inner()) .subscribeOn(SdkContext.getRxScheduler()) .map(innerToFluentMap(self)); } });
@Override public Observable<GenericResource> call(String api) { String name = name(); if (!isInCreateMode()) { name = ResourceUtils.nameFromResourceId(inner().id()); } return resourceClient.createOrUpdateAsync( resourceGroupName(), resourceProviderNamespace, parentResourcePath(), resourceType, name, api, inner()) .subscribeOn(SdkContext.getRxScheduler()) .map(innerToFluentMap(self)); } });
public GenericResourceImpl withPlan(String name, String publisher, String product, String promotionCode) { inner().withPlan(new Plan().withName(name).withPublisher(publisher).withProduct(product).withPromotionCode(promotionCode)); return this; }
public GenericResourceImpl withPlan(String name, String publisher, String product, String promotionCode) { inner().withPlan(new Plan().withName(name).withPublisher(publisher).withProduct(product).withPromotionCode(promotionCode)); return this; }
@Override public String call(Provider provider) { String id; if (!isInCreateMode()) { id = inner().id(); } else { id = ResourceUtils.constructResourceId( serviceClient.subscriptionId(), resourceGroupName(), resourceProviderNamespace(), resourceType(), name(), parentResourcePath()); } self.apiVersion = ResourceUtils.defaultApiVersion(id, provider); return self.apiVersion; } });
@Override public String call(Provider provider) { String id; if (!isInCreateMode()) { id = inner().id(); } else { id = ResourceUtils.constructResourceId( serviceClient.subscriptionId(), resourceGroupName(), resourceProviderNamespace(), resourceType(), name(), parentResourcePath()); } self.apiVersion = ResourceUtils.defaultApiVersion(id, provider); return self.apiVersion; } });