-
Notifications
You must be signed in to change notification settings - Fork 48
/
model_create_update_tag_request.go
18 lines (16 loc) · 1.26 KB
/
model_create_update_tag_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
* Metrics Metadata API
*
* API for creating, retrieving, updating, and deleting metric names and MTS metadata.<br> **NOTE:*() Although you can't set custom properties or tags for a metric, you *can* retrieve them for metrics and metric time series (**MTS**).
*
* API version: 3.2.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package metrics_metadata
// The metadata for a single tag: * For a GET request, this is the metadata for an existing tag retrieved from the `/tag` or `/tag/{name}` endpoint * For a PUT request, this is the metadata for the tag specified by the `{name}` path parameter of the `/tag/{name}` endpoint, after the tag has been created or updated.
type CreateUpdateTagRequest struct {
// A description of the tag. You can use up to 1024 UTF-8 characters.
Description string `json:"description,omitempty"`
// The custom properties for the tag, in the form of a JSON object (dictionary). Each property is a custom property name and value. The section [Custom Properties Criteria](https://developers.signalfx.com/metrics/metrics_metadata_overview.html#_custom_properties_criteria) lists the requirements for custom property names and values.
CustomProperties map[string]string `json:"customProperties,omitempty"`
}