Documentation ¶
Index ¶
Constants ¶
View Source
const ArgAPIVersion = "2021-06-01-preview"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureResourceGraphDatasource ¶
type AzureResourceGraphDatasource struct {
Proxy types.ServiceProxy
}
AzureResourceGraphDatasource calls the Azure Resource Graph API's
func (*AzureResourceGraphDatasource) ExecuteTimeSeriesQuery ¶
func (e *AzureResourceGraphDatasource) ExecuteTimeSeriesQuery(ctx context.Context, logger log.Logger, originalQueries []backend.DataQuery, dsInfo types.DatasourceInfo, client *http.Client, url string, tracer tracing.Tracer) (*backend.QueryDataResponse, error)
executeTimeSeriesQuery does the following: 1. builds the AzureMonitor url and querystring for each query 2. executes each query by calling the Azure Monitor API 3. parses the responses for each query into data frames
func (*AzureResourceGraphDatasource) ResourceRequest ¶
func (e *AzureResourceGraphDatasource) ResourceRequest(rw http.ResponseWriter, req *http.Request, cli *http.Client)
type AzureResourceGraphQuery ¶
type AzureResourceGraphQuery struct { RefID string ResultFormat string URL string JSON json.RawMessage InterpolatedQuery string TimeRange backend.TimeRange }
AzureResourceGraphQuery is the query request that is built from the saved values for from the UI
type AzureResourceGraphResponse ¶
type AzureResourceGraphResponse struct {
Data types.AzureResponseTable `json:"data"`
}
AzureResourceGraphResponse is the json response object from the Azure Resource Graph Analytics API.
Click to show internal directories.
Click to hide internal directories.