@opensoha/contracts 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/auth/catalog_generated.go +3 -3
- package/auth/catalog_test.go +35 -0
- package/auth/permission-catalog.json +19 -151
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -5
- package/fixtures/openapi/DockerHostAgentInstallation/invalid/missing-command.json +6 -0
- package/fixtures/openapi/DockerHostAgentInstallation/valid/installation.json +7 -0
- package/fixtures/openapi/IdentityProvider/invalid/missing-id.json +9 -0
- package/fixtures/openapi/IdentityProvider/valid/current.json +12 -0
- package/fixtures/openapi/IdentityProvider/valid/v0.1.9.json +14 -0
- package/fixtures/openapi/MenuEnvelope/invalid/missing-data.json +1 -0
- package/fixtures/openapi/MenuEnvelope/valid/menu.json +13 -0
- package/fixtures/openapi/MenuInput/invalid/missing-icon.json +5 -0
- package/fixtures/openapi/MenuInput/valid/top-level.json +12 -0
- package/fixtures/openapi/MenuListEnvelope/invalid/items-object.json +3 -0
- package/fixtures/openapi/MenuListEnvelope/valid/tree.json +27 -0
- package/fixtures/openapi/OIDCClient/invalid/missing-grant-types.json +9 -0
- package/fixtures/openapi/OIDCClient/valid/current.json +19 -0
- package/fixtures/openapi/OIDCClient/valid/v0.1.9.json +10 -0
- package/fixtures/openapi/OIDCClientInput/invalid/empty-rules.json +5 -0
- package/fixtures/openapi/OIDCClientInput/valid/regex.json +4 -0
- package/fixtures/openapi/OIDCClientInput/valid/strict.json +4 -0
- package/fixtures/openapi/OIDCClientInput/valid/v0.1.9.json +7 -0
- package/fixtures/openapi/ObservabilityContext/invalid/missing-time-range.json +6 -0
- package/fixtures/openapi/ObservabilityContext/valid/scoped.json +27 -0
- package/fixtures/openapi/ObservabilityDashboardImportResultEnvelope/valid/imported.json +28 -1
- package/fixtures/openapi/ObservabilityDashboardPanelQueryInput/invalid/missing-time-to.json +6 -0
- package/fixtures/openapi/ObservabilityDashboardPanelQueryInput/valid/variables.json +8 -0
- package/fixtures/openapi/ObservabilityMetricCatalogEnvelope/invalid/missing-availability.json +10 -0
- package/fixtures/openapi/ObservabilityMetricCatalogEnvelope/valid/catalog.json +13 -0
- package/fixtures/openapi/ObservabilityQueryResultMeta/invalid/missing-state.json +3 -0
- package/fixtures/openapi/ObservabilityQueryResultMeta/valid/partial.json +15 -0
- package/fixtures/openapi/ObservabilityQuerySnapshot/invalid/missing-context.json +5 -0
- package/fixtures/openapi/ObservabilityQuerySnapshot/valid/prometheus.json +22 -0
- package/fixtures/openapi/ObservabilityServiceEnvelope/invalid/missing-status.json +12 -0
- package/fixtures/openapi/ObservabilityServiceEnvelope/valid/service.json +29 -0
- package/fixtures/openapi/ObservabilityServiceListEnvelope/invalid/missing-meta.json +3 -0
- package/fixtures/openapi/ObservabilityServiceListEnvelope/valid/services.json +39 -0
- package/fixtures/openapi/ObservabilityTopologyEnvelope/invalid/missing-edge-status.json +10 -0
- package/fixtures/openapi/ObservabilityTopologyEnvelope/valid/topology.json +22 -0
- package/fixtures/openapi/ScopeGrantEnvelope/invalid/missing-id.json +13 -0
- package/fixtures/openapi/ScopeGrantEnvelope/valid/platform.json +15 -0
- package/fixtures/openapi/ScopeGrantInput/invalid/missing-subject.json +7 -0
- package/fixtures/openapi/ScopeGrantInput/valid/delivery.json +11 -0
- package/fixtures/openapi/ScopeGrantListEnvelope/invalid/unknown-scope.json +16 -0
- package/fixtures/openapi/ScopeGrantListEnvelope/valid/list.json +18 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/client_test.go +18 -0
- package/gen/go/sohaapi/types.go +958 -93
- package/gen/ts/sohaapi/index.ts +1170 -34
- package/go.mod +1 -1
- package/openapi/soha-api.json +2364 -49
- package/openapi/soha-api.yaml +1294 -37
- package/openapi/spec_generated.go +3 -3
- package/package.json +1 -1
package/gen/go/sohaapi/types.go
CHANGED
|
@@ -3913,6 +3913,42 @@ func (e MarketplacePublisherVerificationLevel) Valid() bool {
|
|
|
3913
3913
|
}
|
|
3914
3914
|
}
|
|
3915
3915
|
|
|
3916
|
+
// Defines values for OIDCClientAllowedGrantTypes.
|
|
3917
|
+
const (
|
|
3918
|
+
OIDCClientAllowedGrantTypesAuthorizationCode OIDCClientAllowedGrantTypes = "authorization_code"
|
|
3919
|
+
OIDCClientAllowedGrantTypesRefreshToken OIDCClientAllowedGrantTypes = "refresh_token"
|
|
3920
|
+
)
|
|
3921
|
+
|
|
3922
|
+
// Valid indicates whether the value is a known member of the OIDCClientAllowedGrantTypes enum.
|
|
3923
|
+
func (e OIDCClientAllowedGrantTypes) Valid() bool {
|
|
3924
|
+
switch e {
|
|
3925
|
+
case OIDCClientAllowedGrantTypesAuthorizationCode:
|
|
3926
|
+
return true
|
|
3927
|
+
case OIDCClientAllowedGrantTypesRefreshToken:
|
|
3928
|
+
return true
|
|
3929
|
+
default:
|
|
3930
|
+
return false
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
// Defines values for OIDCClientClientType.
|
|
3935
|
+
const (
|
|
3936
|
+
OIDCClientClientTypeConfidential OIDCClientClientType = "confidential"
|
|
3937
|
+
OIDCClientClientTypePublic OIDCClientClientType = "public"
|
|
3938
|
+
)
|
|
3939
|
+
|
|
3940
|
+
// Valid indicates whether the value is a known member of the OIDCClientClientType enum.
|
|
3941
|
+
func (e OIDCClientClientType) Valid() bool {
|
|
3942
|
+
switch e {
|
|
3943
|
+
case OIDCClientClientTypeConfidential:
|
|
3944
|
+
return true
|
|
3945
|
+
case OIDCClientClientTypePublic:
|
|
3946
|
+
return true
|
|
3947
|
+
default:
|
|
3948
|
+
return false
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
|
|
3916
3952
|
// Defines values for OIDCClientGrantTypes.
|
|
3917
3953
|
const (
|
|
3918
3954
|
OIDCClientGrantTypesAuthorizationCode OIDCClientGrantTypes = "authorization_code"
|
|
@@ -3931,6 +3967,42 @@ func (e OIDCClientGrantTypes) Valid() bool {
|
|
|
3931
3967
|
}
|
|
3932
3968
|
}
|
|
3933
3969
|
|
|
3970
|
+
// Defines values for OIDCClientInputAllowedGrantTypes.
|
|
3971
|
+
const (
|
|
3972
|
+
OIDCClientInputAllowedGrantTypesAuthorizationCode OIDCClientInputAllowedGrantTypes = "authorization_code"
|
|
3973
|
+
OIDCClientInputAllowedGrantTypesRefreshToken OIDCClientInputAllowedGrantTypes = "refresh_token"
|
|
3974
|
+
)
|
|
3975
|
+
|
|
3976
|
+
// Valid indicates whether the value is a known member of the OIDCClientInputAllowedGrantTypes enum.
|
|
3977
|
+
func (e OIDCClientInputAllowedGrantTypes) Valid() bool {
|
|
3978
|
+
switch e {
|
|
3979
|
+
case OIDCClientInputAllowedGrantTypesAuthorizationCode:
|
|
3980
|
+
return true
|
|
3981
|
+
case OIDCClientInputAllowedGrantTypesRefreshToken:
|
|
3982
|
+
return true
|
|
3983
|
+
default:
|
|
3984
|
+
return false
|
|
3985
|
+
}
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
// Defines values for OIDCClientInputClientType.
|
|
3989
|
+
const (
|
|
3990
|
+
OIDCClientInputClientTypeConfidential OIDCClientInputClientType = "confidential"
|
|
3991
|
+
OIDCClientInputClientTypePublic OIDCClientInputClientType = "public"
|
|
3992
|
+
)
|
|
3993
|
+
|
|
3994
|
+
// Valid indicates whether the value is a known member of the OIDCClientInputClientType enum.
|
|
3995
|
+
func (e OIDCClientInputClientType) Valid() bool {
|
|
3996
|
+
switch e {
|
|
3997
|
+
case OIDCClientInputClientTypeConfidential:
|
|
3998
|
+
return true
|
|
3999
|
+
case OIDCClientInputClientTypePublic:
|
|
4000
|
+
return true
|
|
4001
|
+
default:
|
|
4002
|
+
return false
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
|
|
3934
4006
|
// Defines values for OIDCClientInputGrantTypes.
|
|
3935
4007
|
const (
|
|
3936
4008
|
OIDCClientInputGrantTypesAuthorizationCode OIDCClientInputGrantTypes = "authorization_code"
|
|
@@ -3949,6 +4021,21 @@ func (e OIDCClientInputGrantTypes) Valid() bool {
|
|
|
3949
4021
|
}
|
|
3950
4022
|
}
|
|
3951
4023
|
|
|
4024
|
+
// Defines values for ObservabilityContextVersion.
|
|
4025
|
+
const (
|
|
4026
|
+
ObservabilityContextVersionV1 ObservabilityContextVersion = "v1"
|
|
4027
|
+
)
|
|
4028
|
+
|
|
4029
|
+
// Valid indicates whether the value is a known member of the ObservabilityContextVersion enum.
|
|
4030
|
+
func (e ObservabilityContextVersion) Valid() bool {
|
|
4031
|
+
switch e {
|
|
4032
|
+
case ObservabilityContextVersionV1:
|
|
4033
|
+
return true
|
|
4034
|
+
default:
|
|
4035
|
+
return false
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
|
|
3952
4039
|
// Defines values for ObservabilityDashboardImportWarningCode.
|
|
3953
4040
|
const (
|
|
3954
4041
|
DatasourceRebound ObservabilityDashboardImportWarningCode = "datasource_rebound"
|
|
@@ -3978,23 +4065,32 @@ func (e ObservabilityDashboardImportWarningCode) Valid() bool {
|
|
|
3978
4065
|
|
|
3979
4066
|
// Defines values for ObservabilityDashboardPanelType.
|
|
3980
4067
|
const (
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
4068
|
+
ObservabilityDashboardPanelTypeGauge ObservabilityDashboardPanelType = "gauge"
|
|
4069
|
+
ObservabilityDashboardPanelTypeRow ObservabilityDashboardPanelType = "row"
|
|
4070
|
+
ObservabilityDashboardPanelTypeStat ObservabilityDashboardPanelType = "stat"
|
|
4071
|
+
ObservabilityDashboardPanelTypeTable ObservabilityDashboardPanelType = "table"
|
|
4072
|
+
ObservabilityDashboardPanelTypeText ObservabilityDashboardPanelType = "text"
|
|
4073
|
+
ObservabilityDashboardPanelTypeTimeseries ObservabilityDashboardPanelType = "timeseries"
|
|
4074
|
+
ObservabilityDashboardPanelTypeUnsupported ObservabilityDashboardPanelType = "unsupported"
|
|
3985
4075
|
)
|
|
3986
4076
|
|
|
3987
4077
|
// Valid indicates whether the value is a known member of the ObservabilityDashboardPanelType enum.
|
|
3988
4078
|
func (e ObservabilityDashboardPanelType) Valid() bool {
|
|
3989
4079
|
switch e {
|
|
4080
|
+
case ObservabilityDashboardPanelTypeGauge:
|
|
4081
|
+
return true
|
|
3990
4082
|
case ObservabilityDashboardPanelTypeRow:
|
|
3991
4083
|
return true
|
|
3992
4084
|
case ObservabilityDashboardPanelTypeStat:
|
|
3993
4085
|
return true
|
|
4086
|
+
case ObservabilityDashboardPanelTypeTable:
|
|
4087
|
+
return true
|
|
3994
4088
|
case ObservabilityDashboardPanelTypeText:
|
|
3995
4089
|
return true
|
|
3996
4090
|
case ObservabilityDashboardPanelTypeTimeseries:
|
|
3997
4091
|
return true
|
|
4092
|
+
case ObservabilityDashboardPanelTypeUnsupported:
|
|
4093
|
+
return true
|
|
3998
4094
|
default:
|
|
3999
4095
|
return false
|
|
4000
4096
|
}
|
|
@@ -4015,6 +4111,42 @@ func (e ObservabilityDashboardSource) Valid() bool {
|
|
|
4015
4111
|
}
|
|
4016
4112
|
}
|
|
4017
4113
|
|
|
4114
|
+
// Defines values for ObservabilityDashboardSourceFormat.
|
|
4115
|
+
const (
|
|
4116
|
+
ObservabilityDashboardSourceFormatClassic ObservabilityDashboardSourceFormat = "classic"
|
|
4117
|
+
ObservabilityDashboardSourceFormatV1 ObservabilityDashboardSourceFormat = "v1"
|
|
4118
|
+
)
|
|
4119
|
+
|
|
4120
|
+
// Valid indicates whether the value is a known member of the ObservabilityDashboardSourceFormat enum.
|
|
4121
|
+
func (e ObservabilityDashboardSourceFormat) Valid() bool {
|
|
4122
|
+
switch e {
|
|
4123
|
+
case ObservabilityDashboardSourceFormatClassic:
|
|
4124
|
+
return true
|
|
4125
|
+
case ObservabilityDashboardSourceFormatV1:
|
|
4126
|
+
return true
|
|
4127
|
+
default:
|
|
4128
|
+
return false
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4131
|
+
|
|
4132
|
+
// Defines values for ObservabilityDashboardVariableType.
|
|
4133
|
+
const (
|
|
4134
|
+
ObservabilityDashboardVariableTypeConstant ObservabilityDashboardVariableType = "constant"
|
|
4135
|
+
ObservabilityDashboardVariableTypeCustom ObservabilityDashboardVariableType = "custom"
|
|
4136
|
+
)
|
|
4137
|
+
|
|
4138
|
+
// Valid indicates whether the value is a known member of the ObservabilityDashboardVariableType enum.
|
|
4139
|
+
func (e ObservabilityDashboardVariableType) Valid() bool {
|
|
4140
|
+
switch e {
|
|
4141
|
+
case ObservabilityDashboardVariableTypeConstant:
|
|
4142
|
+
return true
|
|
4143
|
+
case ObservabilityDashboardVariableTypeCustom:
|
|
4144
|
+
return true
|
|
4145
|
+
default:
|
|
4146
|
+
return false
|
|
4147
|
+
}
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4018
4150
|
// Defines values for ObservabilityDataSourceCredentialKeys.
|
|
4019
4151
|
const (
|
|
4020
4152
|
ObservabilityDataSourceCredentialKeysBearerToken ObservabilityDataSourceCredentialKeys = "bearer_token"
|
|
@@ -4165,6 +4297,36 @@ func (e ObservabilityProviderRuntimeMode) Valid() bool {
|
|
|
4165
4297
|
}
|
|
4166
4298
|
}
|
|
4167
4299
|
|
|
4300
|
+
// Defines values for ObservabilityProviderRuntimeStatus.
|
|
4301
|
+
const (
|
|
4302
|
+
ObservabilityProviderRuntimeStatusDegraded ObservabilityProviderRuntimeStatus = "degraded"
|
|
4303
|
+
ObservabilityProviderRuntimeStatusFailed ObservabilityProviderRuntimeStatus = "failed"
|
|
4304
|
+
ObservabilityProviderRuntimeStatusHealthy ObservabilityProviderRuntimeStatus = "healthy"
|
|
4305
|
+
ObservabilityProviderRuntimeStatusUnconfigured ObservabilityProviderRuntimeStatus = "unconfigured"
|
|
4306
|
+
ObservabilityProviderRuntimeStatusUnknown ObservabilityProviderRuntimeStatus = "unknown"
|
|
4307
|
+
ObservabilityProviderRuntimeStatusUnsupported ObservabilityProviderRuntimeStatus = "unsupported"
|
|
4308
|
+
)
|
|
4309
|
+
|
|
4310
|
+
// Valid indicates whether the value is a known member of the ObservabilityProviderRuntimeStatus enum.
|
|
4311
|
+
func (e ObservabilityProviderRuntimeStatus) Valid() bool {
|
|
4312
|
+
switch e {
|
|
4313
|
+
case ObservabilityProviderRuntimeStatusDegraded:
|
|
4314
|
+
return true
|
|
4315
|
+
case ObservabilityProviderRuntimeStatusFailed:
|
|
4316
|
+
return true
|
|
4317
|
+
case ObservabilityProviderRuntimeStatusHealthy:
|
|
4318
|
+
return true
|
|
4319
|
+
case ObservabilityProviderRuntimeStatusUnconfigured:
|
|
4320
|
+
return true
|
|
4321
|
+
case ObservabilityProviderRuntimeStatusUnknown:
|
|
4322
|
+
return true
|
|
4323
|
+
case ObservabilityProviderRuntimeStatusUnsupported:
|
|
4324
|
+
return true
|
|
4325
|
+
default:
|
|
4326
|
+
return false
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
|
|
4168
4330
|
// Defines values for ObservabilityProviderSignal.
|
|
4169
4331
|
const (
|
|
4170
4332
|
ObservabilityProviderSignalLogs ObservabilityProviderSignal = "logs"
|
|
@@ -4210,6 +4372,132 @@ func (e ObservabilityProviderStatus) Valid() bool {
|
|
|
4210
4372
|
}
|
|
4211
4373
|
}
|
|
4212
4374
|
|
|
4375
|
+
// Defines values for ObservabilityQueryLanguage.
|
|
4376
|
+
const (
|
|
4377
|
+
ObservabilityQueryLanguageClickHouseSQL ObservabilityQueryLanguage = "clickhouse_sql"
|
|
4378
|
+
ObservabilityQueryLanguageElasticsearch ObservabilityQueryLanguage = "elasticsearch"
|
|
4379
|
+
ObservabilityQueryLanguageEventFilter ObservabilityQueryLanguage = "event_filter"
|
|
4380
|
+
ObservabilityQueryLanguageLogQL ObservabilityQueryLanguage = "logql"
|
|
4381
|
+
ObservabilityQueryLanguageMetricKey ObservabilityQueryLanguage = "metric_key"
|
|
4382
|
+
ObservabilityQueryLanguagePromQL ObservabilityQueryLanguage = "promql"
|
|
4383
|
+
ObservabilityQueryLanguageTraceFilter ObservabilityQueryLanguage = "trace_filter"
|
|
4384
|
+
)
|
|
4385
|
+
|
|
4386
|
+
// Valid indicates whether the value is a known member of the ObservabilityQueryLanguage enum.
|
|
4387
|
+
func (e ObservabilityQueryLanguage) Valid() bool {
|
|
4388
|
+
switch e {
|
|
4389
|
+
case ObservabilityQueryLanguageClickHouseSQL:
|
|
4390
|
+
return true
|
|
4391
|
+
case ObservabilityQueryLanguageElasticsearch:
|
|
4392
|
+
return true
|
|
4393
|
+
case ObservabilityQueryLanguageEventFilter:
|
|
4394
|
+
return true
|
|
4395
|
+
case ObservabilityQueryLanguageLogQL:
|
|
4396
|
+
return true
|
|
4397
|
+
case ObservabilityQueryLanguageMetricKey:
|
|
4398
|
+
return true
|
|
4399
|
+
case ObservabilityQueryLanguagePromQL:
|
|
4400
|
+
return true
|
|
4401
|
+
case ObservabilityQueryLanguageTraceFilter:
|
|
4402
|
+
return true
|
|
4403
|
+
default:
|
|
4404
|
+
return false
|
|
4405
|
+
}
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
// Defines values for ObservabilityQuerySnapshotVersion.
|
|
4409
|
+
const (
|
|
4410
|
+
ObservabilityQuerySnapshotVersionV1 ObservabilityQuerySnapshotVersion = "v1"
|
|
4411
|
+
)
|
|
4412
|
+
|
|
4413
|
+
// Valid indicates whether the value is a known member of the ObservabilityQuerySnapshotVersion enum.
|
|
4414
|
+
func (e ObservabilityQuerySnapshotVersion) Valid() bool {
|
|
4415
|
+
switch e {
|
|
4416
|
+
case ObservabilityQuerySnapshotVersionV1:
|
|
4417
|
+
return true
|
|
4418
|
+
default:
|
|
4419
|
+
return false
|
|
4420
|
+
}
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
// Defines values for ObservabilityQueryState.
|
|
4424
|
+
const (
|
|
4425
|
+
ObservabilityQueryStateEmpty ObservabilityQueryState = "empty"
|
|
4426
|
+
ObservabilityQueryStateError ObservabilityQueryState = "error"
|
|
4427
|
+
ObservabilityQueryStateNoData ObservabilityQueryState = "no_data"
|
|
4428
|
+
ObservabilityQueryStatePartial ObservabilityQueryState = "partial"
|
|
4429
|
+
ObservabilityQueryStateSuccess ObservabilityQueryState = "success"
|
|
4430
|
+
ObservabilityQueryStateUnsupported ObservabilityQueryState = "unsupported"
|
|
4431
|
+
)
|
|
4432
|
+
|
|
4433
|
+
// Valid indicates whether the value is a known member of the ObservabilityQueryState enum.
|
|
4434
|
+
func (e ObservabilityQueryState) Valid() bool {
|
|
4435
|
+
switch e {
|
|
4436
|
+
case ObservabilityQueryStateEmpty:
|
|
4437
|
+
return true
|
|
4438
|
+
case ObservabilityQueryStateError:
|
|
4439
|
+
return true
|
|
4440
|
+
case ObservabilityQueryStateNoData:
|
|
4441
|
+
return true
|
|
4442
|
+
case ObservabilityQueryStatePartial:
|
|
4443
|
+
return true
|
|
4444
|
+
case ObservabilityQueryStateSuccess:
|
|
4445
|
+
return true
|
|
4446
|
+
case ObservabilityQueryStateUnsupported:
|
|
4447
|
+
return true
|
|
4448
|
+
default:
|
|
4449
|
+
return false
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
// Defines values for ObservabilityServiceStatus.
|
|
4454
|
+
const (
|
|
4455
|
+
ObservabilityServiceStatusDegraded ObservabilityServiceStatus = "degraded"
|
|
4456
|
+
ObservabilityServiceStatusHealthy ObservabilityServiceStatus = "healthy"
|
|
4457
|
+
ObservabilityServiceStatusUnknown ObservabilityServiceStatus = "unknown"
|
|
4458
|
+
ObservabilityServiceStatusUnsupported ObservabilityServiceStatus = "unsupported"
|
|
4459
|
+
)
|
|
4460
|
+
|
|
4461
|
+
// Valid indicates whether the value is a known member of the ObservabilityServiceStatus enum.
|
|
4462
|
+
func (e ObservabilityServiceStatus) Valid() bool {
|
|
4463
|
+
switch e {
|
|
4464
|
+
case ObservabilityServiceStatusDegraded:
|
|
4465
|
+
return true
|
|
4466
|
+
case ObservabilityServiceStatusHealthy:
|
|
4467
|
+
return true
|
|
4468
|
+
case ObservabilityServiceStatusUnknown:
|
|
4469
|
+
return true
|
|
4470
|
+
case ObservabilityServiceStatusUnsupported:
|
|
4471
|
+
return true
|
|
4472
|
+
default:
|
|
4473
|
+
return false
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4476
|
+
|
|
4477
|
+
// Defines values for ObservabilitySignal.
|
|
4478
|
+
const (
|
|
4479
|
+
ObservabilitySignalEvents ObservabilitySignal = "events"
|
|
4480
|
+
ObservabilitySignalLogs ObservabilitySignal = "logs"
|
|
4481
|
+
ObservabilitySignalMetrics ObservabilitySignal = "metrics"
|
|
4482
|
+
ObservabilitySignalTraces ObservabilitySignal = "traces"
|
|
4483
|
+
)
|
|
4484
|
+
|
|
4485
|
+
// Valid indicates whether the value is a known member of the ObservabilitySignal enum.
|
|
4486
|
+
func (e ObservabilitySignal) Valid() bool {
|
|
4487
|
+
switch e {
|
|
4488
|
+
case ObservabilitySignalEvents:
|
|
4489
|
+
return true
|
|
4490
|
+
case ObservabilitySignalLogs:
|
|
4491
|
+
return true
|
|
4492
|
+
case ObservabilitySignalMetrics:
|
|
4493
|
+
return true
|
|
4494
|
+
case ObservabilitySignalTraces:
|
|
4495
|
+
return true
|
|
4496
|
+
default:
|
|
4497
|
+
return false
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
|
|
4213
4501
|
// Defines values for ObservabilityTraceQueryResultBackendType.
|
|
4214
4502
|
const (
|
|
4215
4503
|
Jaeger ObservabilityTraceQueryResultBackendType = "jaeger"
|
|
@@ -4806,34 +5094,34 @@ func (e RuntimeNetworkUsageScope) Valid() bool {
|
|
|
4806
5094
|
|
|
4807
5095
|
// Defines values for SAMLAttributeMappingTarget.
|
|
4808
5096
|
const (
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
5097
|
+
SAMLAttributeMappingTargetDisplayName SAMLAttributeMappingTarget = "displayName"
|
|
5098
|
+
SAMLAttributeMappingTargetEmail SAMLAttributeMappingTarget = "email"
|
|
5099
|
+
SAMLAttributeMappingTargetOrganization SAMLAttributeMappingTarget = "organization"
|
|
5100
|
+
SAMLAttributeMappingTargetProject SAMLAttributeMappingTarget = "project"
|
|
5101
|
+
SAMLAttributeMappingTargetRole SAMLAttributeMappingTarget = "role"
|
|
5102
|
+
SAMLAttributeMappingTargetSubject SAMLAttributeMappingTarget = "subject"
|
|
5103
|
+
SAMLAttributeMappingTargetTeam SAMLAttributeMappingTarget = "team"
|
|
5104
|
+
SAMLAttributeMappingTargetUsername SAMLAttributeMappingTarget = "username"
|
|
4817
5105
|
)
|
|
4818
5106
|
|
|
4819
5107
|
// Valid indicates whether the value is a known member of the SAMLAttributeMappingTarget enum.
|
|
4820
5108
|
func (e SAMLAttributeMappingTarget) Valid() bool {
|
|
4821
5109
|
switch e {
|
|
4822
|
-
case
|
|
5110
|
+
case SAMLAttributeMappingTargetDisplayName:
|
|
4823
5111
|
return true
|
|
4824
|
-
case
|
|
5112
|
+
case SAMLAttributeMappingTargetEmail:
|
|
4825
5113
|
return true
|
|
4826
|
-
case
|
|
5114
|
+
case SAMLAttributeMappingTargetOrganization:
|
|
4827
5115
|
return true
|
|
4828
|
-
case
|
|
5116
|
+
case SAMLAttributeMappingTargetProject:
|
|
4829
5117
|
return true
|
|
4830
|
-
case
|
|
5118
|
+
case SAMLAttributeMappingTargetRole:
|
|
4831
5119
|
return true
|
|
4832
|
-
case
|
|
5120
|
+
case SAMLAttributeMappingTargetSubject:
|
|
4833
5121
|
return true
|
|
4834
|
-
case
|
|
5122
|
+
case SAMLAttributeMappingTargetTeam:
|
|
4835
5123
|
return true
|
|
4836
|
-
case
|
|
5124
|
+
case SAMLAttributeMappingTargetUsername:
|
|
4837
5125
|
return true
|
|
4838
5126
|
default:
|
|
4839
5127
|
return false
|
|
@@ -4882,6 +5170,63 @@ func (e SAMLNameIDFormat) Valid() bool {
|
|
|
4882
5170
|
}
|
|
4883
5171
|
}
|
|
4884
5172
|
|
|
5173
|
+
// Defines values for ScopeGrantEffect.
|
|
5174
|
+
const (
|
|
5175
|
+
Allow ScopeGrantEffect = "allow"
|
|
5176
|
+
Deny ScopeGrantEffect = "deny"
|
|
5177
|
+
)
|
|
5178
|
+
|
|
5179
|
+
// Valid indicates whether the value is a known member of the ScopeGrantEffect enum.
|
|
5180
|
+
func (e ScopeGrantEffect) Valid() bool {
|
|
5181
|
+
switch e {
|
|
5182
|
+
case Allow:
|
|
5183
|
+
return true
|
|
5184
|
+
case Deny:
|
|
5185
|
+
return true
|
|
5186
|
+
default:
|
|
5187
|
+
return false
|
|
5188
|
+
}
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
// Defines values for ScopeGrantSubjectType.
|
|
5192
|
+
const (
|
|
5193
|
+
ScopeGrantSubjectTypeTeam ScopeGrantSubjectType = "team"
|
|
5194
|
+
ScopeGrantSubjectTypeUser ScopeGrantSubjectType = "user"
|
|
5195
|
+
)
|
|
5196
|
+
|
|
5197
|
+
// Valid indicates whether the value is a known member of the ScopeGrantSubjectType enum.
|
|
5198
|
+
func (e ScopeGrantSubjectType) Valid() bool {
|
|
5199
|
+
switch e {
|
|
5200
|
+
case ScopeGrantSubjectTypeTeam:
|
|
5201
|
+
return true
|
|
5202
|
+
case ScopeGrantSubjectTypeUser:
|
|
5203
|
+
return true
|
|
5204
|
+
default:
|
|
5205
|
+
return false
|
|
5206
|
+
}
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5209
|
+
// Defines values for ScopeGrantType.
|
|
5210
|
+
const (
|
|
5211
|
+
ScopeGrantTypeDelivery ScopeGrantType = "delivery"
|
|
5212
|
+
ScopeGrantTypeLegacy ScopeGrantType = "legacy"
|
|
5213
|
+
ScopeGrantTypePlatform ScopeGrantType = "platform"
|
|
5214
|
+
)
|
|
5215
|
+
|
|
5216
|
+
// Valid indicates whether the value is a known member of the ScopeGrantType enum.
|
|
5217
|
+
func (e ScopeGrantType) Valid() bool {
|
|
5218
|
+
switch e {
|
|
5219
|
+
case ScopeGrantTypeDelivery:
|
|
5220
|
+
return true
|
|
5221
|
+
case ScopeGrantTypeLegacy:
|
|
5222
|
+
return true
|
|
5223
|
+
case ScopeGrantTypePlatform:
|
|
5224
|
+
return true
|
|
5225
|
+
default:
|
|
5226
|
+
return false
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5229
|
+
|
|
4885
5230
|
// Defines values for SecretBindingTargetType.
|
|
4886
5231
|
const (
|
|
4887
5232
|
SecretBindingCapability SecretBindingTargetType = "capability"
|
|
@@ -8193,6 +8538,7 @@ type BrandingSettings struct {
|
|
|
8193
8538
|
FaviconURL string `json:"faviconUrl"`
|
|
8194
8539
|
LoginLogoURL string `json:"loginLogoUrl"`
|
|
8195
8540
|
SidebarTitle string `json:"sidebarTitle"`
|
|
8541
|
+
Slogan string `json:"slogan,omitempty"`
|
|
8196
8542
|
}
|
|
8197
8543
|
|
|
8198
8544
|
// BrandingSettingsEnvelope defines model for BrandingSettingsEnvelope.
|
|
@@ -9412,6 +9758,20 @@ type DockerGitBuildInput struct {
|
|
|
9412
9758
|
RepositoryURL string `json:"repositoryUrl"`
|
|
9413
9759
|
}
|
|
9414
9760
|
|
|
9761
|
+
// DockerHostAgentInstallation defines model for DockerHostAgentInstallation.
|
|
9762
|
+
type DockerHostAgentInstallation struct {
|
|
9763
|
+
Command string `json:"command"`
|
|
9764
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
9765
|
+
HostID string `json:"hostId"`
|
|
9766
|
+
OperationID string `json:"operationId"`
|
|
9767
|
+
ScriptURL string `json:"scriptUrl"`
|
|
9768
|
+
}
|
|
9769
|
+
|
|
9770
|
+
// DockerHostAgentInstallationEnvelope defines model for DockerHostAgentInstallationEnvelope.
|
|
9771
|
+
type DockerHostAgentInstallationEnvelope struct {
|
|
9772
|
+
Data DockerHostAgentInstallation `json:"data"`
|
|
9773
|
+
}
|
|
9774
|
+
|
|
9415
9775
|
// DockerOperation defines model for DockerOperation.
|
|
9416
9776
|
type DockerOperation struct {
|
|
9417
9777
|
// CallbackToken Opaque per-claim credential returned only by the authenticated runner claim endpoint when callback-token fencing is negotiated.
|
|
@@ -10473,18 +10833,24 @@ type IdentityProtocolErrorCode string
|
|
|
10473
10833
|
|
|
10474
10834
|
// IdentityProvider defines model for IdentityProvider.
|
|
10475
10835
|
type IdentityProvider struct {
|
|
10476
|
-
ApplicationID string
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10836
|
+
ApplicationID string `json:"applicationId"`
|
|
10837
|
+
|
|
10838
|
+
// Config Non-secret provider configuration.
|
|
10839
|
+
Config map[string]any `json:"config,omitempty"`
|
|
10840
|
+
ConfiguredSecretAliases []string `json:"configuredSecretAliases,omitempty"`
|
|
10841
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
10842
|
+
CreatedBy string `json:"createdBy,omitempty"`
|
|
10843
|
+
Enabled bool `json:"enabled"`
|
|
10844
|
+
ID string `json:"id"`
|
|
10845
|
+
Name string `json:"name"`
|
|
10846
|
+
|
|
10847
|
+
// SecretRefs Deprecated response field retained for 0.1.x SDK compatibility; current servers omit it.
|
|
10848
|
+
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
|
|
10849
|
+
SecretRefs map[string]any `json:"secretRefs,omitempty"`
|
|
10850
|
+
Status IdentityResourceStatus `json:"status"`
|
|
10851
|
+
Type IdentityProviderType `json:"type"`
|
|
10852
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
10853
|
+
UpdatedBy string `json:"updatedBy,omitempty"`
|
|
10488
10854
|
}
|
|
10489
10855
|
|
|
10490
10856
|
// IdentityProviderEnvelope defines model for IdentityProviderEnvelope.
|
|
@@ -10494,13 +10860,15 @@ type IdentityProviderEnvelope struct {
|
|
|
10494
10860
|
|
|
10495
10861
|
// IdentityProviderInput defines model for IdentityProviderInput.
|
|
10496
10862
|
type IdentityProviderInput struct {
|
|
10497
|
-
ApplicationID string
|
|
10498
|
-
Config map[string]any
|
|
10499
|
-
Enabled bool
|
|
10500
|
-
Name string
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10863
|
+
ApplicationID string `json:"applicationId"`
|
|
10864
|
+
Config map[string]any `json:"config"`
|
|
10865
|
+
Enabled bool `json:"enabled"`
|
|
10866
|
+
Name string `json:"name"`
|
|
10867
|
+
|
|
10868
|
+
// SecretRefs Omit on update to preserve existing references; send an empty object to clear them.
|
|
10869
|
+
SecretRefs SecretReferenceMap `json:"secretRefs,omitempty"`
|
|
10870
|
+
Status IdentityResourceStatus `json:"status"`
|
|
10871
|
+
Type IdentityProviderType `json:"type"`
|
|
10504
10872
|
}
|
|
10505
10873
|
|
|
10506
10874
|
// IdentityProviderListEnvelope defines model for IdentityProviderListEnvelope.
|
|
@@ -14087,14 +14455,15 @@ type LogEntryStream string
|
|
|
14087
14455
|
|
|
14088
14456
|
// LogPage defines model for LogPage.
|
|
14089
14457
|
type LogPage struct {
|
|
14090
|
-
Coverage *LogCoverage
|
|
14091
|
-
Entries []LogEntry
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14458
|
+
Coverage *LogCoverage `json:"coverage,omitempty"`
|
|
14459
|
+
Entries []LogEntry `json:"entries"`
|
|
14460
|
+
Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
|
|
14461
|
+
NextCursor string `json:"nextCursor,omitempty"`
|
|
14462
|
+
Partial bool `json:"partial"`
|
|
14463
|
+
RetentionHint string `json:"retentionHint,omitempty"`
|
|
14464
|
+
ScopeRestricted bool `json:"scopeRestricted"`
|
|
14465
|
+
Truncated bool `json:"truncated"`
|
|
14466
|
+
Warnings []LogWarning `json:"warnings,omitempty"`
|
|
14098
14467
|
}
|
|
14099
14468
|
|
|
14100
14469
|
// LogPageEnvelope defines model for LogPageEnvelope.
|
|
@@ -14169,7 +14538,8 @@ type LogWarning struct {
|
|
|
14169
14538
|
|
|
14170
14539
|
// LoginOptions defines model for LoginOptions.
|
|
14171
14540
|
type LoginOptions struct {
|
|
14172
|
-
|
|
14541
|
+
Branding *BrandingSettings `json:"branding,omitempty"`
|
|
14542
|
+
LocalPasswordLoginEnabled bool `json:"localPasswordLoginEnabled,omitempty"`
|
|
14173
14543
|
Verification struct {
|
|
14174
14544
|
SliderEnabled bool `json:"sliderEnabled"`
|
|
14175
14545
|
} `json:"verification"`
|
|
@@ -15074,6 +15444,50 @@ type MarketplacePublisher struct {
|
|
|
15074
15444
|
// MarketplacePublisherVerificationLevel defines model for MarketplacePublisher.VerificationLevel.
|
|
15075
15445
|
type MarketplacePublisherVerificationLevel string
|
|
15076
15446
|
|
|
15447
|
+
// Menu defines model for Menu.
|
|
15448
|
+
type Menu struct {
|
|
15449
|
+
Children []Menu `json:"children,omitempty"`
|
|
15450
|
+
Enabled bool `json:"enabled"`
|
|
15451
|
+
IconKey string `json:"iconKey"`
|
|
15452
|
+
ID string `json:"id"`
|
|
15453
|
+
LabelEn string `json:"labelEn"`
|
|
15454
|
+
LabelZh string `json:"labelZh"`
|
|
15455
|
+
ParentID string `json:"parentId,omitempty"`
|
|
15456
|
+
Path string `json:"path"`
|
|
15457
|
+
RoleIDs []string `json:"roleIds,omitempty"`
|
|
15458
|
+
Section string `json:"section"`
|
|
15459
|
+
SortOrder int `json:"sortOrder"`
|
|
15460
|
+
}
|
|
15461
|
+
|
|
15462
|
+
// MenuDeleteResult defines model for MenuDeleteResult.
|
|
15463
|
+
type MenuDeleteResult struct {
|
|
15464
|
+
Status string `json:"status"`
|
|
15465
|
+
}
|
|
15466
|
+
|
|
15467
|
+
// MenuEnvelope defines model for MenuEnvelope.
|
|
15468
|
+
type MenuEnvelope struct {
|
|
15469
|
+
Data Menu `json:"data"`
|
|
15470
|
+
}
|
|
15471
|
+
|
|
15472
|
+
// MenuInput defines model for MenuInput.
|
|
15473
|
+
type MenuInput struct {
|
|
15474
|
+
Enabled bool `json:"enabled,omitempty"`
|
|
15475
|
+
IconKey string `json:"iconKey"`
|
|
15476
|
+
ID string `json:"id,omitempty"`
|
|
15477
|
+
LabelEn string `json:"labelEn"`
|
|
15478
|
+
LabelZh string `json:"labelZh"`
|
|
15479
|
+
ParentID string `json:"parentId,omitempty"`
|
|
15480
|
+
Path string `json:"path"`
|
|
15481
|
+
RoleIDs []string `json:"roleIds,omitempty"`
|
|
15482
|
+
Section string `json:"section,omitempty"`
|
|
15483
|
+
SortOrder int `json:"sortOrder,omitempty"`
|
|
15484
|
+
}
|
|
15485
|
+
|
|
15486
|
+
// MenuListEnvelope defines model for MenuListEnvelope.
|
|
15487
|
+
type MenuListEnvelope struct {
|
|
15488
|
+
Items []Menu `json:"items"`
|
|
15489
|
+
}
|
|
15490
|
+
|
|
15077
15491
|
// MultiAgentBudget defines model for MultiAgentBudget.
|
|
15078
15492
|
type MultiAgentBudget struct {
|
|
15079
15493
|
DeadlineSeconds int `json:"deadlineSeconds"`
|
|
@@ -15128,19 +15542,54 @@ type NativeProviderObject map[string]any
|
|
|
15128
15542
|
|
|
15129
15543
|
// OIDCClient defines model for OIDCClient.
|
|
15130
15544
|
type OIDCClient struct {
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15545
|
+
AccessTokenTTLSeconds int `json:"accessTokenTtlSeconds,omitempty"`
|
|
15546
|
+
AllowedGrantTypes []OIDCClientAllowedGrantTypes `json:"allowedGrantTypes,omitempty"`
|
|
15547
|
+
AllowedScopes []string `json:"allowedScopes,omitempty"`
|
|
15548
|
+
ClientID string `json:"clientId"`
|
|
15549
|
+
ClientType OIDCClientClientType `json:"clientType,omitempty"`
|
|
15550
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
15551
|
+
|
|
15552
|
+
// GrantTypes Deprecated response alias retained for 0.1.x compatibility; use allowedGrantTypes.
|
|
15553
|
+
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
|
|
15554
|
+
GrantTypes []OIDCClientGrantTypes `json:"grantTypes"`
|
|
15555
|
+
ID string `json:"id"`
|
|
15556
|
+
IDTokenTTLSeconds int `json:"idTokenTtlSeconds,omitempty"`
|
|
15557
|
+
|
|
15558
|
+
// PostLogoutRedirectUris Absolute HTTP or HTTPS post-logout redirect URIs. HTTPS is recommended for production deployments.
|
|
15559
|
+
PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
|
|
15560
|
+
ProviderID string `json:"providerId"`
|
|
15561
|
+
|
|
15562
|
+
// RedirectURIRegexes RE2 regular expressions matched against the complete absolute HTTP or HTTPS redirect URI. Evaluated in addition to redirectUris.
|
|
15563
|
+
RedirectURIRegexes []string `json:"redirectUriRegexes,omitempty"`
|
|
15564
|
+
|
|
15565
|
+
// RedirectUris Strict-match absolute HTTP or HTTPS redirect URIs. HTTPS is recommended for production deployments.
|
|
15566
|
+
RedirectUris []string `json:"redirectUris"`
|
|
15567
|
+
RefreshTokenTTLSeconds int `json:"refreshTokenTtlSeconds,omitempty"`
|
|
15568
|
+
RequirePkce bool `json:"requirePkce,omitempty"`
|
|
15569
|
+
Status IdentityResourceStatus `json:"status"`
|
|
15570
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
15139
15571
|
}
|
|
15140
15572
|
|
|
15573
|
+
// OIDCClientAllowedGrantTypes defines model for OIDCClient.AllowedGrantTypes.
|
|
15574
|
+
type OIDCClientAllowedGrantTypes string
|
|
15575
|
+
|
|
15576
|
+
// OIDCClientClientType defines model for OIDCClient.ClientType.
|
|
15577
|
+
type OIDCClientClientType string
|
|
15578
|
+
|
|
15141
15579
|
// OIDCClientGrantTypes defines model for OIDCClient.GrantTypes.
|
|
15142
15580
|
type OIDCClientGrantTypes string
|
|
15143
15581
|
|
|
15582
|
+
// OIDCClientCreated defines model for OIDCClientCreated.
|
|
15583
|
+
type OIDCClientCreated struct {
|
|
15584
|
+
Client OIDCClient `json:"client"`
|
|
15585
|
+
ClientSecret string `json:"clientSecret,omitempty"`
|
|
15586
|
+
}
|
|
15587
|
+
|
|
15588
|
+
// OIDCClientCreatedEnvelope defines model for OIDCClientCreatedEnvelope.
|
|
15589
|
+
type OIDCClientCreatedEnvelope struct {
|
|
15590
|
+
Data OIDCClientCreated `json:"data"`
|
|
15591
|
+
}
|
|
15592
|
+
|
|
15144
15593
|
// OIDCClientEnvelope defines model for OIDCClientEnvelope.
|
|
15145
15594
|
type OIDCClientEnvelope struct {
|
|
15146
15595
|
Data OIDCClient `json:"data"`
|
|
@@ -15148,14 +15597,38 @@ type OIDCClientEnvelope struct {
|
|
|
15148
15597
|
|
|
15149
15598
|
// OIDCClientInput defines model for OIDCClientInput.
|
|
15150
15599
|
type OIDCClientInput struct {
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15600
|
+
AccessTokenTTLSeconds int `json:"accessTokenTtlSeconds,omitempty"`
|
|
15601
|
+
AllowedGrantTypes []OIDCClientInputAllowedGrantTypes `json:"allowedGrantTypes,omitempty"`
|
|
15602
|
+
AllowedScopes []string `json:"allowedScopes,omitempty"`
|
|
15603
|
+
ClientID string `json:"clientId"`
|
|
15604
|
+
ClientSecret string `json:"clientSecret,omitempty"`
|
|
15605
|
+
ClientType OIDCClientInputClientType `json:"clientType,omitempty"`
|
|
15606
|
+
|
|
15607
|
+
// GrantTypes Deprecated request alias retained for 0.1.x compatibility; use allowedGrantTypes.
|
|
15608
|
+
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
|
|
15609
|
+
GrantTypes []OIDCClientInputGrantTypes `json:"grantTypes,omitempty"`
|
|
15610
|
+
IDTokenTTLSeconds int `json:"idTokenTtlSeconds,omitempty"`
|
|
15611
|
+
|
|
15612
|
+
// PostLogoutRedirectUris Absolute HTTP or HTTPS post-logout redirect URIs. HTTPS is recommended for production deployments.
|
|
15613
|
+
PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
|
|
15614
|
+
ProviderID string `json:"providerId,omitempty"`
|
|
15615
|
+
|
|
15616
|
+
// RedirectURIRegexes RE2 regular expressions matched against the complete absolute HTTP or HTTPS redirect URI. At least one redirectUris or redirectUriRegexes entry is required.
|
|
15617
|
+
RedirectURIRegexes []string `json:"redirectUriRegexes,omitempty"`
|
|
15618
|
+
|
|
15619
|
+
// RedirectUris Strict-match absolute HTTP or HTTPS redirect URIs. At least one redirectUris or redirectUriRegexes entry is required. HTTPS is recommended for production deployments.
|
|
15620
|
+
RedirectUris []string `json:"redirectUris,omitempty"`
|
|
15621
|
+
RefreshTokenTTLSeconds int `json:"refreshTokenTtlSeconds,omitempty"`
|
|
15622
|
+
RequirePkce bool `json:"requirePkce,omitempty"`
|
|
15623
|
+
Status IdentityResourceStatus `json:"status,omitempty"`
|
|
15157
15624
|
}
|
|
15158
15625
|
|
|
15626
|
+
// OIDCClientInputAllowedGrantTypes defines model for OIDCClientInput.AllowedGrantTypes.
|
|
15627
|
+
type OIDCClientInputAllowedGrantTypes string
|
|
15628
|
+
|
|
15629
|
+
// OIDCClientInputClientType defines model for OIDCClientInput.ClientType.
|
|
15630
|
+
type OIDCClientInputClientType string
|
|
15631
|
+
|
|
15159
15632
|
// OIDCClientInputGrantTypes defines model for OIDCClientInput.GrantTypes.
|
|
15160
15633
|
type OIDCClientInputGrantTypes string
|
|
15161
15634
|
|
|
@@ -15169,17 +15642,46 @@ type OIDCExchangeRequest struct {
|
|
|
15169
15642
|
Code string `json:"code"`
|
|
15170
15643
|
}
|
|
15171
15644
|
|
|
15645
|
+
// ObservabilityContext defines model for ObservabilityContext.
|
|
15646
|
+
type ObservabilityContext struct {
|
|
15647
|
+
Filter *ObservabilityFilter `json:"filter,omitempty"`
|
|
15648
|
+
Resource *ObservabilityResourceIdentity `json:"resource,omitempty"`
|
|
15649
|
+
Scope ObservabilityQueryScope `json:"scope"`
|
|
15650
|
+
|
|
15651
|
+
// ScopeRestricted True when authorization narrowed the requested scope.
|
|
15652
|
+
ScopeRestricted bool `json:"scopeRestricted,omitempty"`
|
|
15653
|
+
TimeRange ObservabilityTimeRange `json:"timeRange"`
|
|
15654
|
+
Version ObservabilityContextVersion `json:"version"`
|
|
15655
|
+
}
|
|
15656
|
+
|
|
15657
|
+
// ObservabilityContextVersion defines model for ObservabilityContext.Version.
|
|
15658
|
+
type ObservabilityContextVersion string
|
|
15659
|
+
|
|
15172
15660
|
// ObservabilityDashboard defines model for ObservabilityDashboard.
|
|
15173
15661
|
type ObservabilityDashboard struct {
|
|
15174
|
-
CreatedAt
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15662
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
15663
|
+
DataSourceBindings []ObservabilityDashboardDataSourceBinding `json:"dataSourceBindings,omitempty"`
|
|
15664
|
+
DataSourceID string `json:"dataSourceId,omitempty"`
|
|
15665
|
+
ID string `json:"id"`
|
|
15666
|
+
ImportWarnings []ObservabilityDashboardImportWarning `json:"importWarnings,omitempty"`
|
|
15667
|
+
Name string `json:"name"`
|
|
15668
|
+
Panels []ObservabilityDashboardPanel `json:"panels"`
|
|
15669
|
+
|
|
15670
|
+
// RawJSON Original bounded Grafana import document. It is retained for fidelity and never executed directly.
|
|
15671
|
+
RawJSON string `json:"rawJson,omitempty"`
|
|
15672
|
+
Source ObservabilityDashboardSource `json:"source"`
|
|
15673
|
+
SourceFormat ObservabilityDashboardSourceFormat `json:"sourceFormat,omitempty"`
|
|
15674
|
+
SourceSchemaVersion int `json:"sourceSchemaVersion,omitempty"`
|
|
15675
|
+
Tags []string `json:"tags"`
|
|
15676
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
15677
|
+
Variables []ObservabilityDashboardVariable `json:"variables,omitempty"`
|
|
15678
|
+
}
|
|
15679
|
+
|
|
15680
|
+
// ObservabilityDashboardDataSourceBinding defines model for ObservabilityDashboardDataSourceBinding.
|
|
15681
|
+
type ObservabilityDashboardDataSourceBinding struct {
|
|
15682
|
+
DataSourceID string `json:"dataSourceId"`
|
|
15683
|
+
Type string `json:"type"`
|
|
15684
|
+
UID string `json:"uid,omitempty"`
|
|
15183
15685
|
}
|
|
15184
15686
|
|
|
15185
15687
|
// ObservabilityDashboardEnvelope defines model for ObservabilityDashboardEnvelope.
|
|
@@ -15221,9 +15723,14 @@ type ObservabilityDashboardPanel struct {
|
|
|
15221
15723
|
Layout ObservabilityDashboardPanelLayout `json:"layout"`
|
|
15222
15724
|
Markdown string `json:"markdown,omitempty"`
|
|
15223
15725
|
Queryable bool `json:"queryable"`
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15726
|
+
|
|
15727
|
+
// RawJSON Original Grafana panel JSON retained for unsupported renderers and never executed directly.
|
|
15728
|
+
RawJSON string `json:"rawJson,omitempty"`
|
|
15729
|
+
SourcePanelType string `json:"sourcePanelType,omitempty"`
|
|
15730
|
+
Targets []ObservabilityDashboardTarget `json:"targets"`
|
|
15731
|
+
Title string `json:"title"`
|
|
15732
|
+
Type ObservabilityDashboardPanelType `json:"type"`
|
|
15733
|
+
Unsupported bool `json:"unsupported,omitempty"`
|
|
15227
15734
|
}
|
|
15228
15735
|
|
|
15229
15736
|
// ObservabilityDashboardPanelLayout defines model for ObservabilityDashboardPanelLayout.
|
|
@@ -15236,9 +15743,10 @@ type ObservabilityDashboardPanelLayout struct {
|
|
|
15236
15743
|
|
|
15237
15744
|
// ObservabilityDashboardPanelQueryInput defines model for ObservabilityDashboardPanelQueryInput.
|
|
15238
15745
|
type ObservabilityDashboardPanelQueryInput struct {
|
|
15239
|
-
StepSeconds int
|
|
15240
|
-
TimeFrom time.Time
|
|
15241
|
-
TimeTo time.Time
|
|
15746
|
+
StepSeconds int `json:"stepSeconds,omitempty"`
|
|
15747
|
+
TimeFrom time.Time `json:"timeFrom"`
|
|
15748
|
+
TimeTo time.Time `json:"timeTo"`
|
|
15749
|
+
Variables map[string]string `json:"variables,omitempty"`
|
|
15242
15750
|
}
|
|
15243
15751
|
|
|
15244
15752
|
// ObservabilityDashboardPanelType defines model for ObservabilityDashboardPanelType.
|
|
@@ -15247,13 +15755,31 @@ type ObservabilityDashboardPanelType string
|
|
|
15247
15755
|
// ObservabilityDashboardSource defines model for ObservabilityDashboardSource.
|
|
15248
15756
|
type ObservabilityDashboardSource string
|
|
15249
15757
|
|
|
15758
|
+
// ObservabilityDashboardSourceFormat defines model for ObservabilityDashboardSourceFormat.
|
|
15759
|
+
type ObservabilityDashboardSourceFormat string
|
|
15760
|
+
|
|
15250
15761
|
// ObservabilityDashboardTarget defines model for ObservabilityDashboardTarget.
|
|
15251
15762
|
type ObservabilityDashboardTarget struct {
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15763
|
+
DataSourceID string `json:"dataSourceId,omitempty"`
|
|
15764
|
+
DataSourceType string `json:"dataSourceType,omitempty"`
|
|
15765
|
+
DataSourceUID string `json:"dataSourceUid,omitempty"`
|
|
15766
|
+
Expression string `json:"expression"`
|
|
15767
|
+
Legend string `json:"legend,omitempty"`
|
|
15768
|
+
RefID string `json:"refId"`
|
|
15255
15769
|
}
|
|
15256
15770
|
|
|
15771
|
+
// ObservabilityDashboardVariable defines model for ObservabilityDashboardVariable.
|
|
15772
|
+
type ObservabilityDashboardVariable struct {
|
|
15773
|
+
Current string `json:"current,omitempty"`
|
|
15774
|
+
Label string `json:"label,omitempty"`
|
|
15775
|
+
Name string `json:"name"`
|
|
15776
|
+
Options []string `json:"options"`
|
|
15777
|
+
Type ObservabilityDashboardVariableType `json:"type"`
|
|
15778
|
+
}
|
|
15779
|
+
|
|
15780
|
+
// ObservabilityDashboardVariableType defines model for ObservabilityDashboardVariableType.
|
|
15781
|
+
type ObservabilityDashboardVariableType string
|
|
15782
|
+
|
|
15257
15783
|
// ObservabilityDataSource defines model for ObservabilityDataSource.
|
|
15258
15784
|
type ObservabilityDataSource struct {
|
|
15259
15785
|
BackendType ObservabilityDataSourceBackendType `json:"backendType"`
|
|
@@ -15319,6 +15845,14 @@ type ObservabilityDataSourceScope struct {
|
|
|
15319
15845
|
// ObservabilityDataSourceValidationStatus defines model for ObservabilityDataSourceValidationStatus.
|
|
15320
15846
|
type ObservabilityDataSourceValidationStatus string
|
|
15321
15847
|
|
|
15848
|
+
// ObservabilityFilter defines model for ObservabilityFilter.
|
|
15849
|
+
type ObservabilityFilter struct {
|
|
15850
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
15851
|
+
SpanID string `json:"spanId,omitempty"`
|
|
15852
|
+
Text string `json:"text,omitempty"`
|
|
15853
|
+
TraceID string `json:"traceId,omitempty"`
|
|
15854
|
+
}
|
|
15855
|
+
|
|
15322
15856
|
// ObservabilityGrafanaDashboardImportInput defines model for ObservabilityGrafanaDashboardImportInput.
|
|
15323
15857
|
type ObservabilityGrafanaDashboardImportInput struct {
|
|
15324
15858
|
// DataSourceID Enabled Soha Prometheus data source used by every imported queryable panel.
|
|
@@ -15370,6 +15904,11 @@ type ObservabilityLogRedactionPolicy struct {
|
|
|
15370
15904
|
DropAttributeKeys []string `json:"dropAttributeKeys,omitempty"`
|
|
15371
15905
|
}
|
|
15372
15906
|
|
|
15907
|
+
// ObservabilityMetricCatalogEnvelope defines model for ObservabilityMetricCatalogEnvelope.
|
|
15908
|
+
type ObservabilityMetricCatalogEnvelope struct {
|
|
15909
|
+
Items []ObservabilityMetricDefinition `json:"items"`
|
|
15910
|
+
}
|
|
15911
|
+
|
|
15373
15912
|
// ObservabilityMetricDataSource defines model for ObservabilityMetricDataSource.
|
|
15374
15913
|
type ObservabilityMetricDataSource struct {
|
|
15375
15914
|
ID string `json:"id"`
|
|
@@ -15381,6 +15920,17 @@ type ObservabilityMetricDataSourceListEnvelope struct {
|
|
|
15381
15920
|
Items []ObservabilityMetricDataSource `json:"items"`
|
|
15382
15921
|
}
|
|
15383
15922
|
|
|
15923
|
+
// ObservabilityMetricDefinition defines model for ObservabilityMetricDefinition.
|
|
15924
|
+
type ObservabilityMetricDefinition struct {
|
|
15925
|
+
Available bool `json:"available"`
|
|
15926
|
+
Description string `json:"description,omitempty"`
|
|
15927
|
+
Key string `json:"key"`
|
|
15928
|
+
Label string `json:"label"`
|
|
15929
|
+
SemanticConvention string `json:"semanticConvention,omitempty"`
|
|
15930
|
+
Signal ObservabilitySignal `json:"signal"`
|
|
15931
|
+
Unit string `json:"unit"`
|
|
15932
|
+
}
|
|
15933
|
+
|
|
15384
15934
|
// ObservabilityMetricKey defines model for ObservabilityMetricKey.
|
|
15385
15935
|
type ObservabilityMetricKey string
|
|
15386
15936
|
|
|
@@ -15409,6 +15959,7 @@ type ObservabilityMetricQueryInput struct {
|
|
|
15409
15959
|
type ObservabilityMetricQueryResult struct {
|
|
15410
15960
|
BackendType ObservabilityMetricQueryResultBackendType `json:"backendType"`
|
|
15411
15961
|
DataSourceID string `json:"dataSourceId"`
|
|
15962
|
+
Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
|
|
15412
15963
|
Series []ObservabilityMetricSeries `json:"series"`
|
|
15413
15964
|
}
|
|
15414
15965
|
|
|
@@ -15429,17 +15980,23 @@ type ObservabilityProviderDefinition struct {
|
|
|
15429
15980
|
BuiltIn bool `json:"builtIn"`
|
|
15430
15981
|
Capabilities []string `json:"capabilities"`
|
|
15431
15982
|
ConfigSchemaRef string `json:"configSchemaRef,omitempty"`
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15983
|
+
|
|
15984
|
+
// Configured True when at least one enabled data source is configured for this provider.
|
|
15985
|
+
Configured bool `json:"configured,omitempty"`
|
|
15986
|
+
Description string `json:"description,omitempty"`
|
|
15987
|
+
DisplayName string `json:"displayName"`
|
|
15988
|
+
LastValidatedAt *time.Time `json:"lastValidatedAt,omitempty"`
|
|
15989
|
+
PluginID string `json:"pluginId,omitempty"`
|
|
15990
|
+
ProtocolVersion string `json:"protocolVersion"`
|
|
15436
15991
|
|
|
15437
15992
|
// ProviderKey Required when backendType is provider.
|
|
15438
|
-
ProviderKey
|
|
15439
|
-
RuntimeMode
|
|
15440
|
-
|
|
15441
|
-
|
|
15442
|
-
|
|
15993
|
+
ProviderKey string `json:"providerKey"`
|
|
15994
|
+
RuntimeMode ObservabilityProviderRuntimeMode `json:"runtimeMode"`
|
|
15995
|
+
RuntimeStatus ObservabilityProviderRuntimeStatus `json:"runtimeStatus,omitempty"`
|
|
15996
|
+
RuntimeStatusReason string `json:"runtimeStatusReason,omitempty"`
|
|
15997
|
+
Signals []ObservabilityProviderSignal `json:"signals"`
|
|
15998
|
+
Status ObservabilityProviderStatus `json:"status"`
|
|
15999
|
+
StatusReason string `json:"statusReason,omitempty"`
|
|
15443
16000
|
}
|
|
15444
16001
|
|
|
15445
16002
|
// ObservabilityProviderListEnvelope defines model for ObservabilityProviderListEnvelope.
|
|
@@ -15450,18 +16007,166 @@ type ObservabilityProviderListEnvelope struct {
|
|
|
15450
16007
|
// ObservabilityProviderRuntimeMode defines model for ObservabilityProviderRuntimeMode.
|
|
15451
16008
|
type ObservabilityProviderRuntimeMode string
|
|
15452
16009
|
|
|
16010
|
+
// ObservabilityProviderRuntimeStatus defines model for ObservabilityProviderRuntimeStatus.
|
|
16011
|
+
type ObservabilityProviderRuntimeStatus string
|
|
16012
|
+
|
|
15453
16013
|
// ObservabilityProviderSignal defines model for ObservabilityProviderSignal.
|
|
15454
16014
|
type ObservabilityProviderSignal string
|
|
15455
16015
|
|
|
15456
16016
|
// ObservabilityProviderStatus defines model for ObservabilityProviderStatus.
|
|
15457
16017
|
type ObservabilityProviderStatus string
|
|
15458
16018
|
|
|
16019
|
+
// ObservabilityQueryError defines model for ObservabilityQueryError.
|
|
16020
|
+
type ObservabilityQueryError struct {
|
|
16021
|
+
Code string `json:"code"`
|
|
16022
|
+
Message string `json:"message"`
|
|
16023
|
+
Retryable bool `json:"retryable,omitempty"`
|
|
16024
|
+
SourceID string `json:"sourceId,omitempty"`
|
|
16025
|
+
}
|
|
16026
|
+
|
|
16027
|
+
// ObservabilityQueryLanguage defines model for ObservabilityQueryLanguage.
|
|
16028
|
+
type ObservabilityQueryLanguage string
|
|
16029
|
+
|
|
16030
|
+
// ObservabilityQueryResultMeta defines model for ObservabilityQueryResultMeta.
|
|
16031
|
+
type ObservabilityQueryResultMeta struct {
|
|
16032
|
+
DurationMs int64 `json:"durationMs,omitempty"`
|
|
16033
|
+
Errors []ObservabilityQueryError `json:"errors,omitempty"`
|
|
16034
|
+
ObservedAt *time.Time `json:"observedAt,omitempty"`
|
|
16035
|
+
ScopeRestricted bool `json:"scopeRestricted,omitempty"`
|
|
16036
|
+
Snapshot *ObservabilityQuerySnapshot `json:"snapshot,omitempty"`
|
|
16037
|
+
State ObservabilityQueryState `json:"state"`
|
|
16038
|
+
Warnings []string `json:"warnings,omitempty"`
|
|
16039
|
+
}
|
|
16040
|
+
|
|
15459
16041
|
// ObservabilityQueryScope defines model for ObservabilityQueryScope.
|
|
15460
16042
|
type ObservabilityQueryScope struct {
|
|
15461
|
-
ClusterID
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
16043
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
16044
|
+
Environment string `json:"environment,omitempty"`
|
|
16045
|
+
Namespace string `json:"namespace,omitempty"`
|
|
16046
|
+
Service string `json:"service,omitempty"`
|
|
16047
|
+
Workload string `json:"workload,omitempty"`
|
|
16048
|
+
WorkspaceID string `json:"workspaceId,omitempty"`
|
|
16049
|
+
}
|
|
16050
|
+
|
|
16051
|
+
// ObservabilityQuerySnapshot defines model for ObservabilityQuerySnapshot.
|
|
16052
|
+
type ObservabilityQuerySnapshot struct {
|
|
16053
|
+
BackendType string `json:"backendType,omitempty"`
|
|
16054
|
+
Context ObservabilityContext `json:"context"`
|
|
16055
|
+
CreatedAt *time.Time `json:"createdAt,omitempty"`
|
|
16056
|
+
DataSourceID string `json:"dataSourceId,omitempty"`
|
|
16057
|
+
MetricKey string `json:"metricKey,omitempty"`
|
|
16058
|
+
|
|
16059
|
+
// Query Provider-native query text. Soha does not translate arbitrary query languages.
|
|
16060
|
+
Query string `json:"query,omitempty"`
|
|
16061
|
+
QueryLanguage ObservabilityQueryLanguage `json:"queryLanguage,omitempty"`
|
|
16062
|
+
Signal ObservabilitySignal `json:"signal"`
|
|
16063
|
+
SpanID string `json:"spanId,omitempty"`
|
|
16064
|
+
TraceID string `json:"traceId,omitempty"`
|
|
16065
|
+
Version ObservabilityQuerySnapshotVersion `json:"version"`
|
|
16066
|
+
}
|
|
16067
|
+
|
|
16068
|
+
// ObservabilityQuerySnapshotVersion defines model for ObservabilityQuerySnapshot.Version.
|
|
16069
|
+
type ObservabilityQuerySnapshotVersion string
|
|
16070
|
+
|
|
16071
|
+
// ObservabilityQueryState defines model for ObservabilityQueryState.
|
|
16072
|
+
type ObservabilityQueryState string
|
|
16073
|
+
|
|
16074
|
+
// ObservabilityResourceIdentity defines model for ObservabilityResourceIdentity.
|
|
16075
|
+
type ObservabilityResourceIdentity struct {
|
|
16076
|
+
Kind string `json:"kind"`
|
|
16077
|
+
Name string `json:"name"`
|
|
16078
|
+
UID string `json:"uid,omitempty"`
|
|
16079
|
+
}
|
|
16080
|
+
|
|
16081
|
+
// ObservabilityService defines model for ObservabilityService.
|
|
16082
|
+
type ObservabilityService struct {
|
|
16083
|
+
ClusterIDs []string `json:"clusterIds"`
|
|
16084
|
+
DisplayName string `json:"displayName,omitempty"`
|
|
16085
|
+
Endpoints []ObservabilityServiceEndpoint `json:"endpoints"`
|
|
16086
|
+
Environment string `json:"environment,omitempty"`
|
|
16087
|
+
ErrorRate float64 `json:"errorRate,omitempty"`
|
|
16088
|
+
ID string `json:"id"`
|
|
16089
|
+
Instances []ObservabilityServiceInstance `json:"instances"`
|
|
16090
|
+
LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
|
|
16091
|
+
LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
|
|
16092
|
+
Name string `json:"name"`
|
|
16093
|
+
Namespace string `json:"namespace,omitempty"`
|
|
16094
|
+
RequestRate float64 `json:"requestRate,omitempty"`
|
|
16095
|
+
Status ObservabilityServiceStatus `json:"status"`
|
|
16096
|
+
}
|
|
16097
|
+
|
|
16098
|
+
// ObservabilityServiceEndpoint defines model for ObservabilityServiceEndpoint.
|
|
16099
|
+
type ObservabilityServiceEndpoint struct {
|
|
16100
|
+
ErrorRate float64 `json:"errorRate,omitempty"`
|
|
16101
|
+
ID string `json:"id"`
|
|
16102
|
+
LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
|
|
16103
|
+
Method string `json:"method,omitempty"`
|
|
16104
|
+
Name string `json:"name"`
|
|
16105
|
+
RequestRate float64 `json:"requestRate,omitempty"`
|
|
16106
|
+
Status ObservabilityServiceStatus `json:"status"`
|
|
16107
|
+
}
|
|
16108
|
+
|
|
16109
|
+
// ObservabilityServiceEnvelope defines model for ObservabilityServiceEnvelope.
|
|
16110
|
+
type ObservabilityServiceEnvelope struct {
|
|
16111
|
+
Data ObservabilityService `json:"data"`
|
|
16112
|
+
Meta ObservabilityQueryResultMeta `json:"meta"`
|
|
16113
|
+
}
|
|
16114
|
+
|
|
16115
|
+
// ObservabilityServiceInstance defines model for ObservabilityServiceInstance.
|
|
16116
|
+
type ObservabilityServiceInstance struct {
|
|
16117
|
+
ID string `json:"id"`
|
|
16118
|
+
LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
|
|
16119
|
+
Name string `json:"name"`
|
|
16120
|
+
Status ObservabilityServiceStatus `json:"status"`
|
|
16121
|
+
}
|
|
16122
|
+
|
|
16123
|
+
// ObservabilityServiceListEnvelope defines model for ObservabilityServiceListEnvelope.
|
|
16124
|
+
type ObservabilityServiceListEnvelope struct {
|
|
16125
|
+
Items []ObservabilityService `json:"items"`
|
|
16126
|
+
Meta ObservabilityQueryResultMeta `json:"meta"`
|
|
16127
|
+
}
|
|
16128
|
+
|
|
16129
|
+
// ObservabilityServiceStatus defines model for ObservabilityServiceStatus.
|
|
16130
|
+
type ObservabilityServiceStatus string
|
|
16131
|
+
|
|
16132
|
+
// ObservabilitySignal defines model for ObservabilitySignal.
|
|
16133
|
+
type ObservabilitySignal string
|
|
16134
|
+
|
|
16135
|
+
// ObservabilityTimeRange defines model for ObservabilityTimeRange.
|
|
16136
|
+
type ObservabilityTimeRange struct {
|
|
16137
|
+
From time.Time `json:"from"`
|
|
16138
|
+
Timezone string `json:"timezone,omitempty"`
|
|
16139
|
+
To time.Time `json:"to"`
|
|
16140
|
+
}
|
|
16141
|
+
|
|
16142
|
+
// ObservabilityTopology defines model for ObservabilityTopology.
|
|
16143
|
+
type ObservabilityTopology struct {
|
|
16144
|
+
Beta bool `json:"beta"`
|
|
16145
|
+
Edges []ObservabilityTopologyEdge `json:"edges"`
|
|
16146
|
+
Meta ObservabilityQueryResultMeta `json:"meta"`
|
|
16147
|
+
Nodes []ObservabilityTopologyNode `json:"nodes"`
|
|
16148
|
+
}
|
|
16149
|
+
|
|
16150
|
+
// ObservabilityTopologyEdge defines model for ObservabilityTopologyEdge.
|
|
16151
|
+
type ObservabilityTopologyEdge struct {
|
|
16152
|
+
ErrorRate float64 `json:"errorRate,omitempty"`
|
|
16153
|
+
LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
|
|
16154
|
+
RequestRate float64 `json:"requestRate,omitempty"`
|
|
16155
|
+
SourceServiceID string `json:"sourceServiceId"`
|
|
16156
|
+
Status ObservabilityServiceStatus `json:"status"`
|
|
16157
|
+
TargetServiceID string `json:"targetServiceId"`
|
|
16158
|
+
}
|
|
16159
|
+
|
|
16160
|
+
// ObservabilityTopologyEnvelope defines model for ObservabilityTopologyEnvelope.
|
|
16161
|
+
type ObservabilityTopologyEnvelope struct {
|
|
16162
|
+
Data ObservabilityTopology `json:"data"`
|
|
16163
|
+
}
|
|
16164
|
+
|
|
16165
|
+
// ObservabilityTopologyNode defines model for ObservabilityTopologyNode.
|
|
16166
|
+
type ObservabilityTopologyNode struct {
|
|
16167
|
+
Name string `json:"name"`
|
|
16168
|
+
ServiceID string `json:"serviceId"`
|
|
16169
|
+
Status ObservabilityServiceStatus `json:"status"`
|
|
15465
16170
|
}
|
|
15466
16171
|
|
|
15467
16172
|
// ObservabilityTraceQueryEnvelope defines model for ObservabilityTraceQueryEnvelope.
|
|
@@ -15484,6 +16189,7 @@ type ObservabilityTraceQueryInput struct {
|
|
|
15484
16189
|
type ObservabilityTraceQueryResult struct {
|
|
15485
16190
|
BackendType ObservabilityTraceQueryResultBackendType `json:"backendType"`
|
|
15486
16191
|
DataSourceID string `json:"dataSourceId"`
|
|
16192
|
+
Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
|
|
15487
16193
|
Services []string `json:"services"`
|
|
15488
16194
|
Spans []ObservabilityTraceSpan `json:"spans"`
|
|
15489
16195
|
Summary string `json:"summary"`
|
|
@@ -16859,6 +17565,71 @@ type SAMLResponseForm struct {
|
|
|
16859
17565
|
SAMLResponse string `json:"SAMLResponse,omitempty"`
|
|
16860
17566
|
}
|
|
16861
17567
|
|
|
17568
|
+
// ScopeGrant defines model for ScopeGrant.
|
|
17569
|
+
type ScopeGrant struct {
|
|
17570
|
+
ApplicationIDs []string `json:"applicationIds,omitempty"`
|
|
17571
|
+
|
|
17572
|
+
// BusinessLineID Required for legacy and delivery grants; empty for platform grants.
|
|
17573
|
+
BusinessLineID string `json:"businessLineId"`
|
|
17574
|
+
ClusterIDs []string `json:"clusterIds,omitempty"`
|
|
17575
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
17576
|
+
Effect ScopeGrantEffect `json:"effect"`
|
|
17577
|
+
Enabled bool `json:"enabled"`
|
|
17578
|
+
EnvironmentIDs []string `json:"environmentIds,omitempty"`
|
|
17579
|
+
ID string `json:"id"`
|
|
17580
|
+
NamespaceSelector string `json:"namespaceSelector,omitempty"`
|
|
17581
|
+
Namespaces []string `json:"namespaces,omitempty"`
|
|
17582
|
+
ResourceGroups []string `json:"resourceGroups,omitempty"`
|
|
17583
|
+
ResourceKinds []string `json:"resourceKinds,omitempty"`
|
|
17584
|
+
Role string `json:"role"`
|
|
17585
|
+
ScopeType ScopeGrantType `json:"scopeType"`
|
|
17586
|
+
SubjectID string `json:"subjectId"`
|
|
17587
|
+
SubjectType ScopeGrantSubjectType `json:"subjectType"`
|
|
17588
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
17589
|
+
}
|
|
17590
|
+
|
|
17591
|
+
// ScopeGrantEffect defines model for ScopeGrantEffect.
|
|
17592
|
+
type ScopeGrantEffect string
|
|
17593
|
+
|
|
17594
|
+
// ScopeGrantEnvelope defines model for ScopeGrantEnvelope.
|
|
17595
|
+
type ScopeGrantEnvelope struct {
|
|
17596
|
+
Data ScopeGrant `json:"data"`
|
|
17597
|
+
}
|
|
17598
|
+
|
|
17599
|
+
// ScopeGrantInput defines model for ScopeGrantInput.
|
|
17600
|
+
type ScopeGrantInput struct {
|
|
17601
|
+
ApplicationIDs []string `json:"applicationIds,omitempty"`
|
|
17602
|
+
|
|
17603
|
+
// BusinessLineID Required when scopeType is legacy or delivery.
|
|
17604
|
+
BusinessLineID string `json:"businessLineId,omitempty"`
|
|
17605
|
+
|
|
17606
|
+
// ClusterIDs Required when scopeType is platform.
|
|
17607
|
+
ClusterIDs []string `json:"clusterIds,omitempty"`
|
|
17608
|
+
Effect ScopeGrantEffect `json:"effect,omitempty"`
|
|
17609
|
+
Enabled bool `json:"enabled"`
|
|
17610
|
+
EnvironmentIDs []string `json:"environmentIds,omitempty"`
|
|
17611
|
+
ID string `json:"id,omitempty"`
|
|
17612
|
+
NamespaceSelector string `json:"namespaceSelector,omitempty"`
|
|
17613
|
+
Namespaces []string `json:"namespaces,omitempty"`
|
|
17614
|
+
ResourceGroups []string `json:"resourceGroups,omitempty"`
|
|
17615
|
+
ResourceKinds []string `json:"resourceKinds,omitempty"`
|
|
17616
|
+
Role string `json:"role"`
|
|
17617
|
+
ScopeType ScopeGrantType `json:"scopeType,omitempty"`
|
|
17618
|
+
SubjectID string `json:"subjectId"`
|
|
17619
|
+
SubjectType ScopeGrantSubjectType `json:"subjectType"`
|
|
17620
|
+
}
|
|
17621
|
+
|
|
17622
|
+
// ScopeGrantListEnvelope defines model for ScopeGrantListEnvelope.
|
|
17623
|
+
type ScopeGrantListEnvelope struct {
|
|
17624
|
+
Items []ScopeGrant `json:"items"`
|
|
17625
|
+
}
|
|
17626
|
+
|
|
17627
|
+
// ScopeGrantSubjectType defines model for ScopeGrantSubjectType.
|
|
17628
|
+
type ScopeGrantSubjectType string
|
|
17629
|
+
|
|
17630
|
+
// ScopeGrantType defines model for ScopeGrantType.
|
|
17631
|
+
type ScopeGrantType string
|
|
17632
|
+
|
|
16862
17633
|
// SecretBinding defines model for SecretBinding.
|
|
16863
17634
|
type SecretBinding struct {
|
|
16864
17635
|
TargetRef string `json:"targetRef"`
|
|
@@ -17415,6 +18186,7 @@ type UpdateBrandingSettingsRequest struct {
|
|
|
17415
18186
|
FaviconURL string `json:"faviconUrl"`
|
|
17416
18187
|
LoginLogoURL string `json:"loginLogoUrl"`
|
|
17417
18188
|
SidebarTitle string `json:"sidebarTitle"`
|
|
18189
|
+
Slogan string `json:"slogan,omitempty"`
|
|
17418
18190
|
}
|
|
17419
18191
|
|
|
17420
18192
|
// UpdateLoginProvidersSettingsRequest defines model for UpdateLoginProvidersSettingsRequest.
|
|
@@ -18593,6 +19365,9 @@ type ManifestPackageID = string
|
|
|
18593
19365
|
// ManifestSourceID defines model for ManifestSourceID.
|
|
18594
19366
|
type ManifestSourceID = string
|
|
18595
19367
|
|
|
19368
|
+
// MenuID defines model for MenuID.
|
|
19369
|
+
type MenuID = string
|
|
19370
|
+
|
|
18596
19371
|
// MultiAgentPlanID defines model for MultiAgentPlanID.
|
|
18597
19372
|
type MultiAgentPlanID = string
|
|
18598
19373
|
|
|
@@ -18608,6 +19383,27 @@ type OIDCCode = string
|
|
|
18608
19383
|
// OIDCState defines model for OIDCState.
|
|
18609
19384
|
type OIDCState = string
|
|
18610
19385
|
|
|
19386
|
+
// ObservabilityClusterIDQuery defines model for ObservabilityClusterIDQuery.
|
|
19387
|
+
type ObservabilityClusterIDQuery = string
|
|
19388
|
+
|
|
19389
|
+
// ObservabilityDataSourceIDQuery defines model for ObservabilityDataSourceIDQuery.
|
|
19390
|
+
type ObservabilityDataSourceIDQuery = string
|
|
19391
|
+
|
|
19392
|
+
// ObservabilityEnvironmentQuery defines model for ObservabilityEnvironmentQuery.
|
|
19393
|
+
type ObservabilityEnvironmentQuery = string
|
|
19394
|
+
|
|
19395
|
+
// ObservabilityNamespaceQuery defines model for ObservabilityNamespaceQuery.
|
|
19396
|
+
type ObservabilityNamespaceQuery = string
|
|
19397
|
+
|
|
19398
|
+
// ObservabilityServiceQuery defines model for ObservabilityServiceQuery.
|
|
19399
|
+
type ObservabilityServiceQuery = string
|
|
19400
|
+
|
|
19401
|
+
// ObservabilityTimeFromQuery defines model for ObservabilityTimeFromQuery.
|
|
19402
|
+
type ObservabilityTimeFromQuery = time.Time
|
|
19403
|
+
|
|
19404
|
+
// ObservabilityTimeToQuery defines model for ObservabilityTimeToQuery.
|
|
19405
|
+
type ObservabilityTimeToQuery = time.Time
|
|
19406
|
+
|
|
18611
19407
|
// OpenAICompatibleProvider defines model for OpenAICompatibleProvider.
|
|
18612
19408
|
type OpenAICompatibleProvider string
|
|
18613
19409
|
|
|
@@ -18647,6 +19443,9 @@ type SAMLLoginSourceID = string
|
|
|
18647
19443
|
// SAMLRequest defines model for SAMLRequest.
|
|
18648
19444
|
type SAMLRequest = string
|
|
18649
19445
|
|
|
19446
|
+
// ScopeGrantID defines model for ScopeGrantID.
|
|
19447
|
+
type ScopeGrantID = string
|
|
19448
|
+
|
|
18650
19449
|
// SecretID defines model for SecretID.
|
|
18651
19450
|
type SecretID = string
|
|
18652
19451
|
|
|
@@ -20049,6 +20848,42 @@ type ListGitLabTagsParams struct {
|
|
|
20049
20848
|
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
20050
20849
|
}
|
|
20051
20850
|
|
|
20851
|
+
// ListObservabilityMetricCatalogParams defines parameters for ListObservabilityMetricCatalog.
|
|
20852
|
+
type ListObservabilityMetricCatalogParams struct {
|
|
20853
|
+
DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
|
|
20854
|
+
}
|
|
20855
|
+
|
|
20856
|
+
// ListObservabilityServicesParams defines parameters for ListObservabilityServices.
|
|
20857
|
+
type ListObservabilityServicesParams struct {
|
|
20858
|
+
DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
|
|
20859
|
+
ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
20860
|
+
Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
|
|
20861
|
+
Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
20862
|
+
Service ObservabilityServiceQuery `form:"service,omitempty" json:"service,omitempty"`
|
|
20863
|
+
TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
|
|
20864
|
+
TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
|
|
20865
|
+
}
|
|
20866
|
+
|
|
20867
|
+
// GetObservabilityServiceParams defines parameters for GetObservabilityService.
|
|
20868
|
+
type GetObservabilityServiceParams struct {
|
|
20869
|
+
DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
|
|
20870
|
+
ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
20871
|
+
Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
|
|
20872
|
+
Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
20873
|
+
TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
|
|
20874
|
+
TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
|
|
20875
|
+
}
|
|
20876
|
+
|
|
20877
|
+
// GetObservabilityServiceTopologyParams defines parameters for GetObservabilityServiceTopology.
|
|
20878
|
+
type GetObservabilityServiceTopologyParams struct {
|
|
20879
|
+
DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
|
|
20880
|
+
ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
20881
|
+
Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
|
|
20882
|
+
Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
20883
|
+
TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
|
|
20884
|
+
TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
|
|
20885
|
+
}
|
|
20886
|
+
|
|
20052
20887
|
// ListPlatformOperationLogsParams defines parameters for ListPlatformOperationLogs.
|
|
20053
20888
|
type ListPlatformOperationLogsParams struct {
|
|
20054
20889
|
OperationType string `form:"operationType,omitempty" json:"operationType,omitempty"`
|
|
@@ -20316,6 +21151,12 @@ type CreateAccessRoleJSONRequestBody = AccessRoleInput
|
|
|
20316
21151
|
// UpdateAccessRoleJSONRequestBody defines body for UpdateAccessRole for application/json ContentType.
|
|
20317
21152
|
type UpdateAccessRoleJSONRequestBody = AccessRoleInput
|
|
20318
21153
|
|
|
21154
|
+
// CreateScopeGrantJSONRequestBody defines body for CreateScopeGrant for application/json ContentType.
|
|
21155
|
+
type CreateScopeGrantJSONRequestBody = ScopeGrantInput
|
|
21156
|
+
|
|
21157
|
+
// UpdateScopeGrantJSONRequestBody defines body for UpdateScopeGrant for application/json ContentType.
|
|
21158
|
+
type UpdateScopeGrantJSONRequestBody = ScopeGrantInput
|
|
21159
|
+
|
|
20319
21160
|
// DecideAIGatewayApprovalRequestJSONRequestBody defines body for DecideAIGatewayApprovalRequest for application/json ContentType.
|
|
20320
21161
|
type DecideAIGatewayApprovalRequestJSONRequestBody = ApprovalDecisionInput
|
|
20321
21162
|
|
|
@@ -20763,6 +21604,12 @@ type CreateIdentityProviderJSONRequestBody = IdentityProviderInput
|
|
|
20763
21604
|
// UpdateIdentityProviderJSONRequestBody defines body for UpdateIdentityProvider for application/json ContentType.
|
|
20764
21605
|
type UpdateIdentityProviderJSONRequestBody = IdentityProviderInput
|
|
20765
21606
|
|
|
21607
|
+
// CreateIdentityProviderOIDCClientJSONRequestBody defines body for CreateIdentityProviderOIDCClient for application/json ContentType.
|
|
21608
|
+
type CreateIdentityProviderOIDCClientJSONRequestBody = OIDCClientInput
|
|
21609
|
+
|
|
21610
|
+
// RotateIdentityProviderSAMLCertificateJSONRequestBody defines body for RotateIdentityProviderSAMLCertificate for application/json ContentType.
|
|
21611
|
+
type RotateIdentityProviderSAMLCertificateJSONRequestBody = SAMLCertificateRotateRequest
|
|
21612
|
+
|
|
20766
21613
|
// RotateSAMLCertificateJSONRequestBody defines body for RotateSAMLCertificate for application/json ContentType.
|
|
20767
21614
|
type RotateSAMLCertificateJSONRequestBody = SAMLCertificateRotateRequest
|
|
20768
21615
|
|
|
@@ -20781,6 +21628,12 @@ type ValidateSAMLMetadataJSONRequestBody = SAMLMetadataInput
|
|
|
20781
21628
|
// AdminResetUserMFAJSONRequestBody defines body for AdminResetUserMFA for application/json ContentType.
|
|
20782
21629
|
type AdminResetUserMFAJSONRequestBody = MFAAdminResetRequest
|
|
20783
21630
|
|
|
21631
|
+
// CreateMenuJSONRequestBody defines body for CreateMenu for application/json ContentType.
|
|
21632
|
+
type CreateMenuJSONRequestBody = MenuInput
|
|
21633
|
+
|
|
21634
|
+
// UpdateMenuJSONRequestBody defines body for UpdateMenu for application/json ContentType.
|
|
21635
|
+
type UpdateMenuJSONRequestBody = MenuInput
|
|
21636
|
+
|
|
20784
21637
|
// ImportGrafanaDashboardJSONRequestBody defines body for ImportGrafanaDashboard for application/json ContentType.
|
|
20785
21638
|
type ImportGrafanaDashboardJSONRequestBody = ObservabilityGrafanaDashboardImportInput
|
|
20786
21639
|
|
|
@@ -26999,3 +27852,15 @@ func (t *ListVirtualMachines200JSONResponseBody) UnmarshalJSON(b []byte) error {
|
|
|
26999
27852
|
err := t.union.UnmarshalJSON(b)
|
|
27000
27853
|
return err
|
|
27001
27854
|
}
|
|
27855
|
+
|
|
27856
|
+
// Deprecated: use the SAMLAttributeMappingTarget-prefixed constants in new code.
|
|
27857
|
+
const (
|
|
27858
|
+
Subject SAMLAttributeMappingTarget = SAMLAttributeMappingTargetSubject
|
|
27859
|
+
Username SAMLAttributeMappingTarget = SAMLAttributeMappingTargetUsername
|
|
27860
|
+
Email SAMLAttributeMappingTarget = SAMLAttributeMappingTargetEmail
|
|
27861
|
+
DisplayName SAMLAttributeMappingTarget = SAMLAttributeMappingTargetDisplayName
|
|
27862
|
+
Role SAMLAttributeMappingTarget = SAMLAttributeMappingTargetRole
|
|
27863
|
+
Organization SAMLAttributeMappingTarget = SAMLAttributeMappingTargetOrganization
|
|
27864
|
+
Team SAMLAttributeMappingTarget = SAMLAttributeMappingTargetTeam
|
|
27865
|
+
Project SAMLAttributeMappingTarget = SAMLAttributeMappingTargetProject
|
|
27866
|
+
)
|