MetricExample

Package : spaceone.api.inventory.v1

MetricExample

MetricExample Methods:

create

POST /inventory/v1/metric-example/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

CreateMetricExampleRequest

  • metric_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct)

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

MetricExampleInfo

  • example_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct) Required

  • domain_id (string) Required

  • user_id (string) Required

  • metric_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

POST /inventory/v1/metric-example/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

UpdateMetricExampleRequest

  • example_id (string) Required

  • name (string)

  • options (Struct)

  • tags (Struct)

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

MetricExampleInfo

  • example_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct) Required

  • domain_id (string) Required

  • user_id (string) Required

  • metric_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

POST /inventory/v1/metric-example/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

MetricExampleRequest

  • example_id (string) Required

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

POST /inventory/v1/metric-example/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

MetricExampleRequest

  • example_id (string) Required

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

MetricExampleInfo

  • example_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct) Required

  • domain_id (string) Required

  • user_id (string) Required

  • metric_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

list

POST /inventory/v1/metric-example/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

MetricExampleQuery

  • query (Query)

  • example_id (string)

  • name (string)

  • metric_id (string)

  • namespace_id (string)

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /inventory/v1/metric-example/stat

Message

CreateMetricExampleRequest

  • metric_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct)

MetricExampleInfo

  • example_id (string) Required

  • name (string) Required

  • options (Struct) Required

  • tags (Struct) Required

  • domain_id (string) Required

  • user_id (string) Required

  • metric_id (string) Required

  • namespace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

MetricExampleQuery

  • query (Query)

  • example_id (string)

  • name (string)

  • metric_id (string)

  • namespace_id (string)

MetricExampleRequest

  • example_id (string) Required

MetricExampleStatQuery

  • query (StatisticsQuery) Required

MetricExamplesInfo

  • results (MetricExampleInfo) Repeated Required

  • total_count (int32) Required

UpdateMetricExampleRequest

  • example_id (string) Required

  • name (string)

  • options (Struct)

  • tags (Struct)

Last updated