Class AzureQueryProperties

java.lang.Object
com.azure.resourcemanager.automation.models.AzureQueryProperties

public final class AzureQueryProperties extends Object
Azure query for the update configuration.
  • Constructor Details

    • AzureQueryProperties

      public AzureQueryProperties()
  • Method Details

    • scope

      public List<String> scope()
      Get the scope property: List of Subscription or Resource Group ARM Ids.
      Returns:
      the scope value.
    • withScope

      public AzureQueryProperties withScope(List<String> scope)
      Set the scope property: List of Subscription or Resource Group ARM Ids.
      Parameters:
      scope - the scope value to set.
      Returns:
      the AzureQueryProperties object itself.
    • locations

      public List<String> locations()
      Get the locations property: List of locations to scope the query to.
      Returns:
      the locations value.
    • withLocations

      public AzureQueryProperties withLocations(List<String> locations)
      Set the locations property: List of locations to scope the query to.
      Parameters:
      locations - the locations value to set.
      Returns:
      the AzureQueryProperties object itself.
    • tagSettings

      public TagSettingsProperties tagSettings()
      Get the tagSettings property: Tag settings for the VM.
      Returns:
      the tagSettings value.
    • withTagSettings

      public AzureQueryProperties withTagSettings(TagSettingsProperties tagSettings)
      Set the tagSettings property: Tag settings for the VM.
      Parameters:
      tagSettings - the tagSettings value to set.
      Returns:
      the AzureQueryProperties object itself.
    • validate

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