SupportsBatchCreation<ResourceT> Interface
Type Parameters
- ResourceT
the top level Azure resource type
public interface SupportsBatchCreation
Providing access to creating a batch of Azure top level resources of same type.
(Note: this interface is not intended to be implemented by user code)
Method Summary
Modifier and Type | Method and Description |
---|---|
Created |
create(Creatable<ResourceT>... creatables)
Executes the create requests on a collection (batch) of resources. |
Created |
create(List<Creatable<ResourceT>> creatables)
Executes the create requests on a collection (batch) of resources. |
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. |
ServiceFuture<Created |
createAsync(final 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. |
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. |
ServiceFuture<Created |
createAsync(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. |
Method Details
create
public CreatedResources
Executes the create requests on a collection (batch) of resources.
Parameters:
Returns:
create
public CreatedResources
Executes the create requests on a collection (batch) of resources.
Parameters:
Returns:
createAsync
public Observable
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.
Parameters:
Returns:
createAsync
public ServiceFuture
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.
Parameters:
Returns:
createAsync
public Observable
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.
Parameters:
Returns:
createAsync
public ServiceFuture
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.
Parameters:
Returns: