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,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.rx.Observable<Indexable>createAsync()Puts the request into the queue and allow the HTTP client to execute it when system resources are available.com.microsoft.rest.ServiceFuture<T>createAsync(com.microsoft.rest.ServiceCallback<T> callback)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
com.microsoft.rest.ServiceFuture<T> createAsync(com.microsoft.rest.ServiceCallback<T> callback)
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.- Parameters:
callback- the callback to handle success and failure- Returns:
- a handle to cancel the request
-
createAsync
rx.Observable<Indexable> createAsync()
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.- Returns:
- an observable of the request
-
-