Class DataSourceInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: The ETag of the data source.kind()
Get the kind property: The kind of the DataSource.Get the properties property: The data source properties in raw json format, each kind of data source have it's own schema.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.Set the etag property: The ETag of the data source.withKind
(DataSourceKind kind) Set the kind property: The kind of the DataSource.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.Set the tags property: Resource tags.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DataSourceInner
public DataSourceInner()
-
-
Method Details
-
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
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
Get the etag property: The ETag of the data source.- Returns:
- the etag value.
-
withEtag
Set the etag property: The ETag of the data source.- Parameters:
etag
- the etag value to set.- Returns:
- the DataSourceInner object itself.
-
kind
Get the kind property: The kind of the DataSource.- Returns:
- the kind value.
-
withKind
Set the kind property: The kind of the DataSource.- Parameters:
kind
- the kind value to set.- Returns:
- the DataSourceInner object itself.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
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.
-