Compartilhar via


DataFeed Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.administration.models.DataFeed

public final class DataFeed

The Data feed metadata model.

Constructor Summary

Constructor Description
DataFeed()

Create a new instance of DataFeed.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedTime()

Get the data feed created time.

String getCreator()

Get the data feed creator.

DataFeedGranularity getGranularity()

Get the granularity properties of the time series.

String getId()

Get the data feed unique id.

DataFeedIngestionSettings getIngestionSettings()

Get the data feed ingestion properties of the time series.

Map<String,String> getMetricIds()

Get the list of associated metrics Ids.

String getName()

Get the data feed name.

DataFeedOptions getOptions()

Get the data feed metadata properties.

DataFeedSchema getSchema()

Get the data feed schema properties.

DataFeedSource getSource()

Get the data feed source.

DataFeedSourceType getSourceType()

Get the data feed source type.

DataFeedStatus getStatus()

Get the data feed status.

boolean isAdmin()

Get if the data feed the query user is one of data feed administrator or not.

DataFeed setGranularity(DataFeedGranularity granularity)

Set the data feed granularity settings for the time series.

DataFeed setIngestionSettings(DataFeedIngestionSettings dataFeedIngestionSettings)

Set the data feed ingestion settings.

DataFeed setName(String dataFeedName)

Set the data feed name.

DataFeed setOptions(DataFeedOptions dataFeedOptions)

Set the data feed metadata properties.

DataFeed setSchema(DataFeedSchema dataFeedSchema)

Set the data feed schema properties.

DataFeed setSource(DataFeedSource dataFeedSource)

Set the data feed source.

Methods inherited from java.lang.Object

Constructor Details

DataFeed

public DataFeed()

Create a new instance of DataFeed.

Method Details

getCreatedTime

public OffsetDateTime getCreatedTime()

Get the data feed created time.

Returns:

the createdTime value.

getCreator

public String getCreator()

Get the data feed creator.

Returns:

the creator value.

getGranularity

public DataFeedGranularity getGranularity()

Get the granularity properties of the time series.

Returns:

the dataFeedGranularity value.

getId

public String getId()

Get the data feed unique id.

Returns:

the dataFeedId value.

getIngestionSettings

public DataFeedIngestionSettings getIngestionSettings()

Get the data feed ingestion properties of the time series.

Returns:

the dataFeedIngestionSettings value.

getMetricIds

public Map getMetricIds()

Get the list of associated metrics Ids.

Returns:

the metricIds value.

getName

public String getName()

Get the data feed name.

Returns:

the dataFeedName value.

getOptions

public DataFeedOptions getOptions()

Get the data feed metadata properties.

Returns:

the dataFeedOptions value.

getSchema

public DataFeedSchema getSchema()

Get the data feed schema properties.

Returns:

the dataFeedSchema value.

getSource

public DataFeedSource getSource()

Get the data feed source.

Returns:

the dataFeedSource value.

getSourceType

public DataFeedSourceType getSourceType()

Get the data feed source type.

Returns:

the dataFeedSourceType value.

getStatus

public DataFeedStatus getStatus()

Get the data feed status.

Returns:

the dataFeedStatus value.

isAdmin

public boolean isAdmin()

Get if the data feed the query user is one of data feed administrator or not.

Returns:

the isAdmin value.

setGranularity

public DataFeed setGranularity(DataFeedGranularity granularity)

Set the data feed granularity settings for the time series.

Parameters:

granularity - the the data feed granularity settings for the time series value to set.

Returns:

the DataFeed object itself.

setIngestionSettings

public DataFeed setIngestionSettings(DataFeedIngestionSettings dataFeedIngestionSettings)

Set the data feed ingestion settings.

Parameters:

dataFeedIngestionSettings - the data feed ingestion settings value to set.

Returns:

the DataFeed object itself.

setName

public DataFeed setName(String dataFeedName)

Set the data feed name.

Parameters:

dataFeedName - the dataFeedName value to set.

Returns:

the DataFeedDetail object itself.

setOptions

public DataFeed setOptions(DataFeedOptions dataFeedOptions)

Set the data feed metadata properties.

Parameters:

dataFeedOptions - the the data feed metadata properties value to set.

Returns:

the DataFeed object itself.

setSchema

public DataFeed setSchema(DataFeedSchema dataFeedSchema)

Set the data feed schema properties.

Parameters:

dataFeedSchema - the data feed schema properties value to set.

Returns:

the DataFeed object itself.

setSource

public DataFeed setSource(DataFeedSource dataFeedSource)

Set the data feed source.

Parameters:

dataFeedSource - the the data feed source value to set.

Returns:

the DataFeedDetail object itself.

Applies to