Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 025c2d3

Browse files
committedMar 13, 2025
feat(api): api update (#3987)
1 parent 7fb2ffe commit 025c2d3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1574
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bca3aa8c52450439fcc073444cafa31da8488af9c8a793d0cff39f55f49a3f0d.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a5e514fa3181f9885aaa76277fa6dee0c9607c1ece947e1542601dee833581f2.yml

‎magic_transit/connectorsnapshot.go

+7
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ type ConnectorSnapshotGetResponse struct {
164164
// Time spent in user mode (milliseconds)
165165
CPUTimeUserMs float64 `json:"cpu_time_user_ms"`
166166
Disks []ConnectorSnapshotGetResponseDisk `json:"disks"`
167+
// Name of high availability state
168+
HaState string `json:"ha_state"`
169+
// Numeric value associated with high availability state (0 = unknown, 1 = active,
170+
// 2 = standby, 3 = disabled, 4 = fault)
171+
HaValue float64 `json:"ha_value"`
167172
// Percentage of time over a 10 second window that all tasks were stalled
168173
IoPressureFull10s float64 `json:"io_pressure_full_10s"`
169174
// Percentage of time over a 5 minute window that all tasks were stalled
@@ -480,6 +485,8 @@ type connectorSnapshotGetResponseJSON struct {
480485
CPUTimeSystemMs apijson.Field
481486
CPUTimeUserMs apijson.Field
482487
Disks apijson.Field
488+
HaState apijson.Field
489+
HaValue apijson.Field
483490
IoPressureFull10s apijson.Field
484491
IoPressureFull300s apijson.Field
485492
IoPressureFull60s apijson.Field

0 commit comments

Comments
 (0)
Please sign in to comment.