Class ExportTemplateRequest

java.lang.Object
com.azure.resourcemanager.resources.models.ExportTemplateRequest

public final class ExportTemplateRequest extends Object
Export resource group template request parameters.
  • Constructor Details

    • ExportTemplateRequest

      public ExportTemplateRequest()
  • Method Details

    • resources

      public List<String> resources()
      Get the resources property: The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
      Returns:
      the resources value.
    • withResources

      public ExportTemplateRequest withResources(List<String> resources)
      Set the resources property: The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
      Parameters:
      resources - the resources value to set.
      Returns:
      the ExportTemplateRequest object itself.
    • options

      public String options()
      Get the options property: The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
      Returns:
      the options value.
    • withOptions

      public ExportTemplateRequest withOptions(String options)
      Set the options property: The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
      Parameters:
      options - the options value to set.
      Returns:
      the ExportTemplateRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.