java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.DataSourceInner

public final class DataSourceInner extends com.azure.core.management.ProxyResource
Datasources under OMS Workspace.
  • Constructor Details

    • DataSourceInner

      public DataSourceInner()
  • Method Details

    • properties

      public Object properties()
      Get the properties property: The data source properties in raw json format, each kind of data source have it's own schema.
      Returns:
      the properties value.
    • withProperties

      public DataSourceInner withProperties(Object properties)
      Set the properties property: The data source properties in raw json format, each kind of data source have it's own schema.
      Parameters:
      properties - the properties value to set.
      Returns:
      the DataSourceInner object itself.
    • etag

      public String etag()
      Get the etag property: The ETag of the data source.
      Returns:
      the etag value.
    • withEtag

      public DataSourceInner withEtag(String etag)
      Set the etag property: The ETag of the data source.
      Parameters:
      etag - the etag value to set.
      Returns:
      the DataSourceInner object itself.
    • kind

      public DataSourceKind kind()
      Get the kind property: The kind of the DataSource.
      Returns:
      the kind value.
    • withKind

      public DataSourceInner withKind(DataSourceKind kind)
      Set the kind property: The kind of the DataSource.
      Parameters:
      kind - the kind value to set.
      Returns:
      the DataSourceInner object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public DataSourceInner withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the DataSourceInner object itself.
    • validate

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