Class CreateOrUpdateTrackedResourceProperties

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
Direct Known Subclasses:
EnvironmentCreateOrUpdateParameters, EventSourceCreateOrUpdateParameters, ReferenceDataSetCreateOrUpdateParameters

public class CreateOrUpdateTrackedResourceProperties extends Object
Properties required to create any resource tracked by Azure Resource Manager.
  • Constructor Details

    • CreateOrUpdateTrackedResourceProperties

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

    • location

      public String location()
      Get the location property: The location of the resource.
      Returns:
      the location value.
    • withLocation

      public CreateOrUpdateTrackedResourceProperties withLocation(String location)
      Set the location property: The location of the resource.
      Parameters:
      location - the location value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Key-value pairs of additional properties for the resource.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Key-value pairs of additional properties for the resource.
      Parameters:
      tags - the tags value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • validate

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