ResourceT - the top level Azure resource typepublic interface SupportsBatchCreation<ResourceT extends Indexable>
(Note: this interface is not intended to be implemented by user code)
| Modifier and Type | Method and Description |
|---|---|
CreatedResources<ResourceT> |
create(Creatable<ResourceT>... creatables)
Executes the create requests on a collection (batch) of resources.
|
CreatedResources<ResourceT> |
create(List<Creatable<ResourceT>> creatables)
Executes the create requests on a collection (batch) of resources.
|
rx.Observable<Indexable> |
createAsync(Creatable<ResourceT>... creatables)
Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when
system resources are available.
|
rx.Observable<Indexable> |
createAsync(List<Creatable<ResourceT>> creatables)
Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when
system resources are available.
|
com.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> |
createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback,
Creatable<ResourceT>... creatables)
Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when
system resources are available.
|
com.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> |
createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback,
List<Creatable<ResourceT>> creatables)
Puts the requests to create a batch of resources into the queue and allow the HTTP client to execute it when
system resources are available.
|
CreatedResources<ResourceT> create(Creatable<ResourceT>... creatables)
creatables - the creatables in the batchCreatedResources<ResourceT> create(List<Creatable<ResourceT>> creatables)
creatables - the list of creatables in the batchrx.Observable<Indexable> createAsync(Creatable<ResourceT>... creatables)
creatables - the creatables in the batchrx.Observable<Indexable> createAsync(List<Creatable<ResourceT>> creatables)
creatables - the list of creatables in the batchcom.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables)
callback - the callback to handle success and failurecreatables - the creatables in the batchcom.microsoft.rest.ServiceFuture<CreatedResources<ResourceT>> createAsync(com.microsoft.rest.ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables)
callback - the callback to handle success and failurecreatables - the list of creatables in the batch/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/