Interface SupportsBatchCreation<ResourceT extends Indexable>
-
- Type Parameters:
ResourceT- the top level Azure resource type
- All Known Subinterfaces:
ManagementLocks,ResourceGroups
public interface SupportsBatchCreation<ResourceT extends Indexable>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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatedResources<ResourceT>create(Creatable<ResourceT>... creatables)Executes the create requests on a collection (batch) of resources.CreatedResources<ResourceT>create(List<? extends Creatable<ResourceT>> creatables)Executes the create requests on a collection (batch) of resources.Flux<ResourceT>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.Flux<ResourceT>createAsync(List<? extends 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 Detail
-
create
CreatedResources<ResourceT> create(Creatable<ResourceT>... creatables)
Executes the create requests on a collection (batch) of resources.- Parameters:
creatables- the creatables in the batch- Returns:
- the batch operation result from which created resources in this batch can be accessed.
-
create
CreatedResources<ResourceT> create(List<? extends Creatable<ResourceT>> creatables)
Executes the create requests on a collection (batch) of resources.- Parameters:
creatables- the list of creatables in the batch- Returns:
- the batch operation result from which created resources in this batch can be accessed.
-
createAsync
Flux<ResourceT> 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.- Parameters:
creatables- the creatables in the batch- Returns:
- a
Monothat emits the found resource asynchronously.
-
createAsync
Flux<ResourceT> createAsync(List<? extends 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.- Parameters:
creatables- the list of creatables in the batch- Returns:
- a
Monothat emits the found resource asynchronously.
-
-