Class ResourceGroupExportResultInner

java.lang.Object
com.azure.resourcemanager.resources.fluent.models.ResourceGroupExportResultInner

public final class ResourceGroupExportResultInner extends Object
Resource group export result.
  • Constructor Details

    • ResourceGroupExportResultInner

      public ResourceGroupExportResultInner()
      Creates an instance of ResourceGroupExportResultInner class.
  • Method Details

    • template

      public Object template()
      Get the template property: The template content. Used if outputFormat is empty or set to 'Json'.
      Returns:
      the template value.
    • withTemplate

      public ResourceGroupExportResultInner withTemplate(Object template)
      Set the template property: The template content. Used if outputFormat is empty or set to 'Json'.
      Parameters:
      template - the template value to set.
      Returns:
      the ResourceGroupExportResultInner object itself.
    • output

      public String output()
      Get the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.
      Returns:
      the output value.
    • withOutput

      public ResourceGroupExportResultInner withOutput(String output)
      Set the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.
      Parameters:
      output - the output value to set.
      Returns:
      the ResourceGroupExportResultInner object itself.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: Error Response The template export error.
      Returns:
      the error value.
    • withError

      public ResourceGroupExportResultInner withError(com.azure.core.management.exception.ManagementError error)
      Set the error property: Error Response The template export error.
      Parameters:
      error - the error value to set.
      Returns:
      the ResourceGroupExportResultInner object itself.
    • validate

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