Interface DataSource
public interface DataSource
An immutable client-side representation of DataSource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic 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 TypeMethodDescriptionetag()
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.kind()
Gets the kind property: The kind of the DataSource.name()
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.refresh()
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.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
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
DataSourceKind kind()Gets the kind property: The kind of the DataSource.- Returns:
- the kind value.
-
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
DataSource.Update 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
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-