mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Update Swagger spec (#79850)
* chore: update alerting swagger spec * update public swagger --------- Co-authored-by: rwwiv <rwwiv@users.noreply.github.com> Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
This commit is contained in:
parent
2023821100
commit
66b1a219f4
@ -549,6 +549,10 @@
|
||||
"credentials_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentials_ref": {
|
||||
"description": "CredentialsRef is the name of the secret within the secret manager to use as credentials.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -618,11 +622,19 @@
|
||||
"password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"password_ref": {
|
||||
"description": "PasswordRef is the name of the secret within the secret manager to use as the password.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_ref": {
|
||||
"description": "UsernameRef is the name of the secret within the secret manager to use as the username.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "BasicAuth contains basic HTTP authentication credentials.",
|
||||
@ -1846,6 +1858,9 @@
|
||||
"description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.\nThe omitempty flag is not set, because it would be hidden from the\nmarshalled configuration when set to false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_headers": {
|
||||
"$ref": "#/definitions/Headers"
|
||||
},
|
||||
"no_proxy": {
|
||||
"description": "NoProxy contains addresses that should not use a proxy.",
|
||||
"type": "string"
|
||||
@ -1854,7 +1869,7 @@
|
||||
"$ref": "#/definitions/OAuth2"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -1871,12 +1886,39 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Header": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
"properties": {
|
||||
"files": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "array"
|
||||
"secrets": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"values": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"Headers": {
|
||||
"properties": {
|
||||
"Headers": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Header"
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"HostPort": {
|
||||
@ -2263,6 +2305,10 @@
|
||||
"client_secret_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"client_secret_ref": {
|
||||
"description": "ClientSecretRef is the name of the secret within the secret manager to use as the client\nsecret.",
|
||||
"type": "string"
|
||||
},
|
||||
"endpoint_params": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -2274,7 +2320,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -2998,7 +3044,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -3010,6 +3056,15 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ProxyHeader": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PublicError": {
|
||||
"description": "PublicError is derived from Error and only contains information\navailable to the end user.",
|
||||
"properties": {
|
||||
@ -3884,6 +3939,10 @@
|
||||
"description": "The CA cert to use for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"ca_ref": {
|
||||
"description": "CARef is the name of the secret within the secret manager to use as the CA cert for the\ntargets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert": {
|
||||
"description": "Text of the client cert file for the targets.",
|
||||
"type": "string"
|
||||
@ -3892,6 +3951,10 @@
|
||||
"description": "The client cert file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert_ref": {
|
||||
"description": "CertRef is the name of the secret within the secret manager to use as the client cert for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"insecure_skip_verify": {
|
||||
"description": "Disable target certificate validation.",
|
||||
"type": "boolean"
|
||||
@ -3903,6 +3966,10 @@
|
||||
"description": "The client key file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"key_ref": {
|
||||
"description": "KeyRef is the name of the secret within the secret manager to use as the client key for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"max_version": {
|
||||
"$ref": "#/definitions/TLSVersion"
|
||||
},
|
||||
@ -4663,6 +4730,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableAlerts": {
|
||||
"description": "GettableAlerts gettable alerts",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gettableAlert",
|
||||
"type": "object"
|
||||
@ -4787,43 +4855,13 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gettableSilence",
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "send resolved",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"sendResolved"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"labelSet": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -4970,25 +5008,12 @@
|
||||
"receiver": {
|
||||
"description": "Receiver receiver",
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "active",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "integrations",
|
||||
"items": {
|
||||
"$ref": "#/definitions/integration"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"active",
|
||||
"integrations",
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
|
@ -549,6 +549,10 @@
|
||||
"credentials_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentials_ref": {
|
||||
"description": "CredentialsRef is the name of the secret within the secret manager to use as credentials.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -618,11 +622,19 @@
|
||||
"password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"password_ref": {
|
||||
"description": "PasswordRef is the name of the secret within the secret manager to use as the password.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_ref": {
|
||||
"description": "UsernameRef is the name of the secret within the secret manager to use as the username.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "BasicAuth contains basic HTTP authentication credentials.",
|
||||
@ -1846,6 +1858,9 @@
|
||||
"description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.\nThe omitempty flag is not set, because it would be hidden from the\nmarshalled configuration when set to false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_headers": {
|
||||
"$ref": "#/definitions/Headers"
|
||||
},
|
||||
"no_proxy": {
|
||||
"description": "NoProxy contains addresses that should not use a proxy.",
|
||||
"type": "string"
|
||||
@ -1854,7 +1869,7 @@
|
||||
"$ref": "#/definitions/OAuth2"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -1871,12 +1886,39 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Header": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
"properties": {
|
||||
"files": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "array"
|
||||
"secrets": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"values": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"Headers": {
|
||||
"properties": {
|
||||
"Headers": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Header"
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"HostPort": {
|
||||
@ -2263,6 +2305,10 @@
|
||||
"client_secret_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"client_secret_ref": {
|
||||
"description": "ClientSecretRef is the name of the secret within the secret manager to use as the client\nsecret.",
|
||||
"type": "string"
|
||||
},
|
||||
"endpoint_params": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -2274,7 +2320,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -2998,7 +3044,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -3010,6 +3056,15 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ProxyHeader": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PublicError": {
|
||||
"description": "PublicError is derived from Error and only contains information\navailable to the end user.",
|
||||
"properties": {
|
||||
@ -3884,6 +3939,10 @@
|
||||
"description": "The CA cert to use for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"ca_ref": {
|
||||
"description": "CARef is the name of the secret within the secret manager to use as the CA cert for the\ntargets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert": {
|
||||
"description": "Text of the client cert file for the targets.",
|
||||
"type": "string"
|
||||
@ -3892,6 +3951,10 @@
|
||||
"description": "The client cert file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert_ref": {
|
||||
"description": "CertRef is the name of the secret within the secret manager to use as the client cert for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"insecure_skip_verify": {
|
||||
"description": "Disable target certificate validation.",
|
||||
"type": "boolean"
|
||||
@ -3903,6 +3966,10 @@
|
||||
"description": "The client key file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"key_ref": {
|
||||
"description": "KeyRef is the name of the secret within the secret manager to use as the client key for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"max_version": {
|
||||
"$ref": "#/definitions/TLSVersion"
|
||||
},
|
||||
@ -4237,7 +4304,6 @@
|
||||
"type": "object"
|
||||
},
|
||||
"URL": {
|
||||
"description": "The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nThe Host field contains the host and port subcomponents of the URL.\nWhen the port is present, it is separated from the host with a colon.\nWhen the host is an IPv6 address, it must be enclosed in square brackets:\n\"[fe80::1]:80\". The [net.JoinHostPort] function combines a host and port\ninto a string suitable for the Host field, adding square brackets to\nthe host when necessary.\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use the [URL.EscapedPath] method, which preserves\nthe original encoding of Path.\n\nThe RawPath field is an optional field which is only set when the default\nencoding of Path is different from the escaped path. See the EscapedPath method\nfor more details.\n\nURL's String method uses the EscapedPath method to obtain the path.",
|
||||
"properties": {
|
||||
"ForceQuery": {
|
||||
"type": "boolean"
|
||||
@ -4273,7 +4339,7 @@
|
||||
"$ref": "#/definitions/Userinfo"
|
||||
}
|
||||
},
|
||||
"title": "A URL represents a parsed URL (technically, a URI reference).",
|
||||
"title": "URL is a custom URL type that allows validation at configuration load time.",
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateRuleGroupResponse": {
|
||||
@ -4790,43 +4856,13 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gettableSilence",
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "send resolved",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"sendResolved"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"labelSet": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -4973,25 +5009,12 @@
|
||||
"receiver": {
|
||||
"description": "Receiver receiver",
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "active",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "integrations",
|
||||
"items": {
|
||||
"$ref": "#/definitions/integration"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"active",
|
||||
"integrations",
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
|
@ -4164,6 +4164,10 @@
|
||||
"credentials_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentials_ref": {
|
||||
"description": "CredentialsRef is the name of the secret within the secret manager to use as credentials.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -4233,11 +4237,19 @@
|
||||
"password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"password_ref": {
|
||||
"description": "PasswordRef is the name of the secret within the secret manager to use as the password.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_ref": {
|
||||
"description": "UsernameRef is the name of the secret within the secret manager to use as the username.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -5462,6 +5474,9 @@
|
||||
"description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.\nThe omitempty flag is not set, because it would be hidden from the\nmarshalled configuration when set to false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_headers": {
|
||||
"$ref": "#/definitions/Headers"
|
||||
},
|
||||
"no_proxy": {
|
||||
"description": "NoProxy contains addresses that should not use a proxy.",
|
||||
"type": "string"
|
||||
@ -5470,7 +5485,7 @@
|
||||
"$ref": "#/definitions/OAuth2"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -5486,10 +5501,37 @@
|
||||
},
|
||||
"Header": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"properties": {
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"secrets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Headers": {
|
||||
"type": "object",
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"properties": {
|
||||
"Headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Header"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -5880,6 +5922,10 @@
|
||||
"client_secret_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"client_secret_ref": {
|
||||
"description": "ClientSecretRef is the name of the secret within the secret manager to use as the client\nsecret.",
|
||||
"type": "string"
|
||||
},
|
||||
"endpoint_params": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -5891,7 +5937,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -6614,7 +6660,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -6625,6 +6671,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProxyHeader": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PublicError": {
|
||||
"description": "PublicError is derived from Error and only contains information\navailable to the end user.",
|
||||
"type": "object",
|
||||
@ -7501,6 +7556,10 @@
|
||||
"description": "The CA cert to use for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"ca_ref": {
|
||||
"description": "CARef is the name of the secret within the secret manager to use as the CA cert for the\ntargets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert": {
|
||||
"description": "Text of the client cert file for the targets.",
|
||||
"type": "string"
|
||||
@ -7509,6 +7568,10 @@
|
||||
"description": "The client cert file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert_ref": {
|
||||
"description": "CertRef is the name of the secret within the secret manager to use as the client cert for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"insecure_skip_verify": {
|
||||
"description": "Disable target certificate validation.",
|
||||
"type": "boolean"
|
||||
@ -7520,6 +7583,10 @@
|
||||
"description": "The client key file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"key_ref": {
|
||||
"description": "KeyRef is the name of the secret within the secret manager to use as the client key for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"max_version": {
|
||||
"$ref": "#/definitions/TLSVersion"
|
||||
},
|
||||
@ -7852,9 +7919,8 @@
|
||||
}
|
||||
},
|
||||
"URL": {
|
||||
"description": "The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nThe Host field contains the host and port subcomponents of the URL.\nWhen the port is present, it is separated from the host with a colon.\nWhen the host is an IPv6 address, it must be enclosed in square brackets:\n\"[fe80::1]:80\". The [net.JoinHostPort] function combines a host and port\ninto a string suitable for the Host field, adding square brackets to\nthe host when necessary.\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use the [URL.EscapedPath] method, which preserves\nthe original encoding of Path.\n\nThe RawPath field is an optional field which is only set when the default\nencoding of Path is different from the escaped path. See the EscapedPath method\nfor more details.\n\nURL's String method uses the EscapedPath method to obtain the path.",
|
||||
"type": "object",
|
||||
"title": "A URL represents a parsed URL (technically, a URI reference).",
|
||||
"title": "URL is a custom URL type that allows validation at configuration load time.",
|
||||
"properties": {
|
||||
"ForceQuery": {
|
||||
"type": "boolean"
|
||||
@ -8405,43 +8471,13 @@
|
||||
}
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/gettableSilence"
|
||||
}
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"sendResolved"
|
||||
],
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "send resolved",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"labelSet": {
|
||||
"description": "LabelSet label set",
|
||||
"type": "object",
|
||||
@ -8589,22 +8625,9 @@
|
||||
"description": "Receiver receiver",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"active",
|
||||
"integrations",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "active",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "integrations",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/integration"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
|
@ -13165,6 +13165,10 @@
|
||||
"credentials_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentials_ref": {
|
||||
"description": "CredentialsRef is the name of the secret within the secret manager to use as credentials.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -13234,11 +13238,19 @@
|
||||
"password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"password_ref": {
|
||||
"description": "PasswordRef is the name of the secret within the secret manager to use as the password.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_ref": {
|
||||
"description": "UsernameRef is the name of the secret within the secret manager to use as the username.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -16168,6 +16180,9 @@
|
||||
"description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.\nThe omitempty flag is not set, because it would be hidden from the\nmarshalled configuration when set to false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_headers": {
|
||||
"$ref": "#/definitions/Headers"
|
||||
},
|
||||
"no_proxy": {
|
||||
"description": "NoProxy contains addresses that should not use a proxy.",
|
||||
"type": "string"
|
||||
@ -16176,7 +16191,7 @@
|
||||
"$ref": "#/definitions/OAuth2"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -16192,10 +16207,37 @@
|
||||
},
|
||||
"Header": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"properties": {
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"secrets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
}
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Headers": {
|
||||
"type": "object",
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"properties": {
|
||||
"Headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/Header"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -17236,6 +17278,10 @@
|
||||
"client_secret_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"client_secret_ref": {
|
||||
"description": "ClientSecretRef is the name of the secret within the secret manager to use as the client\nsecret.",
|
||||
"type": "string"
|
||||
},
|
||||
"endpoint_params": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -17247,7 +17293,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -18442,7 +18488,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/definitions/Header"
|
||||
"$ref": "#/definitions/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -18453,6 +18499,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ProxyHeader": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Secret"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PublicDashboard": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -20517,6 +20572,10 @@
|
||||
"description": "The CA cert to use for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"ca_ref": {
|
||||
"description": "CARef is the name of the secret within the secret manager to use as the CA cert for the\ntargets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert": {
|
||||
"description": "Text of the client cert file for the targets.",
|
||||
"type": "string"
|
||||
@ -20525,6 +20584,10 @@
|
||||
"description": "The client cert file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert_ref": {
|
||||
"description": "CertRef is the name of the secret within the secret manager to use as the client cert for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"insecure_skip_verify": {
|
||||
"description": "Disable target certificate validation.",
|
||||
"type": "boolean"
|
||||
@ -20536,6 +20599,10 @@
|
||||
"description": "The client key file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"key_ref": {
|
||||
"description": "KeyRef is the name of the secret within the secret manager to use as the client key for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"max_version": {
|
||||
"$ref": "#/definitions/TLSVersion"
|
||||
},
|
||||
@ -22260,6 +22327,7 @@
|
||||
}
|
||||
},
|
||||
"gettableAlerts": {
|
||||
"description": "GettableAlerts gettable alerts",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@ -22384,6 +22452,7 @@
|
||||
}
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@ -22407,37 +22476,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"sendResolved"
|
||||
],
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "send resolved",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"labelSet": {
|
||||
"description": "LabelSet label set",
|
||||
"type": "object",
|
||||
@ -22613,22 +22651,9 @@
|
||||
"description": "Receiver receiver",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"active",
|
||||
"integrations",
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "active",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "integrations",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/integration"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
|
@ -3241,6 +3241,10 @@
|
||||
"credentials_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentials_ref": {
|
||||
"description": "CredentialsRef is the name of the secret within the secret manager to use as credentials.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -3310,11 +3314,19 @@
|
||||
"password_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"password_ref": {
|
||||
"description": "PasswordRef is the name of the secret within the secret manager to use as the password.",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"username_ref": {
|
||||
"description": "UsernameRef is the name of the secret within the secret manager to use as the username.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "BasicAuth contains basic HTTP authentication credentials.",
|
||||
@ -6244,6 +6256,9 @@
|
||||
"description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.\nThe omitempty flag is not set, because it would be hidden from the\nmarshalled configuration when set to false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"http_headers": {
|
||||
"$ref": "#/components/schemas/Headers"
|
||||
},
|
||||
"no_proxy": {
|
||||
"description": "NoProxy contains addresses that should not use a proxy.",
|
||||
"type": "string"
|
||||
@ -6252,7 +6267,7 @@
|
||||
"$ref": "#/components/schemas/OAuth2"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/components/schemas/Header"
|
||||
"$ref": "#/components/schemas/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -6269,12 +6284,39 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Header": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Secret"
|
||||
"properties": {
|
||||
"files": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "array"
|
||||
"secrets": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"values": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"Headers": {
|
||||
"properties": {
|
||||
"Headers": {
|
||||
"additionalProperties": {
|
||||
"$ref": "#/components/schemas/Header"
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"title": "Headers represents the configuration for HTTP headers.",
|
||||
"type": "object"
|
||||
},
|
||||
"Hit": {
|
||||
@ -7312,6 +7354,10 @@
|
||||
"client_secret_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"client_secret_ref": {
|
||||
"description": "ClientSecretRef is the name of the secret within the secret manager to use as the client\nsecret.",
|
||||
"type": "string"
|
||||
},
|
||||
"endpoint_params": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -7323,7 +7369,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/components/schemas/Header"
|
||||
"$ref": "#/components/schemas/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -8519,7 +8565,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"proxy_connect_header": {
|
||||
"$ref": "#/components/schemas/Header"
|
||||
"$ref": "#/components/schemas/ProxyHeader"
|
||||
},
|
||||
"proxy_from_environment": {
|
||||
"description": "ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function\nto determine proxies.",
|
||||
@ -8531,6 +8577,15 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ProxyHeader": {
|
||||
"additionalProperties": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Secret"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PublicDashboard": {
|
||||
"properties": {
|
||||
"accessToken": {
|
||||
@ -10592,6 +10647,10 @@
|
||||
"description": "The CA cert to use for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"ca_ref": {
|
||||
"description": "CARef is the name of the secret within the secret manager to use as the CA cert for the\ntargets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert": {
|
||||
"description": "Text of the client cert file for the targets.",
|
||||
"type": "string"
|
||||
@ -10600,6 +10659,10 @@
|
||||
"description": "The client cert file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"cert_ref": {
|
||||
"description": "CertRef is the name of the secret within the secret manager to use as the client cert for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"insecure_skip_verify": {
|
||||
"description": "Disable target certificate validation.",
|
||||
"type": "boolean"
|
||||
@ -10611,6 +10674,10 @@
|
||||
"description": "The client key file for the targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"key_ref": {
|
||||
"description": "KeyRef is the name of the secret within the secret manager to use as the client key for\nthe targets.",
|
||||
"type": "string"
|
||||
},
|
||||
"max_version": {
|
||||
"$ref": "#/components/schemas/TLSVersion"
|
||||
},
|
||||
@ -12336,6 +12403,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableAlerts": {
|
||||
"description": "GettableAlerts gettable alerts",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/gettableAlert"
|
||||
},
|
||||
@ -12459,6 +12527,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"gettableSilences": {
|
||||
"description": "GettableSilences gettable silences",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/gettableSilence"
|
||||
},
|
||||
@ -12481,37 +12550,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"integration": {
|
||||
"description": "Integration integration",
|
||||
"properties": {
|
||||
"lastNotifyAttempt": {
|
||||
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptDuration": {
|
||||
"description": "Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc).",
|
||||
"type": "string"
|
||||
},
|
||||
"lastNotifyAttemptError": {
|
||||
"description": "Error string for the last attempt to deliver a notification. Empty if the last attempt was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"sendResolved": {
|
||||
"description": "send resolved",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"sendResolved"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"labelSet": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@ -12686,25 +12724,12 @@
|
||||
"receiver": {
|
||||
"description": "Receiver receiver",
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "active",
|
||||
"type": "boolean"
|
||||
},
|
||||
"integrations": {
|
||||
"description": "integrations",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/integration"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"active",
|
||||
"integrations",
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
|
Loading…
Reference in New Issue
Block a user