T
- the initial blank definition interfacepublic interface SupportsCreating<T>
(Note: this interface is not intended to be implemented by user code)
Modifier and Type | Method and Description |
---|---|
T |
define(String name)
Begins a definition for a new resource.
|
T define(String name)
This is the beginning of the builder pattern used to create top level resources
in Azure. The final method completing the definition and starting the actual resource creation
process in Azure is Creatable.create()
.
Note that the Creatable.create()
method is
only available at the stage of the resource definition that has the minimum set of input
parameters specified. If you do not see Creatable.create()
among the available methods, it
means you have not yet specified all the required input settings. Input settings generally begin
with the word "with", for example: .withNewResourceGroup()
and return the next stage
of the resource definition, as an interface in the "fluent interface" style.
name
- the name of the new resourceCopyright © 2019. All rights reserved.