Metric

Metric #

Package : spaceone.api.inventory.v1



Metric #

Metric Methods:

MethodRequestResponse
createCreateMetricRequestMetricInfo
updateUpdateMetricRequestMetricInfo
deleteMetricRequestEmpty
runMetricRequestEmpty
testMetricTestRequestStruct
getMetricRequestMetricInfo
listMetricQueryMetricsInfo
statMetricStatQueryStruct

create #

POST /inventory/v1/metric/create

CreateMetricRequest

  • name (string) Required

  • metric_type (MetricType) Required

  • query_options (AnalyzeQuery) Required

  • namespace_id (string) Required

  • resource_group (ResourceGroup) Required

  • metric_id (string)

  • resource_type (string)

  • date_field (string)

  • unit (string)

  • tags (Struct)

  • workspace_id (string)

{

}

MetricInfo

  • metric_id (string) Required

  • name (string) Required

  • metric_type (MetricType) Required

  • resource_type (string) Required

  • query_options (AnalyzeQuery) Required

  • date_field (string) Required

  • unit (string) Required

  • tags (Struct) Required

  • labels_info (Struct) Repeated Required

  • is_managed (bool) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{

}

update #

POST /inventory/v1/metric/update

UpdateMetricRequest

  • metric_id (string) Required

  • name (string)

  • query_options (AnalyzeQuery)

  • date_field (string)

  • unit (string)

  • tags (Struct)

{

}

MetricInfo

  • metric_id (string) Required

  • name (string) Required

  • metric_type (MetricType) Required

  • resource_type (string) Required

  • query_options (AnalyzeQuery) Required

  • date_field (string) Required

  • unit (string) Required

  • tags (Struct) Required

  • labels_info (Struct) Repeated Required

  • is_managed (bool) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{

}

delete #

POST /inventory/v1/metric/delete

MetricRequest

  • metric_id (string) Required
{

}

run #

POST /inventory/v1/metric/run

MetricRequest

  • metric_id (string) Required
{

}

test #

POST /inventory/v1/metric/test

MetricTestRequest

  • metric_id (string) Required

  • query_options (AnalyzeQuery) Required

{

}

get #

POST /inventory/v1/metric/get

MetricRequest

  • metric_id (string) Required
{

}

MetricInfo

  • metric_id (string) Required

  • name (string) Required

  • metric_type (MetricType) Required

  • resource_type (string) Required

  • query_options (AnalyzeQuery) Required

  • date_field (string) Required

  • unit (string) Required

  • tags (Struct) Required

  • labels_info (Struct) Repeated Required

  • is_managed (bool) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{

}

list #

POST /inventory/v1/metric/list

MetricQuery

  • query (Query)

  • metric_id (string)

  • metric_type (MetricType)

  • resource_type (string)

  • is_managed (string)

  • workspace_id (string)

  • namespace_id (string)

{

}

stat #

POST /inventory/v1/metric/stat



Message #

CreateMetricRequest #

  • name (string) Required

  • metric_type (MetricType) Required

  • query_options (AnalyzeQuery) Required

  • namespace_id (string) Required

  • resource_group (ResourceGroup) Required

  • metric_id (string)

  • resource_type (string)

  • date_field (string)

  • unit (string)

  • tags (Struct)

  • workspace_id (string)


MetricInfo #

  • metric_id (string) Required

  • name (string) Required

  • metric_type (MetricType) Required

  • resource_type (string) Required

  • query_options (AnalyzeQuery) Required

  • date_field (string) Required

  • unit (string) Required

  • tags (Struct) Required

  • labels_info (Struct) Repeated Required

  • is_managed (bool) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required


MetricQuery #

  • query (Query)

  • metric_id (string)

  • metric_type (MetricType)

  • resource_type (string)

  • is_managed (string)

  • workspace_id (string)

  • namespace_id (string)


MetricRequest #

  • metric_id (string) Required


MetricStatQuery #

  • query (StatisticsQuery) Required


MetricTestRequest #

  • metric_id (string) Required

  • query_options (AnalyzeQuery) Required


MetricsInfo #

  • results (MetricInfo) Repeated Required

  • total_count (int32) Required


UpdateMetricRequest #

  • metric_id (string) Required

  • name (string)

  • query_options (AnalyzeQuery)

  • date_field (string)

  • unit (string)

  • tags (Struct)


Calendar November 4, 2024
Edit Edit this page