Interface Creatable<T>
-
- Type Parameters:
T- the fluent type of the resource to be created
- All Known Subinterfaces:
Deployment.Definition,Deployment.DefinitionStages.WithCreate,GenericResource.Definition,GenericResource.DefinitionStages.WithCreate,ManagementLock.Definition,ManagementLock.DefinitionStages.WithCreate,PolicyAssignment.Definition,PolicyAssignment.DefinitionStages.WithCreate,PolicyDefinition.Definition,PolicyDefinition.DefinitionStages.WithCreate,ResourceGroup.Definition,ResourceGroup.DefinitionStages.WithCreate
public interface Creatable<T> extends Indexable, HasName
The final stage of the resource definition, at which it can be created using create().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate()Execute the create request.Tcreate(com.azure.core.util.Context context)Execute the create request.Mono<T>createAsync()Puts the request into the queue and allow the HTTP client to execute it when system resources are available.Mono<T>createAsync(com.azure.core.util.Context context)Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
-
-
-
Method Detail
-
create
T create()
Execute the create request.- Returns:
- the create resource
-
createAsync
Mono<T> createAsync()
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.- Returns:
- the publisher of the resource create request
-
create
T create(com.azure.core.util.Context context)
Execute the create request.- Parameters:
context- theContextof the request- Returns:
- the created resource
-
-