/** * Specifies the region for the resource. * @param region The location for the resource * @return the next stage of the definition */ public final FluentModelImplT withRegion(Region region) { return this.withRegion(region.toString()); }
@Override public DefinitionStages.Platform withLocation(Region location) { this.inner.withLocation(location.toString()); return this; }
@Override public PagedList<VirtualMachinePublisher> listByRegion(Region region) { return listByRegion(region.toString()); }
@Override public PagedList<VirtualMachineSize> listByRegion(Region region) { return listByRegion(region.toString()); }
@Override public GalleryImageImpl withLocation(Region location) { this.inner().withLocation(location.toString()); return this; }
@Override public GalleryImageImpl withLocation(Region location) { this.inner().withLocation(location.toString()); return this; }
@Override public DefinitionStages.WithSource withLocation(Region location) { this.inner().withLocation(location.toString()); return this; }
@Override public DefinitionStages.WithSource withLocation(Region location) { this.inner().withLocation(location.toString()); return this; }
public TrafficManagerEndpointImpl fromRegion(Region location) { this.inner().withEndpointLocation(location.toString()); return this; }
@Override public Observable<VirtualMachineOffer> listAsync() { return wrapListAsync(innerCollection.listOffersAsync(publisher.region().toString(), publisher.name())); } }
@Override public Observable<VirtualMachineExtensionImageType> listAsync() { return wrapListAsync(client.listTypesAsync(this.publisher.region().toString(), this.publisher.name())); } }
QueueImpl(String resourceGroupName, String namespaceName, String name, Region region, QueueInner inner, ServiceBusManager manager) { super(name, inner, manager); this.withExistingParentResource(resourceGroupName, namespaceName); initChildrenOperationsCache(); if (inner.location() == null) { inner.withLocation(region.toString()); } }
@Override public Observable<VirtualMachineOffer> listAsync() { return wrapListAsync(innerCollection.listOffersAsync(publisher.region().toString(), publisher.name())); } }
@Override public Observable<VirtualMachineExtensionImageType> listAsync() { return wrapListAsync(client.listTypesAsync(this.publisher.region().toString(), this.publisher.name())); } }
QueueImpl(String resourceGroupName, String namespaceName, String name, Region region, QueueInner inner, ServiceBusManager manager) { super(name, inner, manager); this.withExistingParentResource(resourceGroupName, namespaceName); initChildrenOperationsCache(); if (inner.location() == null) { inner.withLocation(region.toString()); } }
@Override public PagedList<VirtualMachineOffer> list() { return wrapList(innerCollection.listOffers(publisher.region().toString(), publisher.name())); }
public CdnEndpointImpl defineNewEndpoint(String name) { CdnEndpointImpl endpoint = this.prepareInlineDefine(name); endpoint.inner().withLocation(endpoint.parent().region().toString()); endpoint.inner().withOrigins(new ArrayList<DeepCreatedOrigin>()); return endpoint; }
@Override public int getBatchAccountQuotaByLocation(Region region) { return this.manager().inner().locations().getQuotas(region.toString()).accountQuota(); } }
@Override public PagedList<VirtualMachineSku> list() { return wrapList(innerCollection.listSkus( offer.region().toString(), offer.publisher().name(), offer.name())); }
@Override public PagedList<VirtualMachineSku> list() { return wrapList(innerCollection.listSkus( offer.region().toString(), offer.publisher().name(), offer.name())); }