Interface DataSource


public interface DataSource
An immutable client-side representation of DataSource.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the DataSource definition.
    static interface 
    The DataSource definition stages.
    static interface 
    The template for DataSource update.
    static interface 
    The DataSource update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the etag property: The ETag of the data source.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.DataSourceInner object.
    Gets the kind property: The kind of the DataSource.
    Gets the name property: The name of the resource.
    Gets the properties property: The data source properties in raw json format, each kind of data source have it's own schema.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the name of the resource group.
    Gets the tags property: Resource tags.
    Gets the type property: The type of the resource.
    Begins update for the DataSource resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • properties

      Object properties()
      Gets 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.
    • etag

      String etag()
      Gets the etag property: The ETag of the data source.
      Returns:
      the etag value.
    • kind

      Gets the kind property: The kind of the DataSource.
      Returns:
      the kind value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      DataSourceInner innerModel()
      Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.DataSourceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the DataSource resource.
      Returns:
      the stage of resource update.
    • refresh

      DataSource refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      DataSource refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.