Type Parameters:
T - the fluent type of the resource to be created
All Superinterfaces:
HasName, Indexable
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

    Modifier and Type
    Method
    Description
    Execute the create request.
    create(com.azure.core.util.Context context)
    Execute the create request.
    Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
    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.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key
  • Method Details

    • 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 - the Context of the request
      Returns:
      the created resource
    • createAsync

      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.
      Parameters:
      context - the Context of the request
      Returns:
      the publisher of the resource create request