Interface Policy.DefinitionStages.WithCreate

All Superinterfaces:
Policy.DefinitionStages.WithDescription, Policy.DefinitionStages.WithEvaluatorType, Policy.DefinitionStages.WithFactData, Policy.DefinitionStages.WithFactName, Policy.DefinitionStages.WithStatus, Policy.DefinitionStages.WithTags, Policy.DefinitionStages.WithThreshold
All Known Subinterfaces:
Policy.Definition
Enclosing interface:
Policy.DefinitionStages

The stage of the Policy definition which contains all the minimum required properties for the resource to be created, but also allows for any other optional properties to be specified.
  • Method Details

    • create

      Policy create()
      Executes the create request.
      Returns:
      the created resource.
    • create

      Policy create(com.azure.core.util.Context context)
      Executes the create request.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the created resource.