DataSource Interface

public interface DataSource

An immutable client-side representation of DataSource.

Method Summary

Modifier and Type Method and Description
abstract String etag()

Gets the etag property: The ETag of the data source.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract DataSourceInner innerModel()

Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.DataSourceInner object.

abstract DataSourceKind kind()

Gets the kind property: The kind of the DataSource.

abstract String name()

Gets the name property: The name of the resource.

abstract Object properties()

Gets the properties property: The data source properties in raw json format, each kind of data source have it's own schema.

abstract DataSource refresh()

Refreshes the resource to sync with Azure.

abstract DataSource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the DataSource resource.

Method Details

etag

public abstract String etag()

Gets the etag property: The ETag of the data source.

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract DataSourceInner innerModel()

Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.DataSourceInner object.

Returns:

the inner object.

kind

public abstract DataSourceKind kind()

Gets the kind property: The kind of the DataSource.

Returns:

the kind value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

properties

public abstract 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.

refresh

public abstract DataSource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract DataSource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract DataSource.Update update()

Begins update for the DataSource resource.

Returns:

the stage of resource update.

Applies to