@opensoha/contracts 0.1.16 → 0.1.17
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/COMPATIBILITY.md +46 -0
- package/README.md +12 -3
- package/auth/catalog_generated.go +2 -2
- package/auth/catalog_test.go +32 -0
- package/auth/permission-catalog.json +529 -1
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/fixtures/json-schema/network-ingest-event/invalid/duplicate-event.json +33 -0
- package/fixtures/json-schema/network-ingest-event/invalid/message-payload-mismatch.json +23 -0
- package/fixtures/json-schema/network-ingest-event/invalid/password.json +22 -0
- package/fixtures/json-schema/network-ingest-event/invalid/proxy-flow-destination.json +28 -0
- package/fixtures/json-schema/network-ingest-event/valid/endpoint-proxy-flow.json +27 -0
- package/fixtures/json-schema/network-ingest-event/valid/freeradius-accounting.json +25 -0
- package/fixtures/json-schema/network-ingest-event/valid/gateway.json +53 -0
- package/fixtures/json-schema/network-radius-accounting/invalid/password.json +9 -0
- package/fixtures/json-schema/network-radius-accounting/valid/accounting.json +16 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/invalid-cidr.json +31 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/message-payload-mismatch.json +19 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/mihomo-raw-subscription.json +33 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/nas-authorization-password.json +18 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/nas-eap-without-certificate.json +17 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/private-key.json +20 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/raw-credential-reference.json +16 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/runtime-interval-too-short.json +23 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/wireguard-capability-without-key.json +19 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/wireguard-default-route.json +31 -0
- package/fixtures/json-schema/network-runtime-protocol/invalid/ztna-without-access-grant.json +17 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/configuration-desired.json +86 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/direct-ztna-connect.json +19 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/direct-ztna-result.json +33 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/internal-ztna-connect.json +19 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/mihomo-app-subscription-configuration.json +32 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/mihomo-manual-node-configuration.json +32 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/mihomo-wireguard-configuration.json +70 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/nas-authorization-request.json +19 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/nas-authorization-result.json +24 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/nas-session-command-result.json +17 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/nas-session-command.json +27 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/vpn-connect-request.json +17 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/vpn-connect-result.json +34 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/wireguard-enrollment.json +20 -0
- package/fixtures/json-schema/network-runtime-protocol/valid/wireguard-site-link.json +48 -0
- package/fixtures/openapi/AnnouncementReceiptPageEnvelope/invalid/missing-read-count.json +9 -0
- package/fixtures/openapi/AnnouncementReceiptPageEnvelope/valid/read-and-unread.json +28 -0
- package/fixtures/openapi/EndpointDevice/invalid/missing-owner.json +8 -0
- package/fixtures/openapi/EndpointDevice/valid/active.json +35 -0
- package/fixtures/openapi/EndpointDeviceRegistrationInput/invalid/client-owned-status.json +5 -0
- package/fixtures/openapi/EndpointDeviceRegistrationInput/invalid/oversized-network-inventory.json +18 -0
- package/fixtures/openapi/EndpointDeviceRegistrationInput/valid/macos.json +28 -0
- package/fixtures/openapi/LLMUpstreamTestResultEnvelope/invalid/models-not-array.json +9 -0
- package/fixtures/openapi/LLMUpstreamTestResultEnvelope/valid/discovered-models.json +11 -0
- package/fixtures/openapi/NetworkAccessGrant/invalid/token-digest.json +15 -0
- package/fixtures/openapi/NetworkAccessGrant/valid/issued.json +14 -0
- package/fixtures/openapi/NetworkAccessGrantInput/invalid/no-resources.json +7 -0
- package/fixtures/openapi/NetworkAccessGrantInput/valid/direct-ztna.json +8 -0
- package/fixtures/openapi/NetworkAccessGrantSecret/invalid/short-token.json +17 -0
- package/fixtures/openapi/NetworkAccessGrantSecret/valid/issued.json +17 -0
- package/fixtures/openapi/NetworkAccessPolicy/invalid/missing-version.json +20 -0
- package/fixtures/openapi/NetworkAccessPolicy/valid/published-draft.json +21 -0
- package/fixtures/openapi/NetworkAccessPolicyInput/invalid/duplicate-team.json +17 -0
- package/fixtures/openapi/NetworkAccessPolicyInput/valid/team-and-tag-allow.json +17 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/invalid/ipv6-range.json +9 -0
- package/fixtures/openapi/NetworkConflictAnalysisRequest/valid/runtime-ranges.json +15 -0
- package/fixtures/openapi/NetworkConnectionOption/invalid/secret.json +10 -0
- package/fixtures/openapi/NetworkConnectionOption/valid/wifi.json +9 -0
- package/fixtures/openapi/NetworkConnectionOption/valid/wired.json +8 -0
- package/fixtures/openapi/NetworkGateway/invalid/missing-site.json +7 -0
- package/fixtures/openapi/NetworkGateway/valid/online.json +23 -0
- package/fixtures/openapi/NetworkGatewayInput/invalid/default-route-overlay.json +13 -0
- package/fixtures/openapi/NetworkGatewayInput/valid/routed.json +14 -0
- package/fixtures/openapi/NetworkLease/invalid/empty-cidrs.json +12 -0
- package/fixtures/openapi/NetworkLease/valid/active.json +12 -0
- package/fixtures/openapi/NetworkMihomoProfile/invalid/subscription-leak.json +20 -0
- package/fixtures/openapi/NetworkMihomoProfile/valid/managed.json +21 -0
- package/fixtures/openapi/NetworkMihomoProfileInput/invalid/app-subscription-secret.json +14 -0
- package/fixtures/openapi/NetworkMihomoProfileInput/invalid/manual-node-with-subscription.json +20 -0
- package/fixtures/openapi/NetworkMihomoProfileInput/valid/app-subscription.json +14 -0
- package/fixtures/openapi/NetworkMihomoProfileInput/valid/managed.json +16 -0
- package/fixtures/openapi/NetworkMihomoProfileInput/valid/manual-node.json +21 -0
- package/fixtures/openapi/NetworkNASBinding/invalid/secret.json +13 -0
- package/fixtures/openapi/NetworkNASBinding/valid/default.json +16 -0
- package/fixtures/openapi/NetworkNASBindingInput/invalid/secret.json +10 -0
- package/fixtures/openapi/NetworkNASBindingInput/valid/default.json +13 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/invalid/unknown-mode.json +6 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/valid/external-direct-ztna.json +6 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/valid/external-vpn-ztna.json +6 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/valid/external-vpn.json +6 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/valid/internal-direct.json +7 -0
- package/fixtures/openapi/NetworkPolicyPreviewRequest/valid/internal-ztna.json +7 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/invalid/bypass-path.json +9 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/onboarding.json +10 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/protected-broad-path-denied.json +9 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/protected-resource.json +9 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/quarantine.json +10 -0
- package/fixtures/openapi/NetworkPolicyPreviewResult/valid/restricted.json +10 -0
- package/fixtures/openapi/NetworkPolicySnapshot/invalid/zero-version.json +7 -0
- package/fixtures/openapi/NetworkPolicySnapshot/valid/published.json +7 -0
- package/fixtures/openapi/NetworkResourceInput/invalid/invalid-port.json +10 -0
- package/fixtures/openapi/NetworkResourceInput/valid/protected-cidr.json +10 -0
- package/fixtures/openapi/NetworkRuntimeEnrollmentInput/invalid/excessive-ttl.json +7 -0
- package/fixtures/openapi/NetworkRuntimeEnrollmentInput/valid/endpoint.json +7 -0
- package/fixtures/openapi/NetworkRuntimeEnrollmentSecret/invalid/short-token.json +15 -0
- package/fixtures/openapi/NetworkRuntimeEnrollmentSecret/valid/pending.json +15 -0
- package/fixtures/openapi/NetworkSession/invalid/unknown-status.json +14 -0
- package/fixtures/openapi/NetworkSession/valid/restricted-vpn-ztna.json +16 -0
- package/fixtures/openapi/NetworkSessionActionExecuteInput/invalid/short-hash.json +6 -0
- package/fixtures/openapi/NetworkSessionActionExecuteInput/valid/restrict.json +6 -0
- package/fixtures/openapi/NetworkSessionActionInput/invalid/unknown-action.json +5 -0
- package/fixtures/openapi/NetworkSessionActionInput/valid/restrict.json +5 -0
- package/fixtures/openapi/NetworkSessionActionPlan/invalid/missing-hash.json +12 -0
- package/fixtures/openapi/NetworkSessionActionPlan/valid/fallback-disconnect.json +13 -0
- package/fixtures/openapi/NetworkSessionCommand/invalid/unknown-status.json +14 -0
- package/fixtures/openapi/NetworkSessionCommand/valid/pending.json +14 -0
- package/fixtures/openapi/NetworkSiteInput/invalid/unknown-status.json +4 -0
- package/fixtures/openapi/NetworkSiteInput/valid/shanghai.json +5 -0
- package/fixtures/openapi/NetworkSiteProfileBinding/invalid/vlan.json +9 -0
- package/fixtures/openapi/NetworkSiteProfileBinding/valid/default.json +10 -0
- package/fixtures/openapi/NetworkSiteProfileBindingInput/invalid/timeout.json +7 -0
- package/fixtures/openapi/NetworkSiteProfileBindingInput/valid/default.json +7 -0
- package/fixtures/openapi/NetworkSpaceInput/invalid/empty-cidrs.json +6 -0
- package/fixtures/openapi/NetworkSpaceInput/invalid/malformed-cidr.json +6 -0
- package/fixtures/openapi/NetworkSpaceInput/valid/corp.json +6 -0
- package/fixtures/openapi/NetworkTelemetrySummary/invalid/raw-destination.json +29 -0
- package/fixtures/openapi/NetworkTelemetrySummary/valid/proxy-flow.json +36 -0
- package/fixtures/openapi/ResourceLease/invalid/missing-session.json +10 -0
- package/fixtures/openapi/ResourceLease/valid/active.json +11 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/types.go +2042 -58
- package/gen/ts/sohaapi/index.ts +3160 -0
- package/network/README.md +116 -0
- package/network/network-ingest-event.schema.json +187 -0
- package/network/network-radius-accounting.schema.json +41 -0
- package/network/network-runtime-protocol.schema.json +752 -0
- package/network/schema.go +26 -0
- package/network/schema_test.go +22 -0
- package/openapi/soha-api.json +27021 -19780
- package/openapi/soha-api.yaml +11422 -8749
- package/openapi/spec_generated.go +3 -3
- package/package.json +5 -1
package/gen/go/sohaapi/types.go
CHANGED
|
@@ -532,6 +532,27 @@ func (e AlertRuleType) Valid() bool {
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
+
// Defines values for AnnouncementReceiptState.
|
|
536
|
+
const (
|
|
537
|
+
All AnnouncementReceiptState = "all"
|
|
538
|
+
Read AnnouncementReceiptState = "read"
|
|
539
|
+
Unread AnnouncementReceiptState = "unread"
|
|
540
|
+
)
|
|
541
|
+
|
|
542
|
+
// Valid indicates whether the value is a known member of the AnnouncementReceiptState enum.
|
|
543
|
+
func (e AnnouncementReceiptState) Valid() bool {
|
|
544
|
+
switch e {
|
|
545
|
+
case All:
|
|
546
|
+
return true
|
|
547
|
+
case Read:
|
|
548
|
+
return true
|
|
549
|
+
case Unread:
|
|
550
|
+
return true
|
|
551
|
+
default:
|
|
552
|
+
return false
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
535
556
|
// Defines values for ApplicationDeliveryActionKind.
|
|
536
557
|
const (
|
|
537
558
|
ApplicationDeliveryActionKindBuild ApplicationDeliveryActionKind = "build"
|
|
@@ -1900,6 +1921,153 @@ func (e DockerProjectDeployInputAction) Valid() bool {
|
|
|
1900
1921
|
}
|
|
1901
1922
|
}
|
|
1902
1923
|
|
|
1924
|
+
// Defines values for EndpointDeviceOwnershipType.
|
|
1925
|
+
const (
|
|
1926
|
+
EndpointDeviceOwnershipTypeCompany EndpointDeviceOwnershipType = "company"
|
|
1927
|
+
EndpointDeviceOwnershipTypePersonal EndpointDeviceOwnershipType = "personal"
|
|
1928
|
+
EndpointDeviceOwnershipTypeTemporary EndpointDeviceOwnershipType = "temporary"
|
|
1929
|
+
EndpointDeviceOwnershipTypeUnassigned EndpointDeviceOwnershipType = "unassigned"
|
|
1930
|
+
)
|
|
1931
|
+
|
|
1932
|
+
// Valid indicates whether the value is a known member of the EndpointDeviceOwnershipType enum.
|
|
1933
|
+
func (e EndpointDeviceOwnershipType) Valid() bool {
|
|
1934
|
+
switch e {
|
|
1935
|
+
case EndpointDeviceOwnershipTypeCompany:
|
|
1936
|
+
return true
|
|
1937
|
+
case EndpointDeviceOwnershipTypePersonal:
|
|
1938
|
+
return true
|
|
1939
|
+
case EndpointDeviceOwnershipTypeTemporary:
|
|
1940
|
+
return true
|
|
1941
|
+
case EndpointDeviceOwnershipTypeUnassigned:
|
|
1942
|
+
return true
|
|
1943
|
+
default:
|
|
1944
|
+
return false
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
// Defines values for EndpointDevicePostureStatus.
|
|
1949
|
+
const (
|
|
1950
|
+
EndpointDevicePostureStatusCompliant EndpointDevicePostureStatus = "compliant"
|
|
1951
|
+
EndpointDevicePostureStatusNonCompliant EndpointDevicePostureStatus = "non_compliant"
|
|
1952
|
+
EndpointDevicePostureStatusUnknown EndpointDevicePostureStatus = "unknown"
|
|
1953
|
+
)
|
|
1954
|
+
|
|
1955
|
+
// Valid indicates whether the value is a known member of the EndpointDevicePostureStatus enum.
|
|
1956
|
+
func (e EndpointDevicePostureStatus) Valid() bool {
|
|
1957
|
+
switch e {
|
|
1958
|
+
case EndpointDevicePostureStatusCompliant:
|
|
1959
|
+
return true
|
|
1960
|
+
case EndpointDevicePostureStatusNonCompliant:
|
|
1961
|
+
return true
|
|
1962
|
+
case EndpointDevicePostureStatusUnknown:
|
|
1963
|
+
return true
|
|
1964
|
+
default:
|
|
1965
|
+
return false
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
// Defines values for EndpointDeviceStatus.
|
|
1970
|
+
const (
|
|
1971
|
+
EndpointDeviceStatusActive EndpointDeviceStatus = "active"
|
|
1972
|
+
EndpointDeviceStatusPending EndpointDeviceStatus = "pending"
|
|
1973
|
+
EndpointDeviceStatusQuarantined EndpointDeviceStatus = "quarantined"
|
|
1974
|
+
EndpointDeviceStatusRevoked EndpointDeviceStatus = "revoked"
|
|
1975
|
+
)
|
|
1976
|
+
|
|
1977
|
+
// Valid indicates whether the value is a known member of the EndpointDeviceStatus enum.
|
|
1978
|
+
func (e EndpointDeviceStatus) Valid() bool {
|
|
1979
|
+
switch e {
|
|
1980
|
+
case EndpointDeviceStatusActive:
|
|
1981
|
+
return true
|
|
1982
|
+
case EndpointDeviceStatusPending:
|
|
1983
|
+
return true
|
|
1984
|
+
case EndpointDeviceStatusQuarantined:
|
|
1985
|
+
return true
|
|
1986
|
+
case EndpointDeviceStatusRevoked:
|
|
1987
|
+
return true
|
|
1988
|
+
default:
|
|
1989
|
+
return false
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
// Defines values for EndpointDeviceType.
|
|
1994
|
+
const (
|
|
1995
|
+
EndpointDeviceTypeDesktop EndpointDeviceType = "desktop"
|
|
1996
|
+
EndpointDeviceTypeLaptop EndpointDeviceType = "laptop"
|
|
1997
|
+
EndpointDeviceTypeMobile EndpointDeviceType = "mobile"
|
|
1998
|
+
EndpointDeviceTypeServer EndpointDeviceType = "server"
|
|
1999
|
+
EndpointDeviceTypeTablet EndpointDeviceType = "tablet"
|
|
2000
|
+
EndpointDeviceTypeUnknown EndpointDeviceType = "unknown"
|
|
2001
|
+
EndpointDeviceTypeVirtual EndpointDeviceType = "virtual"
|
|
2002
|
+
)
|
|
2003
|
+
|
|
2004
|
+
// Valid indicates whether the value is a known member of the EndpointDeviceType enum.
|
|
2005
|
+
func (e EndpointDeviceType) Valid() bool {
|
|
2006
|
+
switch e {
|
|
2007
|
+
case EndpointDeviceTypeDesktop:
|
|
2008
|
+
return true
|
|
2009
|
+
case EndpointDeviceTypeLaptop:
|
|
2010
|
+
return true
|
|
2011
|
+
case EndpointDeviceTypeMobile:
|
|
2012
|
+
return true
|
|
2013
|
+
case EndpointDeviceTypeServer:
|
|
2014
|
+
return true
|
|
2015
|
+
case EndpointDeviceTypeTablet:
|
|
2016
|
+
return true
|
|
2017
|
+
case EndpointDeviceTypeUnknown:
|
|
2018
|
+
return true
|
|
2019
|
+
case EndpointDeviceTypeVirtual:
|
|
2020
|
+
return true
|
|
2021
|
+
default:
|
|
2022
|
+
return false
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
// Defines values for EndpointNetworkInterfaceKind.
|
|
2027
|
+
const (
|
|
2028
|
+
EndpointNetworkInterfaceKindLoopback EndpointNetworkInterfaceKind = "loopback"
|
|
2029
|
+
EndpointNetworkInterfaceKindPhysical EndpointNetworkInterfaceKind = "physical"
|
|
2030
|
+
EndpointNetworkInterfaceKindUnknown EndpointNetworkInterfaceKind = "unknown"
|
|
2031
|
+
EndpointNetworkInterfaceKindVirtual EndpointNetworkInterfaceKind = "virtual"
|
|
2032
|
+
)
|
|
2033
|
+
|
|
2034
|
+
// Valid indicates whether the value is a known member of the EndpointNetworkInterfaceKind enum.
|
|
2035
|
+
func (e EndpointNetworkInterfaceKind) Valid() bool {
|
|
2036
|
+
switch e {
|
|
2037
|
+
case EndpointNetworkInterfaceKindLoopback:
|
|
2038
|
+
return true
|
|
2039
|
+
case EndpointNetworkInterfaceKindPhysical:
|
|
2040
|
+
return true
|
|
2041
|
+
case EndpointNetworkInterfaceKindUnknown:
|
|
2042
|
+
return true
|
|
2043
|
+
case EndpointNetworkInterfaceKindVirtual:
|
|
2044
|
+
return true
|
|
2045
|
+
default:
|
|
2046
|
+
return false
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
// Defines values for EndpointNetworkInterfaceStatus.
|
|
2051
|
+
const (
|
|
2052
|
+
EndpointNetworkInterfaceStatusDown EndpointNetworkInterfaceStatus = "down"
|
|
2053
|
+
EndpointNetworkInterfaceStatusUnknown EndpointNetworkInterfaceStatus = "unknown"
|
|
2054
|
+
EndpointNetworkInterfaceStatusUp EndpointNetworkInterfaceStatus = "up"
|
|
2055
|
+
)
|
|
2056
|
+
|
|
2057
|
+
// Valid indicates whether the value is a known member of the EndpointNetworkInterfaceStatus enum.
|
|
2058
|
+
func (e EndpointNetworkInterfaceStatus) Valid() bool {
|
|
2059
|
+
switch e {
|
|
2060
|
+
case EndpointNetworkInterfaceStatusDown:
|
|
2061
|
+
return true
|
|
2062
|
+
case EndpointNetworkInterfaceStatusUnknown:
|
|
2063
|
+
return true
|
|
2064
|
+
case EndpointNetworkInterfaceStatusUp:
|
|
2065
|
+
return true
|
|
2066
|
+
default:
|
|
2067
|
+
return false
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
1903
2071
|
// Defines values for EvaluationExecutorProfileIsolationMode.
|
|
1904
2072
|
const (
|
|
1905
2073
|
EvaluationExecutorProfileIsolationModeDisposableWrite EvaluationExecutorProfileIsolationMode = "disposable-write"
|
|
@@ -4422,112 +4590,832 @@ const (
|
|
|
4422
4590
|
ManifestTaskActionSync ManifestTaskAction = "sync"
|
|
4423
4591
|
)
|
|
4424
4592
|
|
|
4425
|
-
// Valid indicates whether the value is a known member of the ManifestTaskAction enum.
|
|
4426
|
-
func (e ManifestTaskAction) Valid() bool {
|
|
4593
|
+
// Valid indicates whether the value is a known member of the ManifestTaskAction enum.
|
|
4594
|
+
func (e ManifestTaskAction) Valid() bool {
|
|
4595
|
+
switch e {
|
|
4596
|
+
case ManifestTaskActionAdopt:
|
|
4597
|
+
return true
|
|
4598
|
+
case ManifestTaskActionApply:
|
|
4599
|
+
return true
|
|
4600
|
+
case ManifestTaskActionObserve:
|
|
4601
|
+
return true
|
|
4602
|
+
case ManifestTaskActionPreflight:
|
|
4603
|
+
return true
|
|
4604
|
+
case ManifestTaskActionRepair:
|
|
4605
|
+
return true
|
|
4606
|
+
case ManifestTaskActionRollback:
|
|
4607
|
+
return true
|
|
4608
|
+
case ManifestTaskActionSync:
|
|
4609
|
+
return true
|
|
4610
|
+
default:
|
|
4611
|
+
return false
|
|
4612
|
+
}
|
|
4613
|
+
}
|
|
4614
|
+
|
|
4615
|
+
// Defines values for ManifestValidationStage.
|
|
4616
|
+
const (
|
|
4617
|
+
ManifestValidationStageApply ManifestValidationStage = "apply"
|
|
4618
|
+
ManifestValidationStageDrift ManifestValidationStage = "drift"
|
|
4619
|
+
ManifestValidationStageDryRun ManifestValidationStage = "dry_run"
|
|
4620
|
+
ManifestValidationStageObserve ManifestValidationStage = "observe"
|
|
4621
|
+
ManifestValidationStagePolicy ManifestValidationStage = "policy"
|
|
4622
|
+
ManifestValidationStageRender ManifestValidationStage = "render"
|
|
4623
|
+
ManifestValidationStageSchema ManifestValidationStage = "schema"
|
|
4624
|
+
ManifestValidationStageScope ManifestValidationStage = "scope"
|
|
4625
|
+
ManifestValidationStageSecretRef ManifestValidationStage = "secret_ref"
|
|
4626
|
+
ManifestValidationStageSyntax ManifestValidationStage = "syntax"
|
|
4627
|
+
)
|
|
4628
|
+
|
|
4629
|
+
// Valid indicates whether the value is a known member of the ManifestValidationStage enum.
|
|
4630
|
+
func (e ManifestValidationStage) Valid() bool {
|
|
4631
|
+
switch e {
|
|
4632
|
+
case ManifestValidationStageApply:
|
|
4633
|
+
return true
|
|
4634
|
+
case ManifestValidationStageDrift:
|
|
4635
|
+
return true
|
|
4636
|
+
case ManifestValidationStageDryRun:
|
|
4637
|
+
return true
|
|
4638
|
+
case ManifestValidationStageObserve:
|
|
4639
|
+
return true
|
|
4640
|
+
case ManifestValidationStagePolicy:
|
|
4641
|
+
return true
|
|
4642
|
+
case ManifestValidationStageRender:
|
|
4643
|
+
return true
|
|
4644
|
+
case ManifestValidationStageSchema:
|
|
4645
|
+
return true
|
|
4646
|
+
case ManifestValidationStageScope:
|
|
4647
|
+
return true
|
|
4648
|
+
case ManifestValidationStageSecretRef:
|
|
4649
|
+
return true
|
|
4650
|
+
case ManifestValidationStageSyntax:
|
|
4651
|
+
return true
|
|
4652
|
+
default:
|
|
4653
|
+
return false
|
|
4654
|
+
}
|
|
4655
|
+
}
|
|
4656
|
+
|
|
4657
|
+
// Defines values for MarketplaceAdvisorySeverity.
|
|
4658
|
+
const (
|
|
4659
|
+
MarketplaceAdvisorySeverityCritical MarketplaceAdvisorySeverity = "critical"
|
|
4660
|
+
MarketplaceAdvisorySeverityHigh MarketplaceAdvisorySeverity = "high"
|
|
4661
|
+
MarketplaceAdvisorySeverityLow MarketplaceAdvisorySeverity = "low"
|
|
4662
|
+
MarketplaceAdvisorySeverityMedium MarketplaceAdvisorySeverity = "medium"
|
|
4663
|
+
)
|
|
4664
|
+
|
|
4665
|
+
// Valid indicates whether the value is a known member of the MarketplaceAdvisorySeverity enum.
|
|
4666
|
+
func (e MarketplaceAdvisorySeverity) Valid() bool {
|
|
4667
|
+
switch e {
|
|
4668
|
+
case MarketplaceAdvisorySeverityCritical:
|
|
4669
|
+
return true
|
|
4670
|
+
case MarketplaceAdvisorySeverityHigh:
|
|
4671
|
+
return true
|
|
4672
|
+
case MarketplaceAdvisorySeverityLow:
|
|
4673
|
+
return true
|
|
4674
|
+
case MarketplaceAdvisorySeverityMedium:
|
|
4675
|
+
return true
|
|
4676
|
+
default:
|
|
4677
|
+
return false
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4681
|
+
// Defines values for MarketplacePublisherVerificationLevel.
|
|
4682
|
+
const (
|
|
4683
|
+
MarketplacePublisherVerificationLevelCommunity MarketplacePublisherVerificationLevel = "community"
|
|
4684
|
+
MarketplacePublisherVerificationLevelOfficial MarketplacePublisherVerificationLevel = "official"
|
|
4685
|
+
MarketplacePublisherVerificationLevelPrivate MarketplacePublisherVerificationLevel = "private"
|
|
4686
|
+
MarketplacePublisherVerificationLevelVerified MarketplacePublisherVerificationLevel = "verified"
|
|
4687
|
+
)
|
|
4688
|
+
|
|
4689
|
+
// Valid indicates whether the value is a known member of the MarketplacePublisherVerificationLevel enum.
|
|
4690
|
+
func (e MarketplacePublisherVerificationLevel) Valid() bool {
|
|
4691
|
+
switch e {
|
|
4692
|
+
case MarketplacePublisherVerificationLevelCommunity:
|
|
4693
|
+
return true
|
|
4694
|
+
case MarketplacePublisherVerificationLevelOfficial:
|
|
4695
|
+
return true
|
|
4696
|
+
case MarketplacePublisherVerificationLevelPrivate:
|
|
4697
|
+
return true
|
|
4698
|
+
case MarketplacePublisherVerificationLevelVerified:
|
|
4699
|
+
return true
|
|
4700
|
+
default:
|
|
4701
|
+
return false
|
|
4702
|
+
}
|
|
4703
|
+
}
|
|
4704
|
+
|
|
4705
|
+
// Defines values for NetworkAccessDeviceType.
|
|
4706
|
+
const (
|
|
4707
|
+
NetworkAccessDeviceTypeAccessPoint NetworkAccessDeviceType = "access_point"
|
|
4708
|
+
NetworkAccessDeviceTypeOther NetworkAccessDeviceType = "other"
|
|
4709
|
+
NetworkAccessDeviceTypeSwitch NetworkAccessDeviceType = "switch"
|
|
4710
|
+
NetworkAccessDeviceTypeWirelessController NetworkAccessDeviceType = "wireless_controller"
|
|
4711
|
+
)
|
|
4712
|
+
|
|
4713
|
+
// Valid indicates whether the value is a known member of the NetworkAccessDeviceType enum.
|
|
4714
|
+
func (e NetworkAccessDeviceType) Valid() bool {
|
|
4715
|
+
switch e {
|
|
4716
|
+
case NetworkAccessDeviceTypeAccessPoint:
|
|
4717
|
+
return true
|
|
4718
|
+
case NetworkAccessDeviceTypeOther:
|
|
4719
|
+
return true
|
|
4720
|
+
case NetworkAccessDeviceTypeSwitch:
|
|
4721
|
+
return true
|
|
4722
|
+
case NetworkAccessDeviceTypeWirelessController:
|
|
4723
|
+
return true
|
|
4724
|
+
default:
|
|
4725
|
+
return false
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
|
|
4729
|
+
// Defines values for NetworkAccessGrantMode.
|
|
4730
|
+
const (
|
|
4731
|
+
NetworkAccessGrantModeNetworkAccessGrantModeExternalDirectZTNA NetworkAccessGrantMode = "external_direct_ztna"
|
|
4732
|
+
NetworkAccessGrantModeNetworkAccessGrantModeExternalVPNZTNA NetworkAccessGrantMode = "external_vpn_ztna"
|
|
4733
|
+
NetworkAccessGrantModeNetworkAccessGrantModeInternalZTNA NetworkAccessGrantMode = "internal_ztna"
|
|
4734
|
+
)
|
|
4735
|
+
|
|
4736
|
+
// Valid indicates whether the value is a known member of the NetworkAccessGrantMode enum.
|
|
4737
|
+
func (e NetworkAccessGrantMode) Valid() bool {
|
|
4738
|
+
switch e {
|
|
4739
|
+
case NetworkAccessGrantModeNetworkAccessGrantModeExternalDirectZTNA:
|
|
4740
|
+
return true
|
|
4741
|
+
case NetworkAccessGrantModeNetworkAccessGrantModeExternalVPNZTNA:
|
|
4742
|
+
return true
|
|
4743
|
+
case NetworkAccessGrantModeNetworkAccessGrantModeInternalZTNA:
|
|
4744
|
+
return true
|
|
4745
|
+
default:
|
|
4746
|
+
return false
|
|
4747
|
+
}
|
|
4748
|
+
}
|
|
4749
|
+
|
|
4750
|
+
// Defines values for NetworkAccessGrantInputMode.
|
|
4751
|
+
const (
|
|
4752
|
+
NetworkAccessGrantInputModeNetworkAccessGrantModeExternalDirectZTNA NetworkAccessGrantInputMode = "external_direct_ztna"
|
|
4753
|
+
NetworkAccessGrantInputModeNetworkAccessGrantModeExternalVPNZTNA NetworkAccessGrantInputMode = "external_vpn_ztna"
|
|
4754
|
+
NetworkAccessGrantInputModeNetworkAccessGrantModeInternalZTNA NetworkAccessGrantInputMode = "internal_ztna"
|
|
4755
|
+
)
|
|
4756
|
+
|
|
4757
|
+
// Valid indicates whether the value is a known member of the NetworkAccessGrantInputMode enum.
|
|
4758
|
+
func (e NetworkAccessGrantInputMode) Valid() bool {
|
|
4759
|
+
switch e {
|
|
4760
|
+
case NetworkAccessGrantInputModeNetworkAccessGrantModeExternalDirectZTNA:
|
|
4761
|
+
return true
|
|
4762
|
+
case NetworkAccessGrantInputModeNetworkAccessGrantModeExternalVPNZTNA:
|
|
4763
|
+
return true
|
|
4764
|
+
case NetworkAccessGrantInputModeNetworkAccessGrantModeInternalZTNA:
|
|
4765
|
+
return true
|
|
4766
|
+
default:
|
|
4767
|
+
return false
|
|
4768
|
+
}
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
// Defines values for NetworkAccessGrantStatus.
|
|
4772
|
+
const (
|
|
4773
|
+
NetworkAccessGrantStatusConsumed NetworkAccessGrantStatus = "consumed"
|
|
4774
|
+
NetworkAccessGrantStatusExpired NetworkAccessGrantStatus = "expired"
|
|
4775
|
+
NetworkAccessGrantStatusIssued NetworkAccessGrantStatus = "issued"
|
|
4776
|
+
NetworkAccessGrantStatusRevoked NetworkAccessGrantStatus = "revoked"
|
|
4777
|
+
)
|
|
4778
|
+
|
|
4779
|
+
// Valid indicates whether the value is a known member of the NetworkAccessGrantStatus enum.
|
|
4780
|
+
func (e NetworkAccessGrantStatus) Valid() bool {
|
|
4781
|
+
switch e {
|
|
4782
|
+
case NetworkAccessGrantStatusConsumed:
|
|
4783
|
+
return true
|
|
4784
|
+
case NetworkAccessGrantStatusExpired:
|
|
4785
|
+
return true
|
|
4786
|
+
case NetworkAccessGrantStatusIssued:
|
|
4787
|
+
return true
|
|
4788
|
+
case NetworkAccessGrantStatusRevoked:
|
|
4789
|
+
return true
|
|
4790
|
+
default:
|
|
4791
|
+
return false
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4794
|
+
|
|
4795
|
+
// Defines values for NetworkAccessMedium.
|
|
4796
|
+
const (
|
|
4797
|
+
NetworkAccessMediumWiFi NetworkAccessMedium = "wifi"
|
|
4798
|
+
NetworkAccessMediumWired NetworkAccessMedium = "wired"
|
|
4799
|
+
)
|
|
4800
|
+
|
|
4801
|
+
// Valid indicates whether the value is a known member of the NetworkAccessMedium enum.
|
|
4802
|
+
func (e NetworkAccessMedium) Valid() bool {
|
|
4803
|
+
switch e {
|
|
4804
|
+
case NetworkAccessMediumWiFi:
|
|
4805
|
+
return true
|
|
4806
|
+
case NetworkAccessMediumWired:
|
|
4807
|
+
return true
|
|
4808
|
+
default:
|
|
4809
|
+
return false
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
|
|
4813
|
+
// Defines values for NetworkAccessMode.
|
|
4814
|
+
const (
|
|
4815
|
+
NetworkAccessModeExternalDirectZTNA NetworkAccessMode = "external_direct_ztna"
|
|
4816
|
+
NetworkAccessModeExternalVPN NetworkAccessMode = "external_vpn"
|
|
4817
|
+
NetworkAccessModeExternalVPNZTNA NetworkAccessMode = "external_vpn_ztna"
|
|
4818
|
+
NetworkAccessModeInternalDirect NetworkAccessMode = "internal_direct"
|
|
4819
|
+
NetworkAccessModeInternalZTNA NetworkAccessMode = "internal_ztna"
|
|
4820
|
+
)
|
|
4821
|
+
|
|
4822
|
+
// Valid indicates whether the value is a known member of the NetworkAccessMode enum.
|
|
4823
|
+
func (e NetworkAccessMode) Valid() bool {
|
|
4824
|
+
switch e {
|
|
4825
|
+
case NetworkAccessModeExternalDirectZTNA:
|
|
4826
|
+
return true
|
|
4827
|
+
case NetworkAccessModeExternalVPN:
|
|
4828
|
+
return true
|
|
4829
|
+
case NetworkAccessModeExternalVPNZTNA:
|
|
4830
|
+
return true
|
|
4831
|
+
case NetworkAccessModeInternalDirect:
|
|
4832
|
+
return true
|
|
4833
|
+
case NetworkAccessModeInternalZTNA:
|
|
4834
|
+
return true
|
|
4835
|
+
default:
|
|
4836
|
+
return false
|
|
4837
|
+
}
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4840
|
+
// Defines values for NetworkAccessProfile.
|
|
4841
|
+
const (
|
|
4842
|
+
NetworkAccessProfileDeny NetworkAccessProfile = "deny"
|
|
4843
|
+
NetworkAccessProfileFull NetworkAccessProfile = "full"
|
|
4844
|
+
NetworkAccessProfileOnboarding NetworkAccessProfile = "onboarding"
|
|
4845
|
+
NetworkAccessProfileQuarantine NetworkAccessProfile = "quarantine"
|
|
4846
|
+
NetworkAccessProfileRestricted NetworkAccessProfile = "restricted"
|
|
4847
|
+
)
|
|
4848
|
+
|
|
4849
|
+
// Valid indicates whether the value is a known member of the NetworkAccessProfile enum.
|
|
4850
|
+
func (e NetworkAccessProfile) Valid() bool {
|
|
4851
|
+
switch e {
|
|
4852
|
+
case NetworkAccessProfileDeny:
|
|
4853
|
+
return true
|
|
4854
|
+
case NetworkAccessProfileFull:
|
|
4855
|
+
return true
|
|
4856
|
+
case NetworkAccessProfileOnboarding:
|
|
4857
|
+
return true
|
|
4858
|
+
case NetworkAccessProfileQuarantine:
|
|
4859
|
+
return true
|
|
4860
|
+
case NetworkAccessProfileRestricted:
|
|
4861
|
+
return true
|
|
4862
|
+
default:
|
|
4863
|
+
return false
|
|
4864
|
+
}
|
|
4865
|
+
}
|
|
4866
|
+
|
|
4867
|
+
// Defines values for NetworkConflictReason.
|
|
4868
|
+
const (
|
|
4869
|
+
Duplicate NetworkConflictReason = "duplicate"
|
|
4870
|
+
Overlap NetworkConflictReason = "overlap"
|
|
4871
|
+
)
|
|
4872
|
+
|
|
4873
|
+
// Valid indicates whether the value is a known member of the NetworkConflictReason enum.
|
|
4874
|
+
func (e NetworkConflictReason) Valid() bool {
|
|
4875
|
+
switch e {
|
|
4876
|
+
case Duplicate:
|
|
4877
|
+
return true
|
|
4878
|
+
case Overlap:
|
|
4879
|
+
return true
|
|
4880
|
+
default:
|
|
4881
|
+
return false
|
|
4882
|
+
}
|
|
4883
|
+
}
|
|
4884
|
+
|
|
4885
|
+
// Defines values for NetworkConflictSourceType.
|
|
4886
|
+
const (
|
|
4887
|
+
NetworkConflictSourceTypeContainer NetworkConflictSourceType = "container"
|
|
4888
|
+
NetworkConflictSourceTypeKubernetesPod NetworkConflictSourceType = "kubernetes_pod"
|
|
4889
|
+
NetworkConflictSourceTypeKubernetesService NetworkConflictSourceType = "kubernetes_service"
|
|
4890
|
+
NetworkConflictSourceTypeLAN NetworkConflictSourceType = "lan"
|
|
4891
|
+
NetworkConflictSourceTypeMihomoFakeIP NetworkConflictSourceType = "mihomo_fake_ip"
|
|
4892
|
+
NetworkConflictSourceTypeNetworkResource NetworkConflictSourceType = "network_resource"
|
|
4893
|
+
NetworkConflictSourceTypeNetworkSpace NetworkConflictSourceType = "network_space"
|
|
4894
|
+
NetworkConflictSourceTypeRFC6598 NetworkConflictSourceType = "rfc6598"
|
|
4895
|
+
NetworkConflictSourceTypeWireGuardOverlay NetworkConflictSourceType = "wireguard_overlay"
|
|
4896
|
+
)
|
|
4897
|
+
|
|
4898
|
+
// Valid indicates whether the value is a known member of the NetworkConflictSourceType enum.
|
|
4899
|
+
func (e NetworkConflictSourceType) Valid() bool {
|
|
4900
|
+
switch e {
|
|
4901
|
+
case NetworkConflictSourceTypeContainer:
|
|
4902
|
+
return true
|
|
4903
|
+
case NetworkConflictSourceTypeKubernetesPod:
|
|
4904
|
+
return true
|
|
4905
|
+
case NetworkConflictSourceTypeKubernetesService:
|
|
4906
|
+
return true
|
|
4907
|
+
case NetworkConflictSourceTypeLAN:
|
|
4908
|
+
return true
|
|
4909
|
+
case NetworkConflictSourceTypeMihomoFakeIP:
|
|
4910
|
+
return true
|
|
4911
|
+
case NetworkConflictSourceTypeNetworkResource:
|
|
4912
|
+
return true
|
|
4913
|
+
case NetworkConflictSourceTypeNetworkSpace:
|
|
4914
|
+
return true
|
|
4915
|
+
case NetworkConflictSourceTypeRFC6598:
|
|
4916
|
+
return true
|
|
4917
|
+
case NetworkConflictSourceTypeWireGuardOverlay:
|
|
4918
|
+
return true
|
|
4919
|
+
default:
|
|
4920
|
+
return false
|
|
4921
|
+
}
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4924
|
+
// Defines values for NetworkConnectionAuthentication.
|
|
4925
|
+
const (
|
|
4926
|
+
NetworkConnectionAuthenticationRadius8021X NetworkConnectionAuthentication = "radius_802_1x"
|
|
4927
|
+
)
|
|
4928
|
+
|
|
4929
|
+
// Valid indicates whether the value is a known member of the NetworkConnectionAuthentication enum.
|
|
4930
|
+
func (e NetworkConnectionAuthentication) Valid() bool {
|
|
4931
|
+
switch e {
|
|
4932
|
+
case NetworkConnectionAuthenticationRadius8021X:
|
|
4933
|
+
return true
|
|
4934
|
+
default:
|
|
4935
|
+
return false
|
|
4936
|
+
}
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
// Defines values for NetworkGatewayAdministrativeStatus.
|
|
4940
|
+
const (
|
|
4941
|
+
NetworkGatewayAdministrativeStatusActive NetworkGatewayAdministrativeStatus = "active"
|
|
4942
|
+
NetworkGatewayAdministrativeStatusDisabled NetworkGatewayAdministrativeStatus = "disabled"
|
|
4943
|
+
)
|
|
4944
|
+
|
|
4945
|
+
// Valid indicates whether the value is a known member of the NetworkGatewayAdministrativeStatus enum.
|
|
4946
|
+
func (e NetworkGatewayAdministrativeStatus) Valid() bool {
|
|
4947
|
+
switch e {
|
|
4948
|
+
case NetworkGatewayAdministrativeStatusActive:
|
|
4949
|
+
return true
|
|
4950
|
+
case NetworkGatewayAdministrativeStatusDisabled:
|
|
4951
|
+
return true
|
|
4952
|
+
default:
|
|
4953
|
+
return false
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
// Defines values for NetworkGatewayRoutingMode.
|
|
4958
|
+
const (
|
|
4959
|
+
NetworkGatewayRoutingModeRouted NetworkGatewayRoutingMode = "routed"
|
|
4960
|
+
NetworkGatewayRoutingModeSNAT NetworkGatewayRoutingMode = "snat"
|
|
4961
|
+
)
|
|
4962
|
+
|
|
4963
|
+
// Valid indicates whether the value is a known member of the NetworkGatewayRoutingMode enum.
|
|
4964
|
+
func (e NetworkGatewayRoutingMode) Valid() bool {
|
|
4965
|
+
switch e {
|
|
4966
|
+
case NetworkGatewayRoutingModeRouted:
|
|
4967
|
+
return true
|
|
4968
|
+
case NetworkGatewayRoutingModeSNAT:
|
|
4969
|
+
return true
|
|
4970
|
+
default:
|
|
4971
|
+
return false
|
|
4972
|
+
}
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
// Defines values for NetworkGatewayStatus.
|
|
4976
|
+
const (
|
|
4977
|
+
NetworkGatewayStatusDegraded NetworkGatewayStatus = "degraded"
|
|
4978
|
+
NetworkGatewayStatusOffline NetworkGatewayStatus = "offline"
|
|
4979
|
+
NetworkGatewayStatusOnline NetworkGatewayStatus = "online"
|
|
4980
|
+
)
|
|
4981
|
+
|
|
4982
|
+
// Valid indicates whether the value is a known member of the NetworkGatewayStatus enum.
|
|
4983
|
+
func (e NetworkGatewayStatus) Valid() bool {
|
|
4984
|
+
switch e {
|
|
4985
|
+
case NetworkGatewayStatusDegraded:
|
|
4986
|
+
return true
|
|
4987
|
+
case NetworkGatewayStatusOffline:
|
|
4988
|
+
return true
|
|
4989
|
+
case NetworkGatewayStatusOnline:
|
|
4990
|
+
return true
|
|
4991
|
+
default:
|
|
4992
|
+
return false
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4996
|
+
// Defines values for NetworkMihomoDNSMode.
|
|
4997
|
+
const (
|
|
4998
|
+
NetworkMihomoDNSModeDisabled NetworkMihomoDNSMode = "disabled"
|
|
4999
|
+
NetworkMihomoDNSModeFakeIP NetworkMihomoDNSMode = "fake_ip"
|
|
5000
|
+
)
|
|
5001
|
+
|
|
5002
|
+
// Valid indicates whether the value is a known member of the NetworkMihomoDNSMode enum.
|
|
5003
|
+
func (e NetworkMihomoDNSMode) Valid() bool {
|
|
5004
|
+
switch e {
|
|
5005
|
+
case NetworkMihomoDNSModeDisabled:
|
|
5006
|
+
return true
|
|
5007
|
+
case NetworkMihomoDNSModeFakeIP:
|
|
5008
|
+
return true
|
|
5009
|
+
default:
|
|
5010
|
+
return false
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
|
|
5014
|
+
// Defines values for NetworkMihomoManualProtocol.
|
|
5015
|
+
const (
|
|
5016
|
+
NetworkMihomoManualProtocolHTTP NetworkMihomoManualProtocol = "http"
|
|
5017
|
+
NetworkMihomoManualProtocolHTTPS NetworkMihomoManualProtocol = "https"
|
|
5018
|
+
NetworkMihomoManualProtocolSOCKS5 NetworkMihomoManualProtocol = "socks5"
|
|
5019
|
+
)
|
|
5020
|
+
|
|
5021
|
+
// Valid indicates whether the value is a known member of the NetworkMihomoManualProtocol enum.
|
|
5022
|
+
func (e NetworkMihomoManualProtocol) Valid() bool {
|
|
5023
|
+
switch e {
|
|
5024
|
+
case NetworkMihomoManualProtocolHTTP:
|
|
5025
|
+
return true
|
|
5026
|
+
case NetworkMihomoManualProtocolHTTPS:
|
|
5027
|
+
return true
|
|
5028
|
+
case NetworkMihomoManualProtocolSOCKS5:
|
|
5029
|
+
return true
|
|
5030
|
+
default:
|
|
5031
|
+
return false
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5035
|
+
// Defines values for NetworkMihomoMode.
|
|
5036
|
+
const (
|
|
5037
|
+
NetworkMihomoModeAppSubscription NetworkMihomoMode = "app_subscription"
|
|
5038
|
+
NetworkMihomoModeManagedFollow NetworkMihomoMode = "managed_follow"
|
|
5039
|
+
)
|
|
5040
|
+
|
|
5041
|
+
// Valid indicates whether the value is a known member of the NetworkMihomoMode enum.
|
|
5042
|
+
func (e NetworkMihomoMode) Valid() bool {
|
|
5043
|
+
switch e {
|
|
5044
|
+
case NetworkMihomoModeAppSubscription:
|
|
5045
|
+
return true
|
|
5046
|
+
case NetworkMihomoModeManagedFollow:
|
|
5047
|
+
return true
|
|
5048
|
+
default:
|
|
5049
|
+
return false
|
|
5050
|
+
}
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
// Defines values for NetworkMihomoProfileStatus.
|
|
5054
|
+
const (
|
|
5055
|
+
NetworkMihomoProfileStatusActive NetworkMihomoProfileStatus = "active"
|
|
5056
|
+
NetworkMihomoProfileStatusDisabled NetworkMihomoProfileStatus = "disabled"
|
|
5057
|
+
)
|
|
5058
|
+
|
|
5059
|
+
// Valid indicates whether the value is a known member of the NetworkMihomoProfileStatus enum.
|
|
5060
|
+
func (e NetworkMihomoProfileStatus) Valid() bool {
|
|
5061
|
+
switch e {
|
|
5062
|
+
case NetworkMihomoProfileStatusActive:
|
|
5063
|
+
return true
|
|
5064
|
+
case NetworkMihomoProfileStatusDisabled:
|
|
5065
|
+
return true
|
|
5066
|
+
default:
|
|
5067
|
+
return false
|
|
5068
|
+
}
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
// Defines values for NetworkMihomoSourceType.
|
|
5072
|
+
const (
|
|
5073
|
+
NetworkMihomoSourceTypeManagedSubscription NetworkMihomoSourceType = "managed_subscription"
|
|
5074
|
+
NetworkMihomoSourceTypeManualNode NetworkMihomoSourceType = "manual_node"
|
|
5075
|
+
)
|
|
5076
|
+
|
|
5077
|
+
// Valid indicates whether the value is a known member of the NetworkMihomoSourceType enum.
|
|
5078
|
+
func (e NetworkMihomoSourceType) Valid() bool {
|
|
5079
|
+
switch e {
|
|
5080
|
+
case NetworkMihomoSourceTypeManagedSubscription:
|
|
5081
|
+
return true
|
|
5082
|
+
case NetworkMihomoSourceTypeManualNode:
|
|
5083
|
+
return true
|
|
5084
|
+
default:
|
|
5085
|
+
return false
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
// Defines values for NetworkNASBindingStatus.
|
|
5090
|
+
const (
|
|
5091
|
+
NetworkNASBindingStatusActive NetworkNASBindingStatus = "active"
|
|
5092
|
+
NetworkNASBindingStatusDisabled NetworkNASBindingStatus = "disabled"
|
|
5093
|
+
)
|
|
5094
|
+
|
|
5095
|
+
// Valid indicates whether the value is a known member of the NetworkNASBindingStatus enum.
|
|
5096
|
+
func (e NetworkNASBindingStatus) Valid() bool {
|
|
5097
|
+
switch e {
|
|
5098
|
+
case NetworkNASBindingStatusActive:
|
|
5099
|
+
return true
|
|
5100
|
+
case NetworkNASBindingStatusDisabled:
|
|
5101
|
+
return true
|
|
5102
|
+
default:
|
|
5103
|
+
return false
|
|
5104
|
+
}
|
|
5105
|
+
}
|
|
5106
|
+
|
|
5107
|
+
// Defines values for NetworkPathMode.
|
|
5108
|
+
const (
|
|
5109
|
+
NetworkPathModeAccessProxy NetworkPathMode = "access_proxy"
|
|
5110
|
+
NetworkPathModeAutomatic NetworkPathMode = "automatic"
|
|
5111
|
+
NetworkPathModeSiteDirect NetworkPathMode = "site_direct"
|
|
5112
|
+
NetworkPathModeWireGuard NetworkPathMode = "wireguard"
|
|
5113
|
+
NetworkPathModeWireGuardZTNA NetworkPathMode = "wireguard_ztna"
|
|
5114
|
+
)
|
|
5115
|
+
|
|
5116
|
+
// Valid indicates whether the value is a known member of the NetworkPathMode enum.
|
|
5117
|
+
func (e NetworkPathMode) Valid() bool {
|
|
5118
|
+
switch e {
|
|
5119
|
+
case NetworkPathModeAccessProxy:
|
|
5120
|
+
return true
|
|
5121
|
+
case NetworkPathModeAutomatic:
|
|
5122
|
+
return true
|
|
5123
|
+
case NetworkPathModeSiteDirect:
|
|
5124
|
+
return true
|
|
5125
|
+
case NetworkPathModeWireGuard:
|
|
5126
|
+
return true
|
|
5127
|
+
case NetworkPathModeWireGuardZTNA:
|
|
5128
|
+
return true
|
|
5129
|
+
default:
|
|
5130
|
+
return false
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
|
|
5134
|
+
// Defines values for NetworkPolicyDecision.
|
|
5135
|
+
const (
|
|
5136
|
+
NetworkPolicyDecisionAllow NetworkPolicyDecision = "allow"
|
|
5137
|
+
NetworkPolicyDecisionDeny NetworkPolicyDecision = "deny"
|
|
5138
|
+
)
|
|
5139
|
+
|
|
5140
|
+
// Valid indicates whether the value is a known member of the NetworkPolicyDecision enum.
|
|
5141
|
+
func (e NetworkPolicyDecision) Valid() bool {
|
|
5142
|
+
switch e {
|
|
5143
|
+
case NetworkPolicyDecisionAllow:
|
|
5144
|
+
return true
|
|
5145
|
+
case NetworkPolicyDecisionDeny:
|
|
5146
|
+
return true
|
|
5147
|
+
default:
|
|
5148
|
+
return false
|
|
5149
|
+
}
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5152
|
+
// Defines values for NetworkPolicyEffect.
|
|
5153
|
+
const (
|
|
5154
|
+
NetworkPolicyEffectAllow NetworkPolicyEffect = "allow"
|
|
5155
|
+
NetworkPolicyEffectDeny NetworkPolicyEffect = "deny"
|
|
5156
|
+
)
|
|
5157
|
+
|
|
5158
|
+
// Valid indicates whether the value is a known member of the NetworkPolicyEffect enum.
|
|
5159
|
+
func (e NetworkPolicyEffect) Valid() bool {
|
|
5160
|
+
switch e {
|
|
5161
|
+
case NetworkPolicyEffectAllow:
|
|
5162
|
+
return true
|
|
5163
|
+
case NetworkPolicyEffectDeny:
|
|
5164
|
+
return true
|
|
5165
|
+
default:
|
|
5166
|
+
return false
|
|
5167
|
+
}
|
|
5168
|
+
}
|
|
5169
|
+
|
|
5170
|
+
// Defines values for NetworkPolicyPath.
|
|
5171
|
+
const (
|
|
5172
|
+
NetworkPolicyPathAccessProxy NetworkPolicyPath = "access_proxy"
|
|
5173
|
+
NetworkPolicyPathDeny NetworkPolicyPath = "deny"
|
|
5174
|
+
NetworkPolicyPathSiteDirect NetworkPolicyPath = "site_direct"
|
|
5175
|
+
NetworkPolicyPathWireGuard NetworkPolicyPath = "wireguard"
|
|
5176
|
+
NetworkPolicyPathWireGuardZTNA NetworkPolicyPath = "wireguard_ztna"
|
|
5177
|
+
)
|
|
5178
|
+
|
|
5179
|
+
// Valid indicates whether the value is a known member of the NetworkPolicyPath enum.
|
|
5180
|
+
func (e NetworkPolicyPath) Valid() bool {
|
|
5181
|
+
switch e {
|
|
5182
|
+
case NetworkPolicyPathAccessProxy:
|
|
5183
|
+
return true
|
|
5184
|
+
case NetworkPolicyPathDeny:
|
|
5185
|
+
return true
|
|
5186
|
+
case NetworkPolicyPathSiteDirect:
|
|
5187
|
+
return true
|
|
5188
|
+
case NetworkPolicyPathWireGuard:
|
|
5189
|
+
return true
|
|
5190
|
+
case NetworkPolicyPathWireGuardZTNA:
|
|
5191
|
+
return true
|
|
5192
|
+
default:
|
|
5193
|
+
return false
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
5196
|
+
|
|
5197
|
+
// Defines values for NetworkResourceKind.
|
|
5198
|
+
const (
|
|
5199
|
+
NetworkResourceKindCIDR NetworkResourceKind = "cidr"
|
|
5200
|
+
NetworkResourceKindFQDN NetworkResourceKind = "fqdn"
|
|
5201
|
+
NetworkResourceKindIP NetworkResourceKind = "ip"
|
|
5202
|
+
)
|
|
5203
|
+
|
|
5204
|
+
// Valid indicates whether the value is a known member of the NetworkResourceKind enum.
|
|
5205
|
+
func (e NetworkResourceKind) Valid() bool {
|
|
5206
|
+
switch e {
|
|
5207
|
+
case NetworkResourceKindCIDR:
|
|
5208
|
+
return true
|
|
5209
|
+
case NetworkResourceKindFQDN:
|
|
5210
|
+
return true
|
|
5211
|
+
case NetworkResourceKindIP:
|
|
5212
|
+
return true
|
|
5213
|
+
default:
|
|
5214
|
+
return false
|
|
5215
|
+
}
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
// Defines values for NetworkResourceProtocol.
|
|
5219
|
+
const (
|
|
5220
|
+
NetworkResourceProtocolAny NetworkResourceProtocol = "any"
|
|
5221
|
+
NetworkResourceProtocolICMP NetworkResourceProtocol = "icmp"
|
|
5222
|
+
NetworkResourceProtocolTCP NetworkResourceProtocol = "tcp"
|
|
5223
|
+
NetworkResourceProtocolUDP NetworkResourceProtocol = "udp"
|
|
5224
|
+
)
|
|
5225
|
+
|
|
5226
|
+
// Valid indicates whether the value is a known member of the NetworkResourceProtocol enum.
|
|
5227
|
+
func (e NetworkResourceProtocol) Valid() bool {
|
|
5228
|
+
switch e {
|
|
5229
|
+
case NetworkResourceProtocolAny:
|
|
5230
|
+
return true
|
|
5231
|
+
case NetworkResourceProtocolICMP:
|
|
5232
|
+
return true
|
|
5233
|
+
case NetworkResourceProtocolTCP:
|
|
5234
|
+
return true
|
|
5235
|
+
case NetworkResourceProtocolUDP:
|
|
5236
|
+
return true
|
|
5237
|
+
default:
|
|
5238
|
+
return false
|
|
5239
|
+
}
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
// Defines values for NetworkRuntimeEnrollmentStatus.
|
|
5243
|
+
const (
|
|
5244
|
+
NetworkRuntimeEnrollmentStatusConsumed NetworkRuntimeEnrollmentStatus = "consumed"
|
|
5245
|
+
NetworkRuntimeEnrollmentStatusPending NetworkRuntimeEnrollmentStatus = "pending"
|
|
5246
|
+
NetworkRuntimeEnrollmentStatusRevoked NetworkRuntimeEnrollmentStatus = "revoked"
|
|
5247
|
+
)
|
|
5248
|
+
|
|
5249
|
+
// Valid indicates whether the value is a known member of the NetworkRuntimeEnrollmentStatus enum.
|
|
5250
|
+
func (e NetworkRuntimeEnrollmentStatus) Valid() bool {
|
|
5251
|
+
switch e {
|
|
5252
|
+
case NetworkRuntimeEnrollmentStatusConsumed:
|
|
5253
|
+
return true
|
|
5254
|
+
case NetworkRuntimeEnrollmentStatusPending:
|
|
5255
|
+
return true
|
|
5256
|
+
case NetworkRuntimeEnrollmentStatusRevoked:
|
|
5257
|
+
return true
|
|
5258
|
+
default:
|
|
5259
|
+
return false
|
|
5260
|
+
}
|
|
5261
|
+
}
|
|
5262
|
+
|
|
5263
|
+
// Defines values for NetworkRuntimeKind.
|
|
5264
|
+
const (
|
|
5265
|
+
NetworkRuntimeKindEndpoint NetworkRuntimeKind = "endpoint"
|
|
5266
|
+
NetworkRuntimeKindGateway NetworkRuntimeKind = "gateway"
|
|
5267
|
+
NetworkRuntimeKindNAS NetworkRuntimeKind = "nas"
|
|
5268
|
+
)
|
|
5269
|
+
|
|
5270
|
+
// Valid indicates whether the value is a known member of the NetworkRuntimeKind enum.
|
|
5271
|
+
func (e NetworkRuntimeKind) Valid() bool {
|
|
5272
|
+
switch e {
|
|
5273
|
+
case NetworkRuntimeKindEndpoint:
|
|
5274
|
+
return true
|
|
5275
|
+
case NetworkRuntimeKindGateway:
|
|
5276
|
+
return true
|
|
5277
|
+
case NetworkRuntimeKindNAS:
|
|
5278
|
+
return true
|
|
5279
|
+
default:
|
|
5280
|
+
return false
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5284
|
+
// Defines values for NetworkSessionAction.
|
|
5285
|
+
const (
|
|
5286
|
+
NetworkSessionActionCoA NetworkSessionAction = "coa"
|
|
5287
|
+
NetworkSessionActionDisconnect NetworkSessionAction = "disconnect"
|
|
5288
|
+
)
|
|
5289
|
+
|
|
5290
|
+
// Valid indicates whether the value is a known member of the NetworkSessionAction enum.
|
|
5291
|
+
func (e NetworkSessionAction) Valid() bool {
|
|
5292
|
+
switch e {
|
|
5293
|
+
case NetworkSessionActionCoA:
|
|
5294
|
+
return true
|
|
5295
|
+
case NetworkSessionActionDisconnect:
|
|
5296
|
+
return true
|
|
5297
|
+
default:
|
|
5298
|
+
return false
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
// Defines values for NetworkSessionCommandStatus.
|
|
5303
|
+
const (
|
|
5304
|
+
NetworkSessionCommandStatusApplied NetworkSessionCommandStatus = "applied"
|
|
5305
|
+
NetworkSessionCommandStatusDelivered NetworkSessionCommandStatus = "delivered"
|
|
5306
|
+
NetworkSessionCommandStatusExpired NetworkSessionCommandStatus = "expired"
|
|
5307
|
+
NetworkSessionCommandStatusPending NetworkSessionCommandStatus = "pending"
|
|
5308
|
+
NetworkSessionCommandStatusRejected NetworkSessionCommandStatus = "rejected"
|
|
5309
|
+
NetworkSessionCommandStatusTimedOut NetworkSessionCommandStatus = "timed-out"
|
|
5310
|
+
NetworkSessionCommandStatusUnsupported NetworkSessionCommandStatus = "unsupported"
|
|
5311
|
+
)
|
|
5312
|
+
|
|
5313
|
+
// Valid indicates whether the value is a known member of the NetworkSessionCommandStatus enum.
|
|
5314
|
+
func (e NetworkSessionCommandStatus) Valid() bool {
|
|
4427
5315
|
switch e {
|
|
4428
|
-
case
|
|
5316
|
+
case NetworkSessionCommandStatusApplied:
|
|
4429
5317
|
return true
|
|
4430
|
-
case
|
|
5318
|
+
case NetworkSessionCommandStatusDelivered:
|
|
4431
5319
|
return true
|
|
4432
|
-
case
|
|
5320
|
+
case NetworkSessionCommandStatusExpired:
|
|
4433
5321
|
return true
|
|
4434
|
-
case
|
|
5322
|
+
case NetworkSessionCommandStatusPending:
|
|
4435
5323
|
return true
|
|
4436
|
-
case
|
|
5324
|
+
case NetworkSessionCommandStatusRejected:
|
|
4437
5325
|
return true
|
|
4438
|
-
case
|
|
5326
|
+
case NetworkSessionCommandStatusTimedOut:
|
|
4439
5327
|
return true
|
|
4440
|
-
case
|
|
5328
|
+
case NetworkSessionCommandStatusUnsupported:
|
|
4441
5329
|
return true
|
|
4442
5330
|
default:
|
|
4443
5331
|
return false
|
|
4444
5332
|
}
|
|
4445
5333
|
}
|
|
4446
5334
|
|
|
4447
|
-
// Defines values for
|
|
5335
|
+
// Defines values for NetworkSessionStatus.
|
|
4448
5336
|
const (
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
ManifestValidationStageSchema ManifestValidationStage = "schema"
|
|
4456
|
-
ManifestValidationStageScope ManifestValidationStage = "scope"
|
|
4457
|
-
ManifestValidationStageSecretRef ManifestValidationStage = "secret_ref"
|
|
4458
|
-
ManifestValidationStageSyntax ManifestValidationStage = "syntax"
|
|
5337
|
+
NetworkSessionStatusActive NetworkSessionStatus = "active"
|
|
5338
|
+
NetworkSessionStatusExpired NetworkSessionStatus = "expired"
|
|
5339
|
+
NetworkSessionStatusPending NetworkSessionStatus = "pending"
|
|
5340
|
+
NetworkSessionStatusQuarantine NetworkSessionStatus = "quarantine"
|
|
5341
|
+
NetworkSessionStatusRestricted NetworkSessionStatus = "restricted"
|
|
5342
|
+
NetworkSessionStatusRevoked NetworkSessionStatus = "revoked"
|
|
4459
5343
|
)
|
|
4460
5344
|
|
|
4461
|
-
// Valid indicates whether the value is a known member of the
|
|
4462
|
-
func (e
|
|
5345
|
+
// Valid indicates whether the value is a known member of the NetworkSessionStatus enum.
|
|
5346
|
+
func (e NetworkSessionStatus) Valid() bool {
|
|
4463
5347
|
switch e {
|
|
4464
|
-
case
|
|
4465
|
-
return true
|
|
4466
|
-
case ManifestValidationStageDrift:
|
|
4467
|
-
return true
|
|
4468
|
-
case ManifestValidationStageDryRun:
|
|
5348
|
+
case NetworkSessionStatusActive:
|
|
4469
5349
|
return true
|
|
4470
|
-
case
|
|
4471
|
-
return true
|
|
4472
|
-
case ManifestValidationStagePolicy:
|
|
4473
|
-
return true
|
|
4474
|
-
case ManifestValidationStageRender:
|
|
5350
|
+
case NetworkSessionStatusExpired:
|
|
4475
5351
|
return true
|
|
4476
|
-
case
|
|
5352
|
+
case NetworkSessionStatusPending:
|
|
4477
5353
|
return true
|
|
4478
|
-
case
|
|
5354
|
+
case NetworkSessionStatusQuarantine:
|
|
4479
5355
|
return true
|
|
4480
|
-
case
|
|
5356
|
+
case NetworkSessionStatusRestricted:
|
|
4481
5357
|
return true
|
|
4482
|
-
case
|
|
5358
|
+
case NetworkSessionStatusRevoked:
|
|
4483
5359
|
return true
|
|
4484
5360
|
default:
|
|
4485
5361
|
return false
|
|
4486
5362
|
}
|
|
4487
5363
|
}
|
|
4488
5364
|
|
|
4489
|
-
// Defines values for
|
|
5365
|
+
// Defines values for NetworkSiteStatus.
|
|
4490
5366
|
const (
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
MarketplaceAdvisorySeverityLow MarketplaceAdvisorySeverity = "low"
|
|
4494
|
-
MarketplaceAdvisorySeverityMedium MarketplaceAdvisorySeverity = "medium"
|
|
5367
|
+
NetworkSiteStatusActive NetworkSiteStatus = "active"
|
|
5368
|
+
NetworkSiteStatusDisabled NetworkSiteStatus = "disabled"
|
|
4495
5369
|
)
|
|
4496
5370
|
|
|
4497
|
-
// Valid indicates whether the value is a known member of the
|
|
4498
|
-
func (e
|
|
5371
|
+
// Valid indicates whether the value is a known member of the NetworkSiteStatus enum.
|
|
5372
|
+
func (e NetworkSiteStatus) Valid() bool {
|
|
4499
5373
|
switch e {
|
|
4500
|
-
case
|
|
5374
|
+
case NetworkSiteStatusActive:
|
|
4501
5375
|
return true
|
|
4502
|
-
case
|
|
5376
|
+
case NetworkSiteStatusDisabled:
|
|
4503
5377
|
return true
|
|
4504
|
-
|
|
5378
|
+
default:
|
|
5379
|
+
return false
|
|
5380
|
+
}
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5383
|
+
// Defines values for NetworkSpaceStatus.
|
|
5384
|
+
const (
|
|
5385
|
+
NetworkSpaceStatusActive NetworkSpaceStatus = "active"
|
|
5386
|
+
NetworkSpaceStatusDisabled NetworkSpaceStatus = "disabled"
|
|
5387
|
+
)
|
|
5388
|
+
|
|
5389
|
+
// Valid indicates whether the value is a known member of the NetworkSpaceStatus enum.
|
|
5390
|
+
func (e NetworkSpaceStatus) Valid() bool {
|
|
5391
|
+
switch e {
|
|
5392
|
+
case NetworkSpaceStatusActive:
|
|
4505
5393
|
return true
|
|
4506
|
-
case
|
|
5394
|
+
case NetworkSpaceStatusDisabled:
|
|
4507
5395
|
return true
|
|
4508
5396
|
default:
|
|
4509
5397
|
return false
|
|
4510
5398
|
}
|
|
4511
5399
|
}
|
|
4512
5400
|
|
|
4513
|
-
// Defines values for
|
|
5401
|
+
// Defines values for NetworkTelemetryProducerProducerKind.
|
|
4514
5402
|
const (
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
5403
|
+
Endpoint NetworkTelemetryProducerProducerKind = "endpoint"
|
|
5404
|
+
Freeradius NetworkTelemetryProducerProducerKind = "freeradius"
|
|
5405
|
+
Gateway NetworkTelemetryProducerProducerKind = "gateway"
|
|
5406
|
+
NetworkControl NetworkTelemetryProducerProducerKind = "network-control"
|
|
4519
5407
|
)
|
|
4520
5408
|
|
|
4521
|
-
// Valid indicates whether the value is a known member of the
|
|
4522
|
-
func (e
|
|
5409
|
+
// Valid indicates whether the value is a known member of the NetworkTelemetryProducerProducerKind enum.
|
|
5410
|
+
func (e NetworkTelemetryProducerProducerKind) Valid() bool {
|
|
4523
5411
|
switch e {
|
|
4524
|
-
case
|
|
5412
|
+
case Endpoint:
|
|
4525
5413
|
return true
|
|
4526
|
-
case
|
|
5414
|
+
case Freeradius:
|
|
4527
5415
|
return true
|
|
4528
|
-
case
|
|
5416
|
+
case Gateway:
|
|
4529
5417
|
return true
|
|
4530
|
-
case
|
|
5418
|
+
case NetworkControl:
|
|
4531
5419
|
return true
|
|
4532
5420
|
default:
|
|
4533
5421
|
return false
|
|
@@ -8913,6 +9801,35 @@ type AlertRuleTestResultEnvelope struct {
|
|
|
8913
9801
|
// AlertRuleType defines model for AlertRuleType.
|
|
8914
9802
|
type AlertRuleType string
|
|
8915
9803
|
|
|
9804
|
+
// AnnouncementReceipt defines model for AnnouncementReceipt.
|
|
9805
|
+
type AnnouncementReceipt struct {
|
|
9806
|
+
DisplayName string `json:"displayName"`
|
|
9807
|
+
Email string `json:"email"`
|
|
9808
|
+
IsRead bool `json:"isRead"`
|
|
9809
|
+
ReadAt *time.Time `json:"readAt,omitempty"`
|
|
9810
|
+
TeamNames []string `json:"teamNames,omitempty"`
|
|
9811
|
+
UserID string `json:"userId"`
|
|
9812
|
+
Username string `json:"username"`
|
|
9813
|
+
}
|
|
9814
|
+
|
|
9815
|
+
// AnnouncementReceiptPage defines model for AnnouncementReceiptPage.
|
|
9816
|
+
type AnnouncementReceiptPage struct {
|
|
9817
|
+
Items []AnnouncementReceipt `json:"items"`
|
|
9818
|
+
Page int `json:"page"`
|
|
9819
|
+
PageSize int `json:"pageSize"`
|
|
9820
|
+
ReadCount int `json:"readCount"`
|
|
9821
|
+
Total int `json:"total"`
|
|
9822
|
+
UnreadCount int `json:"unreadCount"`
|
|
9823
|
+
}
|
|
9824
|
+
|
|
9825
|
+
// AnnouncementReceiptPageEnvelope defines model for AnnouncementReceiptPageEnvelope.
|
|
9826
|
+
type AnnouncementReceiptPageEnvelope struct {
|
|
9827
|
+
Data AnnouncementReceiptPage `json:"data"`
|
|
9828
|
+
}
|
|
9829
|
+
|
|
9830
|
+
// AnnouncementReceiptState defines model for AnnouncementReceiptState.
|
|
9831
|
+
type AnnouncementReceiptState string
|
|
9832
|
+
|
|
8916
9833
|
// AnthropicMessagesRequest defines model for AnthropicMessagesRequest.
|
|
8917
9834
|
type AnthropicMessagesRequest struct {
|
|
8918
9835
|
MaxTokens int `json:"max_tokens"`
|
|
@@ -11059,6 +11976,99 @@ type DockerQuickCreateHostInput struct {
|
|
|
11059
11976
|
VMTemplateID string `json:"vmTemplateId,omitempty"`
|
|
11060
11977
|
}
|
|
11061
11978
|
|
|
11979
|
+
// EndpointDevice defines model for EndpointDevice.
|
|
11980
|
+
type EndpointDevice struct {
|
|
11981
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
11982
|
+
CredentialGeneration int `json:"credentialGeneration,omitempty"`
|
|
11983
|
+
DeviceType EndpointDeviceType `json:"deviceType,omitempty"`
|
|
11984
|
+
Hostname string `json:"hostname,omitempty"`
|
|
11985
|
+
ID string `json:"id"`
|
|
11986
|
+
LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
|
|
11987
|
+
Name string `json:"name"`
|
|
11988
|
+
OwnerUserID string `json:"ownerUserId"`
|
|
11989
|
+
OwnershipType EndpointDeviceOwnershipType `json:"ownershipType,omitempty"`
|
|
11990
|
+
Platform string `json:"platform"`
|
|
11991
|
+
PostureStatus EndpointDevicePostureStatus `json:"postureStatus"`
|
|
11992
|
+
PostureVersion int `json:"postureVersion"`
|
|
11993
|
+
ReportedFacts *EndpointDeviceReportedFacts `json:"reportedFacts,omitempty"`
|
|
11994
|
+
SiteID string `json:"siteId,omitempty"`
|
|
11995
|
+
Status EndpointDeviceStatus `json:"status"`
|
|
11996
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
11997
|
+
}
|
|
11998
|
+
|
|
11999
|
+
// EndpointDeviceEnvelope defines model for EndpointDeviceEnvelope.
|
|
12000
|
+
type EndpointDeviceEnvelope struct {
|
|
12001
|
+
Data EndpointDevice `json:"data"`
|
|
12002
|
+
}
|
|
12003
|
+
|
|
12004
|
+
// EndpointDeviceInput defines model for EndpointDeviceInput.
|
|
12005
|
+
type EndpointDeviceInput struct {
|
|
12006
|
+
DeviceType EndpointDeviceType `json:"deviceType,omitempty"`
|
|
12007
|
+
Name string `json:"name"`
|
|
12008
|
+
OwnershipType EndpointDeviceOwnershipType `json:"ownershipType,omitempty"`
|
|
12009
|
+
PostureStatus EndpointDevicePostureStatus `json:"postureStatus,omitempty"`
|
|
12010
|
+
SiteID string `json:"siteId,omitempty"`
|
|
12011
|
+
Status EndpointDeviceStatus `json:"status"`
|
|
12012
|
+
}
|
|
12013
|
+
|
|
12014
|
+
// EndpointDeviceListEnvelope defines model for EndpointDeviceListEnvelope.
|
|
12015
|
+
type EndpointDeviceListEnvelope struct {
|
|
12016
|
+
Items []EndpointDevice `json:"items"`
|
|
12017
|
+
}
|
|
12018
|
+
|
|
12019
|
+
// EndpointDeviceOwnershipType defines model for EndpointDeviceOwnershipType.
|
|
12020
|
+
type EndpointDeviceOwnershipType string
|
|
12021
|
+
|
|
12022
|
+
// EndpointDevicePostureStatus defines model for EndpointDevicePostureStatus.
|
|
12023
|
+
type EndpointDevicePostureStatus string
|
|
12024
|
+
|
|
12025
|
+
// EndpointDeviceRegistrationInput defines model for EndpointDeviceRegistrationInput.
|
|
12026
|
+
type EndpointDeviceRegistrationInput struct {
|
|
12027
|
+
DeviceType EndpointDeviceType `json:"deviceType,omitempty"`
|
|
12028
|
+
Hostname string `json:"hostname,omitempty"`
|
|
12029
|
+
Name string `json:"name"`
|
|
12030
|
+
Platform string `json:"platform"`
|
|
12031
|
+
ReportedFacts *EndpointDeviceReportedFacts `json:"reportedFacts,omitempty"`
|
|
12032
|
+
}
|
|
12033
|
+
|
|
12034
|
+
// EndpointDeviceReportedFacts defines model for EndpointDeviceReportedFacts.
|
|
12035
|
+
type EndpointDeviceReportedFacts struct {
|
|
12036
|
+
AgentVersion string `json:"agentVersion"`
|
|
12037
|
+
Architecture string `json:"architecture"`
|
|
12038
|
+
CollectedAt time.Time `json:"collectedAt"`
|
|
12039
|
+
Manufacturer string `json:"manufacturer,omitempty"`
|
|
12040
|
+
Model string `json:"model,omitempty"`
|
|
12041
|
+
NetworkInterfaces []EndpointNetworkInterface `json:"networkInterfaces"`
|
|
12042
|
+
OsBuild string `json:"osBuild,omitempty"`
|
|
12043
|
+
OsName string `json:"osName,omitempty"`
|
|
12044
|
+
OsVersion string `json:"osVersion,omitempty"`
|
|
12045
|
+
SerialNumber string `json:"serialNumber,omitempty"`
|
|
12046
|
+
}
|
|
12047
|
+
|
|
12048
|
+
// EndpointDeviceStatus defines model for EndpointDeviceStatus.
|
|
12049
|
+
type EndpointDeviceStatus string
|
|
12050
|
+
|
|
12051
|
+
// EndpointDeviceType defines model for EndpointDeviceType.
|
|
12052
|
+
type EndpointDeviceType string
|
|
12053
|
+
|
|
12054
|
+
// EndpointNetworkInterface defines model for EndpointNetworkInterface.
|
|
12055
|
+
type EndpointNetworkInterface struct {
|
|
12056
|
+
DisplayName string `json:"displayName,omitempty"`
|
|
12057
|
+
DNSServers []string `json:"dnsServers,omitempty"`
|
|
12058
|
+
Ipv4Addresses []string `json:"ipv4Addresses"`
|
|
12059
|
+
Ipv6Addresses []string `json:"ipv6Addresses"`
|
|
12060
|
+
Kind EndpointNetworkInterfaceKind `json:"kind"`
|
|
12061
|
+
MacAddress string `json:"macAddress,omitempty"`
|
|
12062
|
+
Name string `json:"name"`
|
|
12063
|
+
Status EndpointNetworkInterfaceStatus `json:"status"`
|
|
12064
|
+
}
|
|
12065
|
+
|
|
12066
|
+
// EndpointNetworkInterfaceKind defines model for EndpointNetworkInterfaceKind.
|
|
12067
|
+
type EndpointNetworkInterfaceKind string
|
|
12068
|
+
|
|
12069
|
+
// EndpointNetworkInterfaceStatus defines model for EndpointNetworkInterfaceStatus.
|
|
12070
|
+
type EndpointNetworkInterfaceStatus string
|
|
12071
|
+
|
|
11062
12072
|
// ErrorEnvelope defines model for ErrorEnvelope.
|
|
11063
12073
|
type ErrorEnvelope struct {
|
|
11064
12074
|
Error struct {
|
|
@@ -15863,9 +16873,12 @@ type LLMUpstreamTestResult struct {
|
|
|
15863
16873
|
|
|
15864
16874
|
// ErrorMessage Redacted error summary.
|
|
15865
16875
|
ErrorMessage string `json:"errorMessage,omitempty"`
|
|
16876
|
+
HTTPStatus int `json:"httpStatus,omitempty"`
|
|
15866
16877
|
ModelCount int `json:"modelCount,omitempty"`
|
|
16878
|
+
Models []string `json:"models,omitempty"`
|
|
15867
16879
|
ProviderKind LLMUpstreamTestResultProviderKind `json:"providerKind"`
|
|
15868
16880
|
Status LLMUpstreamTestResultStatus `json:"status"`
|
|
16881
|
+
UpstreamID string `json:"upstreamId,omitempty"`
|
|
15869
16882
|
UpstreamStatus int `json:"upstreamStatus,omitempty"`
|
|
15870
16883
|
}
|
|
15871
16884
|
|
|
@@ -17182,6 +18195,782 @@ type MultiAgentSubtaskCompletionInput struct {
|
|
|
17182
18195
|
// NativeProviderObject Native provider-compatible JSON. Unknown fields are preserved and responses are not wrapped in an OpenSoha envelope.
|
|
17183
18196
|
type NativeProviderObject map[string]any
|
|
17184
18197
|
|
|
18198
|
+
// NetworkAccessDeviceType defines model for NetworkAccessDeviceType.
|
|
18199
|
+
type NetworkAccessDeviceType string
|
|
18200
|
+
|
|
18201
|
+
// NetworkAccessGrant defines model for NetworkAccessGrant.
|
|
18202
|
+
type NetworkAccessGrant struct {
|
|
18203
|
+
ConsumedAt *time.Time `json:"consumedAt,omitempty"`
|
|
18204
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18205
|
+
CreatedBy string `json:"createdBy"`
|
|
18206
|
+
DeviceID string `json:"deviceId"`
|
|
18207
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
18208
|
+
ID string `json:"id"`
|
|
18209
|
+
Mode NetworkAccessGrantMode `json:"mode"`
|
|
18210
|
+
NetworkSpaceID string `json:"networkSpaceId"`
|
|
18211
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18212
|
+
ReasonCode string `json:"reasonCode,omitempty"`
|
|
18213
|
+
ResourceIDs []string `json:"resourceIds"`
|
|
18214
|
+
ResourceLeaseIDs []string `json:"resourceLeaseIds,omitempty"`
|
|
18215
|
+
RevokedAt *time.Time `json:"revokedAt,omitempty"`
|
|
18216
|
+
SessionID string `json:"sessionId,omitempty"`
|
|
18217
|
+
SiteID string `json:"siteId"`
|
|
18218
|
+
Status NetworkAccessGrantStatus `json:"status"`
|
|
18219
|
+
SubjectID string `json:"subjectId"`
|
|
18220
|
+
}
|
|
18221
|
+
|
|
18222
|
+
// NetworkAccessGrantMode defines model for NetworkAccessGrant.Mode.
|
|
18223
|
+
type NetworkAccessGrantMode string
|
|
18224
|
+
|
|
18225
|
+
// NetworkAccessGrantEnvelope defines model for NetworkAccessGrantEnvelope.
|
|
18226
|
+
type NetworkAccessGrantEnvelope struct {
|
|
18227
|
+
Data NetworkAccessGrant `json:"data"`
|
|
18228
|
+
}
|
|
18229
|
+
|
|
18230
|
+
// NetworkAccessGrantInput defines model for NetworkAccessGrantInput.
|
|
18231
|
+
type NetworkAccessGrantInput struct {
|
|
18232
|
+
DeviceID string `json:"deviceId"`
|
|
18233
|
+
Mode NetworkAccessGrantInputMode `json:"mode"`
|
|
18234
|
+
NetworkSpaceID string `json:"networkSpaceId"`
|
|
18235
|
+
ResourceIDs []string `json:"resourceIds"`
|
|
18236
|
+
SiteID string `json:"siteId"`
|
|
18237
|
+
TTLSeconds int `json:"ttlSeconds,omitempty"`
|
|
18238
|
+
}
|
|
18239
|
+
|
|
18240
|
+
// NetworkAccessGrantInputMode defines model for NetworkAccessGrantInput.Mode.
|
|
18241
|
+
type NetworkAccessGrantInputMode string
|
|
18242
|
+
|
|
18243
|
+
// NetworkAccessGrantListEnvelope defines model for NetworkAccessGrantListEnvelope.
|
|
18244
|
+
type NetworkAccessGrantListEnvelope struct {
|
|
18245
|
+
Items []NetworkAccessGrant `json:"items"`
|
|
18246
|
+
}
|
|
18247
|
+
|
|
18248
|
+
// NetworkAccessGrantSecret defines model for NetworkAccessGrantSecret.
|
|
18249
|
+
type NetworkAccessGrantSecret struct {
|
|
18250
|
+
Grant NetworkAccessGrant `json:"grant"`
|
|
18251
|
+
|
|
18252
|
+
// Token One-time token returned only by the successful create response and consumed by network-control.
|
|
18253
|
+
Token string `json:"token"`
|
|
18254
|
+
}
|
|
18255
|
+
|
|
18256
|
+
// NetworkAccessGrantSecretEnvelope defines model for NetworkAccessGrantSecretEnvelope.
|
|
18257
|
+
type NetworkAccessGrantSecretEnvelope struct {
|
|
18258
|
+
Data NetworkAccessGrantSecret `json:"data"`
|
|
18259
|
+
}
|
|
18260
|
+
|
|
18261
|
+
// NetworkAccessGrantStatus defines model for NetworkAccessGrantStatus.
|
|
18262
|
+
type NetworkAccessGrantStatus string
|
|
18263
|
+
|
|
18264
|
+
// NetworkAccessMedium defines model for NetworkAccessMedium.
|
|
18265
|
+
type NetworkAccessMedium string
|
|
18266
|
+
|
|
18267
|
+
// NetworkAccessMode defines model for NetworkAccessMode.
|
|
18268
|
+
type NetworkAccessMode string
|
|
18269
|
+
|
|
18270
|
+
// NetworkAccessPolicy defines model for NetworkAccessPolicy.
|
|
18271
|
+
type NetworkAccessPolicy struct {
|
|
18272
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18273
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18274
|
+
DeviceStatuses []EndpointDeviceStatus `json:"deviceStatuses"`
|
|
18275
|
+
Effect NetworkPolicyEffect `json:"effect"`
|
|
18276
|
+
Enabled bool `json:"enabled"`
|
|
18277
|
+
ID string `json:"id"`
|
|
18278
|
+
Modes []NetworkAccessMode `json:"modes"`
|
|
18279
|
+
Name string `json:"name"`
|
|
18280
|
+
PostureStatuses []EndpointDevicePostureStatus `json:"postureStatuses"`
|
|
18281
|
+
Priority int `json:"priority"`
|
|
18282
|
+
ResourceIDs []string `json:"resourceIds"`
|
|
18283
|
+
SiteIDs []string `json:"siteIds"`
|
|
18284
|
+
Subjects NetworkPolicySubjects `json:"subjects"`
|
|
18285
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18286
|
+
Version int `json:"version"`
|
|
18287
|
+
}
|
|
18288
|
+
|
|
18289
|
+
// NetworkAccessPolicyEnvelope defines model for NetworkAccessPolicyEnvelope.
|
|
18290
|
+
type NetworkAccessPolicyEnvelope struct {
|
|
18291
|
+
Data NetworkAccessPolicy `json:"data"`
|
|
18292
|
+
}
|
|
18293
|
+
|
|
18294
|
+
// NetworkAccessPolicyInput defines model for NetworkAccessPolicyInput.
|
|
18295
|
+
type NetworkAccessPolicyInput struct {
|
|
18296
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18297
|
+
DeviceStatuses []EndpointDeviceStatus `json:"deviceStatuses"`
|
|
18298
|
+
Effect NetworkPolicyEffect `json:"effect"`
|
|
18299
|
+
Enabled bool `json:"enabled"`
|
|
18300
|
+
Modes []NetworkAccessMode `json:"modes"`
|
|
18301
|
+
Name string `json:"name"`
|
|
18302
|
+
PostureStatuses []EndpointDevicePostureStatus `json:"postureStatuses"`
|
|
18303
|
+
Priority int `json:"priority"`
|
|
18304
|
+
ResourceIDs []string `json:"resourceIds"`
|
|
18305
|
+
SiteIDs []string `json:"siteIds"`
|
|
18306
|
+
Subjects NetworkPolicySubjects `json:"subjects"`
|
|
18307
|
+
}
|
|
18308
|
+
|
|
18309
|
+
// NetworkAccessPolicyListEnvelope defines model for NetworkAccessPolicyListEnvelope.
|
|
18310
|
+
type NetworkAccessPolicyListEnvelope struct {
|
|
18311
|
+
Items []NetworkAccessPolicy `json:"items"`
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
// NetworkAccessProfile defines model for NetworkAccessProfile.
|
|
18315
|
+
type NetworkAccessProfile string
|
|
18316
|
+
|
|
18317
|
+
// NetworkConflict defines model for NetworkConflict.
|
|
18318
|
+
type NetworkConflict struct {
|
|
18319
|
+
Left NetworkConflictRange `json:"left"`
|
|
18320
|
+
Reason NetworkConflictReason `json:"reason"`
|
|
18321
|
+
Right NetworkConflictRange `json:"right"`
|
|
18322
|
+
}
|
|
18323
|
+
|
|
18324
|
+
// NetworkConflictReason defines model for NetworkConflict.Reason.
|
|
18325
|
+
type NetworkConflictReason string
|
|
18326
|
+
|
|
18327
|
+
// NetworkConflictAnalysisEnvelope defines model for NetworkConflictAnalysisEnvelope.
|
|
18328
|
+
type NetworkConflictAnalysisEnvelope struct {
|
|
18329
|
+
Data NetworkConflictAnalysisResult `json:"data"`
|
|
18330
|
+
}
|
|
18331
|
+
|
|
18332
|
+
// NetworkConflictAnalysisRequest defines model for NetworkConflictAnalysisRequest.
|
|
18333
|
+
type NetworkConflictAnalysisRequest struct {
|
|
18334
|
+
RuntimeRanges []NetworkConflictRange `json:"runtimeRanges"`
|
|
18335
|
+
}
|
|
18336
|
+
|
|
18337
|
+
// NetworkConflictAnalysisResult defines model for NetworkConflictAnalysisResult.
|
|
18338
|
+
type NetworkConflictAnalysisResult struct {
|
|
18339
|
+
Conflicts []NetworkConflict `json:"conflicts"`
|
|
18340
|
+
RangesAnalyzed int `json:"rangesAnalyzed"`
|
|
18341
|
+
Valid bool `json:"valid"`
|
|
18342
|
+
Warnings []string `json:"warnings"`
|
|
18343
|
+
}
|
|
18344
|
+
|
|
18345
|
+
// NetworkConflictRange defines model for NetworkConflictRange.
|
|
18346
|
+
type NetworkConflictRange struct {
|
|
18347
|
+
// Cidr IPv4 CIDR accepted by the first network-access slice; consumers must additionally require canonical network addresses.
|
|
18348
|
+
Cidr NetworkIPv4CIDR `json:"cidr"`
|
|
18349
|
+
Name string `json:"name"`
|
|
18350
|
+
SourceID string `json:"sourceId,omitempty"`
|
|
18351
|
+
SourceType NetworkConflictSourceType `json:"sourceType"`
|
|
18352
|
+
}
|
|
18353
|
+
|
|
18354
|
+
// NetworkConflictSourceType defines model for NetworkConflictSourceType.
|
|
18355
|
+
type NetworkConflictSourceType string
|
|
18356
|
+
|
|
18357
|
+
// NetworkConnectionAuthentication defines model for NetworkConnectionAuthentication.
|
|
18358
|
+
type NetworkConnectionAuthentication string
|
|
18359
|
+
|
|
18360
|
+
// NetworkConnectionOption defines model for NetworkConnectionOption.
|
|
18361
|
+
type NetworkConnectionOption struct {
|
|
18362
|
+
AccessMedium NetworkAccessMedium `json:"accessMedium"`
|
|
18363
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18364
|
+
Authentication NetworkConnectionAuthentication `json:"authentication"`
|
|
18365
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18366
|
+
SiteID string `json:"siteId"`
|
|
18367
|
+
SiteName string `json:"siteName"`
|
|
18368
|
+
|
|
18369
|
+
// Ssid Present only for Wi-Fi options.
|
|
18370
|
+
Ssid string `json:"ssid,omitempty"`
|
|
18371
|
+
}
|
|
18372
|
+
|
|
18373
|
+
// NetworkConnectionOptionListEnvelope defines model for NetworkConnectionOptionListEnvelope.
|
|
18374
|
+
type NetworkConnectionOptionListEnvelope struct {
|
|
18375
|
+
Items []NetworkConnectionOption `json:"items"`
|
|
18376
|
+
}
|
|
18377
|
+
|
|
18378
|
+
// NetworkGateway defines model for NetworkGateway.
|
|
18379
|
+
type NetworkGateway struct {
|
|
18380
|
+
AdministrativeStatus NetworkGatewayAdministrativeStatus `json:"administrativeStatus"`
|
|
18381
|
+
AdvertisedCidrs []NetworkIPv4CIDR `json:"advertisedCidrs,omitempty"`
|
|
18382
|
+
AppliedAt *time.Time `json:"appliedAt,omitempty"`
|
|
18383
|
+
Capabilities []string `json:"capabilities,omitempty"`
|
|
18384
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18385
|
+
DNSServers []string `json:"dnsServers"`
|
|
18386
|
+
HubGatewayID string `json:"hubGatewayId,omitempty"`
|
|
18387
|
+
ID string `json:"id"`
|
|
18388
|
+
LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
|
|
18389
|
+
Mtu int `json:"mtu"`
|
|
18390
|
+
Name string `json:"name"`
|
|
18391
|
+
OverlayCidr string `json:"overlayCidr"`
|
|
18392
|
+
PersistentKeepaliveSeconds int `json:"persistentKeepaliveSeconds"`
|
|
18393
|
+
PolicyVersion int `json:"policyVersion,omitempty"`
|
|
18394
|
+
PublicEndpointHost string `json:"publicEndpointHost"`
|
|
18395
|
+
PublicEndpointPort int `json:"publicEndpointPort"`
|
|
18396
|
+
RoutingMode NetworkGatewayRoutingMode `json:"routingMode"`
|
|
18397
|
+
RuntimeID string `json:"runtimeId"`
|
|
18398
|
+
SiteID string `json:"siteId"`
|
|
18399
|
+
Status NetworkGatewayStatus `json:"status"`
|
|
18400
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18401
|
+
Version string `json:"version,omitempty"`
|
|
18402
|
+
WireguardPublicKey string `json:"wireguardPublicKey,omitempty"`
|
|
18403
|
+
}
|
|
18404
|
+
|
|
18405
|
+
// NetworkGatewayAdministrativeStatus defines model for NetworkGatewayAdministrativeStatus.
|
|
18406
|
+
type NetworkGatewayAdministrativeStatus string
|
|
18407
|
+
|
|
18408
|
+
// NetworkGatewayEnvelope defines model for NetworkGatewayEnvelope.
|
|
18409
|
+
type NetworkGatewayEnvelope struct {
|
|
18410
|
+
Data NetworkGateway `json:"data"`
|
|
18411
|
+
}
|
|
18412
|
+
|
|
18413
|
+
// NetworkGatewayInput defines model for NetworkGatewayInput.
|
|
18414
|
+
type NetworkGatewayInput struct {
|
|
18415
|
+
AdministrativeStatus NetworkGatewayAdministrativeStatus `json:"administrativeStatus"`
|
|
18416
|
+
AdvertisedCidrs []NetworkIPv4CIDR `json:"advertisedCidrs,omitempty"`
|
|
18417
|
+
DNSServers []string `json:"dnsServers"`
|
|
18418
|
+
HubGatewayID string `json:"hubGatewayId,omitempty"`
|
|
18419
|
+
Mtu int `json:"mtu"`
|
|
18420
|
+
Name string `json:"name"`
|
|
18421
|
+
OverlayCidr string `json:"overlayCidr"`
|
|
18422
|
+
PersistentKeepaliveSeconds int `json:"persistentKeepaliveSeconds"`
|
|
18423
|
+
PublicEndpointHost string `json:"publicEndpointHost"`
|
|
18424
|
+
PublicEndpointPort int `json:"publicEndpointPort"`
|
|
18425
|
+
RoutingMode NetworkGatewayRoutingMode `json:"routingMode"`
|
|
18426
|
+
RuntimeID string `json:"runtimeId"`
|
|
18427
|
+
SiteID string `json:"siteId"`
|
|
18428
|
+
}
|
|
18429
|
+
|
|
18430
|
+
// NetworkGatewayListEnvelope defines model for NetworkGatewayListEnvelope.
|
|
18431
|
+
type NetworkGatewayListEnvelope struct {
|
|
18432
|
+
Items []NetworkGateway `json:"items"`
|
|
18433
|
+
}
|
|
18434
|
+
|
|
18435
|
+
// NetworkGatewayRoutingMode defines model for NetworkGatewayRoutingMode.
|
|
18436
|
+
type NetworkGatewayRoutingMode string
|
|
18437
|
+
|
|
18438
|
+
// NetworkGatewayStatus defines model for NetworkGatewayStatus.
|
|
18439
|
+
type NetworkGatewayStatus string
|
|
18440
|
+
|
|
18441
|
+
// NetworkIPv4CIDR IPv4 CIDR accepted by the first network-access slice; consumers must additionally require canonical network addresses.
|
|
18442
|
+
type NetworkIPv4CIDR = string
|
|
18443
|
+
|
|
18444
|
+
// NetworkMihomoDNSMode defines model for NetworkMihomoDNSMode.
|
|
18445
|
+
type NetworkMihomoDNSMode string
|
|
18446
|
+
|
|
18447
|
+
// NetworkMihomoManualNodeInput defines model for NetworkMihomoManualNodeInput.
|
|
18448
|
+
type NetworkMihomoManualNodeInput struct {
|
|
18449
|
+
// Password Write-only upstream proxy password.
|
|
18450
|
+
Password string `json:"password,omitempty"`
|
|
18451
|
+
Port int `json:"port"`
|
|
18452
|
+
Protocol NetworkMihomoManualProtocol `json:"protocol"`
|
|
18453
|
+
Server string `json:"server"`
|
|
18454
|
+
Username string `json:"username,omitempty"`
|
|
18455
|
+
}
|
|
18456
|
+
|
|
18457
|
+
// NetworkMihomoManualProtocol defines model for NetworkMihomoManualProtocol.
|
|
18458
|
+
type NetworkMihomoManualProtocol string
|
|
18459
|
+
|
|
18460
|
+
// NetworkMihomoMode defines model for NetworkMihomoMode.
|
|
18461
|
+
type NetworkMihomoMode string
|
|
18462
|
+
|
|
18463
|
+
// NetworkMihomoProfile defines model for NetworkMihomoProfile.
|
|
18464
|
+
type NetworkMihomoProfile struct {
|
|
18465
|
+
BypassCidrs []NetworkIPv4CIDR `json:"bypassCidrs"`
|
|
18466
|
+
BypassHosts []string `json:"bypassHosts"`
|
|
18467
|
+
ControllerPort int `json:"controllerPort"`
|
|
18468
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18469
|
+
DeviceID string `json:"deviceId"`
|
|
18470
|
+
DNSMode NetworkMihomoDNSMode `json:"dnsMode"`
|
|
18471
|
+
FailClosed bool `json:"failClosed"`
|
|
18472
|
+
|
|
18473
|
+
// FakeIPRange IPv4 CIDR accepted by the first network-access slice; consumers must additionally require canonical network addresses.
|
|
18474
|
+
FakeIPRange NetworkIPv4CIDR `json:"fakeIpRange,omitempty"`
|
|
18475
|
+
ID string `json:"id"`
|
|
18476
|
+
ManualNodeConfigured bool `json:"manualNodeConfigured,omitempty"`
|
|
18477
|
+
MixedPort int `json:"mixedPort"`
|
|
18478
|
+
Mode NetworkMihomoMode `json:"mode"`
|
|
18479
|
+
Name string `json:"name"`
|
|
18480
|
+
Revision int `json:"revision"`
|
|
18481
|
+
SelectedProxy string `json:"selectedProxy,omitempty"`
|
|
18482
|
+
SelectorGroup string `json:"selectorGroup"`
|
|
18483
|
+
SourceType NetworkMihomoSourceType `json:"sourceType,omitempty"`
|
|
18484
|
+
Status NetworkMihomoProfileStatus `json:"status"`
|
|
18485
|
+
SubscriptionConfigured bool `json:"subscriptionConfigured"`
|
|
18486
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18487
|
+
}
|
|
18488
|
+
|
|
18489
|
+
// NetworkMihomoProfileEnvelope defines model for NetworkMihomoProfileEnvelope.
|
|
18490
|
+
type NetworkMihomoProfileEnvelope struct {
|
|
18491
|
+
Data NetworkMihomoProfile `json:"data"`
|
|
18492
|
+
}
|
|
18493
|
+
|
|
18494
|
+
// NetworkMihomoProfileInput defines model for NetworkMihomoProfileInput.
|
|
18495
|
+
type NetworkMihomoProfileInput struct {
|
|
18496
|
+
BypassCidrs []NetworkIPv4CIDR `json:"bypassCidrs"`
|
|
18497
|
+
BypassHosts []string `json:"bypassHosts"`
|
|
18498
|
+
ControllerPort int `json:"controllerPort"`
|
|
18499
|
+
DeviceID string `json:"deviceId"`
|
|
18500
|
+
DNSMode NetworkMihomoDNSMode `json:"dnsMode"`
|
|
18501
|
+
FailClosed bool `json:"failClosed"`
|
|
18502
|
+
|
|
18503
|
+
// FakeIPRange IPv4 CIDR accepted by the first network-access slice; consumers must additionally require canonical network addresses.
|
|
18504
|
+
FakeIPRange NetworkIPv4CIDR `json:"fakeIpRange,omitempty"`
|
|
18505
|
+
ManualNode *NetworkMihomoManualNodeInput `json:"manualNode,omitempty"`
|
|
18506
|
+
MixedPort int `json:"mixedPort"`
|
|
18507
|
+
Mode NetworkMihomoMode `json:"mode"`
|
|
18508
|
+
Name string `json:"name"`
|
|
18509
|
+
SelectedProxy string `json:"selectedProxy,omitempty"`
|
|
18510
|
+
SelectorGroup string `json:"selectorGroup"`
|
|
18511
|
+
SourceType NetworkMihomoSourceType `json:"sourceType,omitempty"`
|
|
18512
|
+
Status NetworkMihomoProfileStatus `json:"status"`
|
|
18513
|
+
|
|
18514
|
+
// SubscriptionURL Write-only HTTPS subscription URL encrypted by Soha and released only to the assigned endpoint over mTLS. Required when creating managed_subscription and forbidden for other sources.
|
|
18515
|
+
SubscriptionURL string `json:"subscriptionUrl,omitempty"`
|
|
18516
|
+
}
|
|
18517
|
+
|
|
18518
|
+
// NetworkMihomoProfileListEnvelope defines model for NetworkMihomoProfileListEnvelope.
|
|
18519
|
+
type NetworkMihomoProfileListEnvelope struct {
|
|
18520
|
+
Items []NetworkMihomoProfile `json:"items"`
|
|
18521
|
+
}
|
|
18522
|
+
|
|
18523
|
+
// NetworkMihomoProfileStatus defines model for NetworkMihomoProfileStatus.
|
|
18524
|
+
type NetworkMihomoProfileStatus string
|
|
18525
|
+
|
|
18526
|
+
// NetworkMihomoSourceType defines model for NetworkMihomoSourceType.
|
|
18527
|
+
type NetworkMihomoSourceType string
|
|
18528
|
+
|
|
18529
|
+
// NetworkNASBinding defines model for NetworkNASBinding.
|
|
18530
|
+
type NetworkNASBinding struct {
|
|
18531
|
+
AccessMedium NetworkAccessMedium `json:"accessMedium,omitempty"`
|
|
18532
|
+
CoaSupported bool `json:"coaSupported"`
|
|
18533
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18534
|
+
DeviceType NetworkAccessDeviceType `json:"deviceType,omitempty"`
|
|
18535
|
+
DisconnectSupported bool `json:"disconnectSupported"`
|
|
18536
|
+
ID string `json:"id"`
|
|
18537
|
+
ManagementAddress string `json:"managementAddress,omitempty"`
|
|
18538
|
+
Name string `json:"name"`
|
|
18539
|
+
NasID string `json:"nasId"`
|
|
18540
|
+
RuntimeID string `json:"runtimeId"`
|
|
18541
|
+
SiteID string `json:"siteId"`
|
|
18542
|
+
Ssid string `json:"ssid,omitempty"`
|
|
18543
|
+
Status NetworkNASBindingStatus `json:"status"`
|
|
18544
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18545
|
+
}
|
|
18546
|
+
|
|
18547
|
+
// NetworkNASBindingEnvelope defines model for NetworkNASBindingEnvelope.
|
|
18548
|
+
type NetworkNASBindingEnvelope struct {
|
|
18549
|
+
Data NetworkNASBinding `json:"data"`
|
|
18550
|
+
}
|
|
18551
|
+
|
|
18552
|
+
// NetworkNASBindingInput defines model for NetworkNASBindingInput.
|
|
18553
|
+
type NetworkNASBindingInput struct {
|
|
18554
|
+
AccessMedium NetworkAccessMedium `json:"accessMedium,omitempty"`
|
|
18555
|
+
CoaSupported bool `json:"coaSupported"`
|
|
18556
|
+
DeviceType NetworkAccessDeviceType `json:"deviceType,omitempty"`
|
|
18557
|
+
DisconnectSupported bool `json:"disconnectSupported"`
|
|
18558
|
+
|
|
18559
|
+
// ManagementAddress Administrative IP address or hostname of the switch, access point, or controller. Credentials are never stored here.
|
|
18560
|
+
ManagementAddress string `json:"managementAddress,omitempty"`
|
|
18561
|
+
Name string `json:"name"`
|
|
18562
|
+
NasID string `json:"nasId"`
|
|
18563
|
+
RuntimeID string `json:"runtimeId"`
|
|
18564
|
+
SiteID string `json:"siteId"`
|
|
18565
|
+
|
|
18566
|
+
// Ssid Wi-Fi SSID represented by this logical NAS binding. Omit for wired access.
|
|
18567
|
+
Ssid string `json:"ssid,omitempty"`
|
|
18568
|
+
Status NetworkNASBindingStatus `json:"status"`
|
|
18569
|
+
}
|
|
18570
|
+
|
|
18571
|
+
// NetworkNASBindingListEnvelope defines model for NetworkNASBindingListEnvelope.
|
|
18572
|
+
type NetworkNASBindingListEnvelope struct {
|
|
18573
|
+
Items []NetworkNASBinding `json:"items"`
|
|
18574
|
+
}
|
|
18575
|
+
|
|
18576
|
+
// NetworkNASBindingStatus defines model for NetworkNASBindingStatus.
|
|
18577
|
+
type NetworkNASBindingStatus string
|
|
18578
|
+
|
|
18579
|
+
// NetworkPathMode defines model for NetworkPathMode.
|
|
18580
|
+
type NetworkPathMode string
|
|
18581
|
+
|
|
18582
|
+
// NetworkPolicyDecision defines model for NetworkPolicyDecision.
|
|
18583
|
+
type NetworkPolicyDecision string
|
|
18584
|
+
|
|
18585
|
+
// NetworkPolicyEffect defines model for NetworkPolicyEffect.
|
|
18586
|
+
type NetworkPolicyEffect string
|
|
18587
|
+
|
|
18588
|
+
// NetworkPolicyPath defines model for NetworkPolicyPath.
|
|
18589
|
+
type NetworkPolicyPath string
|
|
18590
|
+
|
|
18591
|
+
// NetworkPolicyPreviewEnvelope defines model for NetworkPolicyPreviewEnvelope.
|
|
18592
|
+
type NetworkPolicyPreviewEnvelope struct {
|
|
18593
|
+
Data NetworkPolicyPreviewResult `json:"data"`
|
|
18594
|
+
}
|
|
18595
|
+
|
|
18596
|
+
// NetworkPolicyPreviewRequest defines model for NetworkPolicyPreviewRequest.
|
|
18597
|
+
type NetworkPolicyPreviewRequest struct {
|
|
18598
|
+
DeviceID string `json:"deviceId"`
|
|
18599
|
+
Mode NetworkAccessMode `json:"mode"`
|
|
18600
|
+
ResourceID string `json:"resourceId"`
|
|
18601
|
+
SiteID string `json:"siteId,omitempty"`
|
|
18602
|
+
SubjectUserID string `json:"subjectUserId"`
|
|
18603
|
+
}
|
|
18604
|
+
|
|
18605
|
+
// NetworkPolicyPreviewResult defines model for NetworkPolicyPreviewResult.
|
|
18606
|
+
type NetworkPolicyPreviewResult struct {
|
|
18607
|
+
Decision NetworkPolicyDecision `json:"decision"`
|
|
18608
|
+
NetworkLeaseRequired bool `json:"networkLeaseRequired"`
|
|
18609
|
+
NetworkProfile string `json:"networkProfile,omitempty"`
|
|
18610
|
+
Path NetworkPolicyPath `json:"path"`
|
|
18611
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18612
|
+
Protected bool `json:"protected"`
|
|
18613
|
+
Reasons []string `json:"reasons"`
|
|
18614
|
+
ResourceLeaseRequired bool `json:"resourceLeaseRequired"`
|
|
18615
|
+
}
|
|
18616
|
+
|
|
18617
|
+
// NetworkPolicySnapshot defines model for NetworkPolicySnapshot.
|
|
18618
|
+
type NetworkPolicySnapshot struct {
|
|
18619
|
+
ContentHash string `json:"contentHash"`
|
|
18620
|
+
PolicyCount int `json:"policyCount"`
|
|
18621
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18622
|
+
ProtectedResourceCount int `json:"protectedResourceCount"`
|
|
18623
|
+
PublishedAt time.Time `json:"publishedAt"`
|
|
18624
|
+
}
|
|
18625
|
+
|
|
18626
|
+
// NetworkPolicySnapshotEnvelope defines model for NetworkPolicySnapshotEnvelope.
|
|
18627
|
+
type NetworkPolicySnapshotEnvelope struct {
|
|
18628
|
+
Data NetworkPolicySnapshot `json:"data"`
|
|
18629
|
+
}
|
|
18630
|
+
|
|
18631
|
+
// NetworkPolicySubjects defines model for NetworkPolicySubjects.
|
|
18632
|
+
type NetworkPolicySubjects struct {
|
|
18633
|
+
Tags []string `json:"tags"`
|
|
18634
|
+
Teams []string `json:"teams"`
|
|
18635
|
+
Users []string `json:"users"`
|
|
18636
|
+
}
|
|
18637
|
+
|
|
18638
|
+
// NetworkProxyFlowSummary defines model for NetworkProxyFlowSummary.
|
|
18639
|
+
type NetworkProxyFlowSummary struct {
|
|
18640
|
+
ActiveConnections int64 `json:"activeConnections"`
|
|
18641
|
+
DownloadBytes int64 `json:"downloadBytes"`
|
|
18642
|
+
Engine string `json:"engine"`
|
|
18643
|
+
LastOccurredAt time.Time `json:"lastOccurredAt"`
|
|
18644
|
+
Mode NetworkMihomoMode `json:"mode"`
|
|
18645
|
+
ProducerID string `json:"producerId"`
|
|
18646
|
+
ProfileID string `json:"profileId"`
|
|
18647
|
+
ProfileRevision int `json:"profileRevision"`
|
|
18648
|
+
SelectedProxy string `json:"selectedProxy"`
|
|
18649
|
+
UploadBytes int64 `json:"uploadBytes"`
|
|
18650
|
+
}
|
|
18651
|
+
|
|
18652
|
+
// NetworkResource defines model for NetworkResource.
|
|
18653
|
+
type NetworkResource struct {
|
|
18654
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18655
|
+
ID string `json:"id"`
|
|
18656
|
+
Kind NetworkResourceKind `json:"kind"`
|
|
18657
|
+
Name string `json:"name"`
|
|
18658
|
+
PathMode NetworkPathMode `json:"pathMode"`
|
|
18659
|
+
Ports []int `json:"ports,omitempty"`
|
|
18660
|
+
Protected bool `json:"protected"`
|
|
18661
|
+
Protocol NetworkResourceProtocol `json:"protocol"`
|
|
18662
|
+
SpaceID string `json:"spaceId"`
|
|
18663
|
+
Target string `json:"target"`
|
|
18664
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18665
|
+
}
|
|
18666
|
+
|
|
18667
|
+
// NetworkResourceEnvelope defines model for NetworkResourceEnvelope.
|
|
18668
|
+
type NetworkResourceEnvelope struct {
|
|
18669
|
+
Data NetworkResource `json:"data"`
|
|
18670
|
+
}
|
|
18671
|
+
|
|
18672
|
+
// NetworkResourceInput defines model for NetworkResourceInput.
|
|
18673
|
+
type NetworkResourceInput struct {
|
|
18674
|
+
Kind NetworkResourceKind `json:"kind"`
|
|
18675
|
+
Name string `json:"name"`
|
|
18676
|
+
PathMode NetworkPathMode `json:"pathMode"`
|
|
18677
|
+
Ports []int `json:"ports,omitempty"`
|
|
18678
|
+
Protected bool `json:"protected"`
|
|
18679
|
+
Protocol NetworkResourceProtocol `json:"protocol"`
|
|
18680
|
+
SpaceID string `json:"spaceId"`
|
|
18681
|
+
Target string `json:"target"`
|
|
18682
|
+
}
|
|
18683
|
+
|
|
18684
|
+
// NetworkResourceKind defines model for NetworkResourceKind.
|
|
18685
|
+
type NetworkResourceKind string
|
|
18686
|
+
|
|
18687
|
+
// NetworkResourceListEnvelope defines model for NetworkResourceListEnvelope.
|
|
18688
|
+
type NetworkResourceListEnvelope struct {
|
|
18689
|
+
Items []NetworkResource `json:"items"`
|
|
18690
|
+
}
|
|
18691
|
+
|
|
18692
|
+
// NetworkResourceProtocol defines model for NetworkResourceProtocol.
|
|
18693
|
+
type NetworkResourceProtocol string
|
|
18694
|
+
|
|
18695
|
+
// NetworkRuntimeEnrollment defines model for NetworkRuntimeEnrollment.
|
|
18696
|
+
type NetworkRuntimeEnrollment struct {
|
|
18697
|
+
ChallengeID string `json:"challengeId"`
|
|
18698
|
+
ConsumedAt *time.Time `json:"consumedAt,omitempty"`
|
|
18699
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18700
|
+
CreatedBy string `json:"createdBy"`
|
|
18701
|
+
DeviceID string `json:"deviceId"`
|
|
18702
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
18703
|
+
ID string `json:"id"`
|
|
18704
|
+
RevokedAt *time.Time `json:"revokedAt,omitempty"`
|
|
18705
|
+
RuntimeID string `json:"runtimeId"`
|
|
18706
|
+
RuntimeKind NetworkRuntimeKind `json:"runtimeKind"`
|
|
18707
|
+
Status NetworkRuntimeEnrollmentStatus `json:"status"`
|
|
18708
|
+
SubjectID string `json:"subjectId"`
|
|
18709
|
+
}
|
|
18710
|
+
|
|
18711
|
+
// NetworkRuntimeEnrollmentEnvelope defines model for NetworkRuntimeEnrollmentEnvelope.
|
|
18712
|
+
type NetworkRuntimeEnrollmentEnvelope struct {
|
|
18713
|
+
Data NetworkRuntimeEnrollment `json:"data"`
|
|
18714
|
+
}
|
|
18715
|
+
|
|
18716
|
+
// NetworkRuntimeEnrollmentInput defines model for NetworkRuntimeEnrollmentInput.
|
|
18717
|
+
type NetworkRuntimeEnrollmentInput struct {
|
|
18718
|
+
DeviceID string `json:"deviceId"`
|
|
18719
|
+
RuntimeID string `json:"runtimeId"`
|
|
18720
|
+
RuntimeKind NetworkRuntimeKind `json:"runtimeKind"`
|
|
18721
|
+
SubjectID string `json:"subjectId"`
|
|
18722
|
+
TTLSeconds int `json:"ttlSeconds,omitempty"`
|
|
18723
|
+
}
|
|
18724
|
+
|
|
18725
|
+
// NetworkRuntimeEnrollmentListEnvelope defines model for NetworkRuntimeEnrollmentListEnvelope.
|
|
18726
|
+
type NetworkRuntimeEnrollmentListEnvelope struct {
|
|
18727
|
+
Items []NetworkRuntimeEnrollment `json:"items"`
|
|
18728
|
+
}
|
|
18729
|
+
|
|
18730
|
+
// NetworkRuntimeEnrollmentSecret defines model for NetworkRuntimeEnrollmentSecret.
|
|
18731
|
+
type NetworkRuntimeEnrollmentSecret struct {
|
|
18732
|
+
Enrollment NetworkRuntimeEnrollment `json:"enrollment"`
|
|
18733
|
+
|
|
18734
|
+
// Token One-time enrollment token returned only by the successful create response.
|
|
18735
|
+
Token string `json:"token"`
|
|
18736
|
+
}
|
|
18737
|
+
|
|
18738
|
+
// NetworkRuntimeEnrollmentSecretEnvelope defines model for NetworkRuntimeEnrollmentSecretEnvelope.
|
|
18739
|
+
type NetworkRuntimeEnrollmentSecretEnvelope struct {
|
|
18740
|
+
Data NetworkRuntimeEnrollmentSecret `json:"data"`
|
|
18741
|
+
}
|
|
18742
|
+
|
|
18743
|
+
// NetworkRuntimeEnrollmentStatus defines model for NetworkRuntimeEnrollmentStatus.
|
|
18744
|
+
type NetworkRuntimeEnrollmentStatus string
|
|
18745
|
+
|
|
18746
|
+
// NetworkRuntimeKind defines model for NetworkRuntimeKind.
|
|
18747
|
+
type NetworkRuntimeKind string
|
|
18748
|
+
|
|
18749
|
+
// NetworkSession defines model for NetworkSession.
|
|
18750
|
+
type NetworkSession struct {
|
|
18751
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18752
|
+
DeviceID string `json:"deviceId"`
|
|
18753
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
18754
|
+
GatewayID string `json:"gatewayId,omitempty"`
|
|
18755
|
+
ID string `json:"id"`
|
|
18756
|
+
Mode NetworkAccessMode `json:"mode"`
|
|
18757
|
+
NasID string `json:"nasId,omitempty"`
|
|
18758
|
+
NetworkLeaseIDs []string `json:"networkLeaseIds"`
|
|
18759
|
+
Path NetworkPolicyPath `json:"path"`
|
|
18760
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18761
|
+
ReasonCode string `json:"reasonCode,omitempty"`
|
|
18762
|
+
ResourceLeaseIDs []string `json:"resourceLeaseIds"`
|
|
18763
|
+
SiteID string `json:"siteId,omitempty"`
|
|
18764
|
+
StartedAt time.Time `json:"startedAt"`
|
|
18765
|
+
Status NetworkSessionStatus `json:"status"`
|
|
18766
|
+
SubjectID string `json:"subjectId"`
|
|
18767
|
+
}
|
|
18768
|
+
|
|
18769
|
+
// NetworkSessionAction defines model for NetworkSessionAction.
|
|
18770
|
+
type NetworkSessionAction string
|
|
18771
|
+
|
|
18772
|
+
// NetworkSessionActionExecuteInput defines model for NetworkSessionActionExecuteInput.
|
|
18773
|
+
type NetworkSessionActionExecuteInput struct {
|
|
18774
|
+
Action NetworkSessionAction `json:"action"`
|
|
18775
|
+
PlanHash string `json:"planHash"`
|
|
18776
|
+
ReasonCode string `json:"reasonCode"`
|
|
18777
|
+
TargetAccessProfile NetworkAccessProfile `json:"targetAccessProfile"`
|
|
18778
|
+
}
|
|
18779
|
+
|
|
18780
|
+
// NetworkSessionActionInput defines model for NetworkSessionActionInput.
|
|
18781
|
+
type NetworkSessionActionInput struct {
|
|
18782
|
+
Action NetworkSessionAction `json:"action"`
|
|
18783
|
+
ReasonCode string `json:"reasonCode"`
|
|
18784
|
+
TargetAccessProfile NetworkAccessProfile `json:"targetAccessProfile"`
|
|
18785
|
+
}
|
|
18786
|
+
|
|
18787
|
+
// NetworkSessionActionPlan defines model for NetworkSessionActionPlan.
|
|
18788
|
+
type NetworkSessionActionPlan struct {
|
|
18789
|
+
CommandExpiresAt time.Time `json:"commandExpiresAt"`
|
|
18790
|
+
CurrentAccessProfile NetworkAccessProfile `json:"currentAccessProfile"`
|
|
18791
|
+
EffectiveAction NetworkSessionAction `json:"effectiveAction"`
|
|
18792
|
+
NasID string `json:"nasId"`
|
|
18793
|
+
PlanHash string `json:"planHash"`
|
|
18794
|
+
ReasonCode string `json:"reasonCode"`
|
|
18795
|
+
RequestedAction NetworkSessionAction `json:"requestedAction"`
|
|
18796
|
+
RuntimeID string `json:"runtimeId"`
|
|
18797
|
+
SessionID string `json:"sessionId"`
|
|
18798
|
+
TargetAccessProfile NetworkAccessProfile `json:"targetAccessProfile"`
|
|
18799
|
+
WillDisconnect bool `json:"willDisconnect"`
|
|
18800
|
+
}
|
|
18801
|
+
|
|
18802
|
+
// NetworkSessionActionPlanEnvelope defines model for NetworkSessionActionPlanEnvelope.
|
|
18803
|
+
type NetworkSessionActionPlanEnvelope struct {
|
|
18804
|
+
Data NetworkSessionActionPlan `json:"data"`
|
|
18805
|
+
}
|
|
18806
|
+
|
|
18807
|
+
// NetworkSessionCommand defines model for NetworkSessionCommand.
|
|
18808
|
+
type NetworkSessionCommand struct {
|
|
18809
|
+
Action NetworkSessionAction `json:"action"`
|
|
18810
|
+
CompletedAt *time.Time `json:"completedAt,omitempty"`
|
|
18811
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18812
|
+
EffectiveAt time.Time `json:"effectiveAt"`
|
|
18813
|
+
ExpiresAt time.Time `json:"expiresAt"`
|
|
18814
|
+
ID string `json:"id"`
|
|
18815
|
+
NasID string `json:"nasId"`
|
|
18816
|
+
PolicyVersion int `json:"policyVersion"`
|
|
18817
|
+
ReasonCode string `json:"reasonCode"`
|
|
18818
|
+
RuntimeID string `json:"runtimeId"`
|
|
18819
|
+
SessionID string `json:"sessionId"`
|
|
18820
|
+
Status NetworkSessionCommandStatus `json:"status"`
|
|
18821
|
+
TargetAccessProfile NetworkAccessProfile `json:"targetAccessProfile"`
|
|
18822
|
+
}
|
|
18823
|
+
|
|
18824
|
+
// NetworkSessionCommandEnvelope defines model for NetworkSessionCommandEnvelope.
|
|
18825
|
+
type NetworkSessionCommandEnvelope struct {
|
|
18826
|
+
Data NetworkSessionCommand `json:"data"`
|
|
18827
|
+
}
|
|
18828
|
+
|
|
18829
|
+
// NetworkSessionCommandStatus defines model for NetworkSessionCommandStatus.
|
|
18830
|
+
type NetworkSessionCommandStatus string
|
|
18831
|
+
|
|
18832
|
+
// NetworkSessionEnvelope defines model for NetworkSessionEnvelope.
|
|
18833
|
+
type NetworkSessionEnvelope struct {
|
|
18834
|
+
Data NetworkSession `json:"data"`
|
|
18835
|
+
}
|
|
18836
|
+
|
|
18837
|
+
// NetworkSessionListEnvelope defines model for NetworkSessionListEnvelope.
|
|
18838
|
+
type NetworkSessionListEnvelope struct {
|
|
18839
|
+
Items []NetworkSession `json:"items"`
|
|
18840
|
+
}
|
|
18841
|
+
|
|
18842
|
+
// NetworkSessionStatus defines model for NetworkSessionStatus.
|
|
18843
|
+
type NetworkSessionStatus string
|
|
18844
|
+
|
|
18845
|
+
// NetworkSite defines model for NetworkSite.
|
|
18846
|
+
type NetworkSite struct {
|
|
18847
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18848
|
+
Description string `json:"description,omitempty"`
|
|
18849
|
+
ID string `json:"id"`
|
|
18850
|
+
Location string `json:"location,omitempty"`
|
|
18851
|
+
Name string `json:"name"`
|
|
18852
|
+
Status NetworkSiteStatus `json:"status"`
|
|
18853
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18854
|
+
}
|
|
18855
|
+
|
|
18856
|
+
// NetworkSiteEnvelope defines model for NetworkSiteEnvelope.
|
|
18857
|
+
type NetworkSiteEnvelope struct {
|
|
18858
|
+
Data NetworkSite `json:"data"`
|
|
18859
|
+
}
|
|
18860
|
+
|
|
18861
|
+
// NetworkSiteInput defines model for NetworkSiteInput.
|
|
18862
|
+
type NetworkSiteInput struct {
|
|
18863
|
+
Description string `json:"description,omitempty"`
|
|
18864
|
+
Location string `json:"location,omitempty"`
|
|
18865
|
+
Name string `json:"name"`
|
|
18866
|
+
Status NetworkSiteStatus `json:"status"`
|
|
18867
|
+
}
|
|
18868
|
+
|
|
18869
|
+
// NetworkSiteListEnvelope defines model for NetworkSiteListEnvelope.
|
|
18870
|
+
type NetworkSiteListEnvelope struct {
|
|
18871
|
+
Items []NetworkSite `json:"items"`
|
|
18872
|
+
}
|
|
18873
|
+
|
|
18874
|
+
// NetworkSiteProfileBinding defines model for NetworkSiteProfileBinding.
|
|
18875
|
+
type NetworkSiteProfileBinding struct {
|
|
18876
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18877
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18878
|
+
FilterID string `json:"filterId,omitempty"`
|
|
18879
|
+
ID string `json:"id"`
|
|
18880
|
+
SessionTimeoutSeconds int `json:"sessionTimeoutSeconds"`
|
|
18881
|
+
SiteID string `json:"siteId"`
|
|
18882
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18883
|
+
VlanID int `json:"vlanId,omitempty"`
|
|
18884
|
+
}
|
|
18885
|
+
|
|
18886
|
+
// NetworkSiteProfileBindingEnvelope defines model for NetworkSiteProfileBindingEnvelope.
|
|
18887
|
+
type NetworkSiteProfileBindingEnvelope struct {
|
|
18888
|
+
Data NetworkSiteProfileBinding `json:"data"`
|
|
18889
|
+
}
|
|
18890
|
+
|
|
18891
|
+
// NetworkSiteProfileBindingInput defines model for NetworkSiteProfileBindingInput.
|
|
18892
|
+
type NetworkSiteProfileBindingInput struct {
|
|
18893
|
+
AccessProfile NetworkAccessProfile `json:"accessProfile"`
|
|
18894
|
+
FilterID string `json:"filterId,omitempty"`
|
|
18895
|
+
SessionTimeoutSeconds int `json:"sessionTimeoutSeconds"`
|
|
18896
|
+
SiteID string `json:"siteId"`
|
|
18897
|
+
VlanID int `json:"vlanId,omitempty"`
|
|
18898
|
+
}
|
|
18899
|
+
|
|
18900
|
+
// NetworkSiteProfileBindingListEnvelope defines model for NetworkSiteProfileBindingListEnvelope.
|
|
18901
|
+
type NetworkSiteProfileBindingListEnvelope struct {
|
|
18902
|
+
Items []NetworkSiteProfileBinding `json:"items"`
|
|
18903
|
+
}
|
|
18904
|
+
|
|
18905
|
+
// NetworkSiteStatus defines model for NetworkSiteStatus.
|
|
18906
|
+
type NetworkSiteStatus string
|
|
18907
|
+
|
|
18908
|
+
// NetworkSpace defines model for NetworkSpace.
|
|
18909
|
+
type NetworkSpace struct {
|
|
18910
|
+
Cidrs []NetworkIPv4CIDR `json:"cidrs"`
|
|
18911
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
18912
|
+
ID string `json:"id"`
|
|
18913
|
+
Name string `json:"name"`
|
|
18914
|
+
SiteID string `json:"siteId"`
|
|
18915
|
+
Status NetworkSpaceStatus `json:"status"`
|
|
18916
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
18917
|
+
}
|
|
18918
|
+
|
|
18919
|
+
// NetworkSpaceEnvelope defines model for NetworkSpaceEnvelope.
|
|
18920
|
+
type NetworkSpaceEnvelope struct {
|
|
18921
|
+
Data NetworkSpace `json:"data"`
|
|
18922
|
+
}
|
|
18923
|
+
|
|
18924
|
+
// NetworkSpaceInput defines model for NetworkSpaceInput.
|
|
18925
|
+
type NetworkSpaceInput struct {
|
|
18926
|
+
Cidrs []NetworkIPv4CIDR `json:"cidrs"`
|
|
18927
|
+
Name string `json:"name"`
|
|
18928
|
+
SiteID string `json:"siteId"`
|
|
18929
|
+
Status NetworkSpaceStatus `json:"status"`
|
|
18930
|
+
}
|
|
18931
|
+
|
|
18932
|
+
// NetworkSpaceListEnvelope defines model for NetworkSpaceListEnvelope.
|
|
18933
|
+
type NetworkSpaceListEnvelope struct {
|
|
18934
|
+
Items []NetworkSpace `json:"items"`
|
|
18935
|
+
}
|
|
18936
|
+
|
|
18937
|
+
// NetworkSpaceStatus defines model for NetworkSpaceStatus.
|
|
18938
|
+
type NetworkSpaceStatus string
|
|
18939
|
+
|
|
18940
|
+
// NetworkTelemetryProducer defines model for NetworkTelemetryProducer.
|
|
18941
|
+
type NetworkTelemetryProducer struct {
|
|
18942
|
+
GapCount int64 `json:"gapCount"`
|
|
18943
|
+
LastSeenAt time.Time `json:"lastSeenAt"`
|
|
18944
|
+
ProducerID string `json:"producerId"`
|
|
18945
|
+
ProducerKind NetworkTelemetryProducerProducerKind `json:"producerKind"`
|
|
18946
|
+
RegressionCount int64 `json:"regressionCount"`
|
|
18947
|
+
}
|
|
18948
|
+
|
|
18949
|
+
// NetworkTelemetryProducerProducerKind defines model for NetworkTelemetryProducer.ProducerKind.
|
|
18950
|
+
type NetworkTelemetryProducerProducerKind string
|
|
18951
|
+
|
|
18952
|
+
// NetworkTelemetrySummary defines model for NetworkTelemetrySummary.
|
|
18953
|
+
type NetworkTelemetrySummary struct {
|
|
18954
|
+
ActiveConnections int64 `json:"activeConnections"`
|
|
18955
|
+
ConnectionSummaryCount int64 `json:"connectionSummaryCount"`
|
|
18956
|
+
DownloadBytes int64 `json:"downloadBytes"`
|
|
18957
|
+
EventCount int64 `json:"eventCount"`
|
|
18958
|
+
From time.Time `json:"from"`
|
|
18959
|
+
HeartbeatCount int64 `json:"heartbeatCount"`
|
|
18960
|
+
NetworkFlowCount int64 `json:"networkFlowCount"`
|
|
18961
|
+
Producers []NetworkTelemetryProducer `json:"producers"`
|
|
18962
|
+
ProxyFlowCount int64 `json:"proxyFlowCount"`
|
|
18963
|
+
ProxyFlows []NetworkProxyFlowSummary `json:"proxyFlows"`
|
|
18964
|
+
RadiusAccountingCount int64 `json:"radiusAccountingCount"`
|
|
18965
|
+
To time.Time `json:"to"`
|
|
18966
|
+
UploadBytes int64 `json:"uploadBytes"`
|
|
18967
|
+
}
|
|
18968
|
+
|
|
18969
|
+
// NetworkTelemetrySummaryEnvelope defines model for NetworkTelemetrySummaryEnvelope.
|
|
18970
|
+
type NetworkTelemetrySummaryEnvelope struct {
|
|
18971
|
+
Data NetworkTelemetrySummary `json:"data"`
|
|
18972
|
+
}
|
|
18973
|
+
|
|
17185
18974
|
// OIDCClient defines model for OIDCClient.
|
|
17186
18975
|
type OIDCClient struct {
|
|
17187
18976
|
AccessTokenTTLSeconds int `json:"accessTokenTtlSeconds,omitempty"`
|
|
@@ -21680,6 +23469,9 @@ type AlertRuleID = string
|
|
|
21680
23469
|
// AnalysisProfileID defines model for AnalysisProfileID.
|
|
21681
23470
|
type AnalysisProfileID = string
|
|
21682
23471
|
|
|
23472
|
+
// AnnouncementID defines model for AnnouncementID.
|
|
23473
|
+
type AnnouncementID = string
|
|
23474
|
+
|
|
21683
23475
|
// ApplicationEnvironmentID defines model for ApplicationEnvironmentID.
|
|
21684
23476
|
type ApplicationEnvironmentID = string
|
|
21685
23477
|
|
|
@@ -22632,6 +24424,14 @@ type ListAlertRuleRunsParams struct {
|
|
|
22632
24424
|
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
22633
24425
|
}
|
|
22634
24426
|
|
|
24427
|
+
// ListAnnouncementReceiptsParams defines parameters for ListAnnouncementReceipts.
|
|
24428
|
+
type ListAnnouncementReceiptsParams struct {
|
|
24429
|
+
Keyword string `form:"keyword,omitempty" json:"keyword,omitempty"`
|
|
24430
|
+
State AnnouncementReceiptState `form:"state,omitempty" json:"state,omitempty"`
|
|
24431
|
+
Page int `form:"page,omitempty" json:"page,omitempty"`
|
|
24432
|
+
PageSize int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
|
|
24433
|
+
}
|
|
24434
|
+
|
|
22635
24435
|
// ListApplicationEnvironmentsParams defines parameters for ListApplicationEnvironments.
|
|
22636
24436
|
type ListApplicationEnvironmentsParams struct {
|
|
22637
24437
|
ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
|
|
@@ -23500,6 +25300,115 @@ type ListGitLabTagsParams struct {
|
|
|
23500
25300
|
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
23501
25301
|
}
|
|
23502
25302
|
|
|
25303
|
+
// ListNetworkAccessGrantsParams defines parameters for ListNetworkAccessGrants.
|
|
25304
|
+
type ListNetworkAccessGrantsParams struct {
|
|
25305
|
+
SubjectID string `form:"subjectId,omitempty" json:"subjectId,omitempty"`
|
|
25306
|
+
DeviceID string `form:"deviceId,omitempty" json:"deviceId,omitempty"`
|
|
25307
|
+
Status NetworkAccessGrantStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25308
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25309
|
+
}
|
|
25310
|
+
|
|
25311
|
+
// ListCurrentNetworkConnectionOptionsParams defines parameters for ListCurrentNetworkConnectionOptions.
|
|
25312
|
+
type ListCurrentNetworkConnectionOptionsParams struct {
|
|
25313
|
+
DeviceID string `form:"deviceId" json:"deviceId"`
|
|
25314
|
+
}
|
|
25315
|
+
|
|
25316
|
+
// ListEndpointDevicesParams defines parameters for ListEndpointDevices.
|
|
25317
|
+
type ListEndpointDevicesParams struct {
|
|
25318
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25319
|
+
Status EndpointDeviceStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25320
|
+
OwnerUserID string `form:"ownerUserId,omitempty" json:"ownerUserId,omitempty"`
|
|
25321
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25322
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25323
|
+
}
|
|
25324
|
+
|
|
25325
|
+
// ListNetworkRuntimeEnrollmentsParams defines parameters for ListNetworkRuntimeEnrollments.
|
|
25326
|
+
type ListNetworkRuntimeEnrollmentsParams struct {
|
|
25327
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25328
|
+
}
|
|
25329
|
+
|
|
25330
|
+
// ListNetworkGatewaysParams defines parameters for ListNetworkGateways.
|
|
25331
|
+
type ListNetworkGatewaysParams struct {
|
|
25332
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25333
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25334
|
+
Status NetworkGatewayStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25335
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25336
|
+
}
|
|
25337
|
+
|
|
25338
|
+
// ListNetworkMihomoProfilesParams defines parameters for ListNetworkMihomoProfiles.
|
|
25339
|
+
type ListNetworkMihomoProfilesParams struct {
|
|
25340
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25341
|
+
DeviceID string `form:"deviceId,omitempty" json:"deviceId,omitempty"`
|
|
25342
|
+
Mode NetworkMihomoMode `form:"mode,omitempty" json:"mode,omitempty"`
|
|
25343
|
+
Status NetworkMihomoProfileStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25344
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25345
|
+
}
|
|
25346
|
+
|
|
25347
|
+
// ListNetworkNASBindingsParams defines parameters for ListNetworkNASBindings.
|
|
25348
|
+
type ListNetworkNASBindingsParams struct {
|
|
25349
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25350
|
+
RuntimeID string `form:"runtimeId,omitempty" json:"runtimeId,omitempty"`
|
|
25351
|
+
Status NetworkNASBindingStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25352
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25353
|
+
}
|
|
25354
|
+
|
|
25355
|
+
// ListNetworkAccessPoliciesParams defines parameters for ListNetworkAccessPolicies.
|
|
25356
|
+
type ListNetworkAccessPoliciesParams struct {
|
|
25357
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25358
|
+
Enabled bool `form:"enabled,omitempty" json:"enabled,omitempty"`
|
|
25359
|
+
Effect NetworkPolicyEffect `form:"effect,omitempty" json:"effect,omitempty"`
|
|
25360
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25361
|
+
}
|
|
25362
|
+
|
|
25363
|
+
// ListNetworkResourcesParams defines parameters for ListNetworkResources.
|
|
25364
|
+
type ListNetworkResourcesParams struct {
|
|
25365
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25366
|
+
SpaceID string `form:"spaceId,omitempty" json:"spaceId,omitempty"`
|
|
25367
|
+
Kind NetworkResourceKind `form:"kind,omitempty" json:"kind,omitempty"`
|
|
25368
|
+
Protected bool `form:"protected,omitempty" json:"protected,omitempty"`
|
|
25369
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25370
|
+
}
|
|
25371
|
+
|
|
25372
|
+
// ListNetworkSessionsParams defines parameters for ListNetworkSessions.
|
|
25373
|
+
type ListNetworkSessionsParams struct {
|
|
25374
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25375
|
+
RuntimeID string `form:"runtimeId,omitempty" json:"runtimeId,omitempty"`
|
|
25376
|
+
SubjectID string `form:"subjectId,omitempty" json:"subjectId,omitempty"`
|
|
25377
|
+
DeviceID string `form:"deviceId,omitempty" json:"deviceId,omitempty"`
|
|
25378
|
+
Status NetworkSessionStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25379
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25380
|
+
}
|
|
25381
|
+
|
|
25382
|
+
// ListNetworkSiteProfileBindingsParams defines parameters for ListNetworkSiteProfileBindings.
|
|
25383
|
+
type ListNetworkSiteProfileBindingsParams struct {
|
|
25384
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25385
|
+
AccessProfile NetworkAccessProfile `form:"accessProfile,omitempty" json:"accessProfile,omitempty"`
|
|
25386
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25387
|
+
}
|
|
25388
|
+
|
|
25389
|
+
// ListNetworkSitesParams defines parameters for ListNetworkSites.
|
|
25390
|
+
type ListNetworkSitesParams struct {
|
|
25391
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25392
|
+
Status NetworkSiteStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25393
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25394
|
+
}
|
|
25395
|
+
|
|
25396
|
+
// ListNetworkSpacesParams defines parameters for ListNetworkSpaces.
|
|
25397
|
+
type ListNetworkSpacesParams struct {
|
|
25398
|
+
Search string `form:"search,omitempty" json:"search,omitempty"`
|
|
25399
|
+
SiteID string `form:"siteId,omitempty" json:"siteId,omitempty"`
|
|
25400
|
+
Status NetworkSpaceStatus `form:"status,omitempty" json:"status,omitempty"`
|
|
25401
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25402
|
+
}
|
|
25403
|
+
|
|
25404
|
+
// GetNetworkTelemetrySummaryParams defines parameters for GetNetworkTelemetrySummary.
|
|
25405
|
+
type GetNetworkTelemetrySummaryParams struct {
|
|
25406
|
+
From time.Time `form:"from,omitempty" json:"from,omitempty"`
|
|
25407
|
+
To time.Time `form:"to,omitempty" json:"to,omitempty"`
|
|
25408
|
+
ProducerID string `form:"producerId,omitempty" json:"producerId,omitempty"`
|
|
25409
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
25410
|
+
}
|
|
25411
|
+
|
|
23503
25412
|
// ListObservabilityMetricCatalogParams defines parameters for ListObservabilityMetricCatalog.
|
|
23504
25413
|
type ListObservabilityMetricCatalogParams struct {
|
|
23505
25414
|
DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
|
|
@@ -23926,6 +25835,9 @@ type UpdateAIGatewayRelayModelRouteJSONRequestBody = LLMModelRouteInput
|
|
|
23926
25835
|
// CreateAIGatewayRelayUpstreamJSONRequestBody defines body for CreateAIGatewayRelayUpstream for application/json ContentType.
|
|
23927
25836
|
type CreateAIGatewayRelayUpstreamJSONRequestBody = LLMUpstreamInput
|
|
23928
25837
|
|
|
25838
|
+
// TestAIGatewayRelayUpstreamDraftJSONRequestBody defines body for TestAIGatewayRelayUpstreamDraft for application/json ContentType.
|
|
25839
|
+
type TestAIGatewayRelayUpstreamDraftJSONRequestBody = LLMUpstreamInput
|
|
25840
|
+
|
|
23929
25841
|
// UpdateAIGatewayRelayUpstreamJSONRequestBody defines body for UpdateAIGatewayRelayUpstream for application/json ContentType.
|
|
23930
25842
|
type UpdateAIGatewayRelayUpstreamJSONRequestBody = LLMUpstreamInput
|
|
23931
25843
|
|
|
@@ -24403,6 +26315,78 @@ type CreateMenuJSONRequestBody = MenuInput
|
|
|
24403
26315
|
// UpdateMenuJSONRequestBody defines body for UpdateMenu for application/json ContentType.
|
|
24404
26316
|
type UpdateMenuJSONRequestBody = MenuInput
|
|
24405
26317
|
|
|
26318
|
+
// CreateNetworkAccessGrantJSONRequestBody defines body for CreateNetworkAccessGrant for application/json ContentType.
|
|
26319
|
+
type CreateNetworkAccessGrantJSONRequestBody = NetworkAccessGrantInput
|
|
26320
|
+
|
|
26321
|
+
// AnalyzeNetworkAccessConflictsJSONRequestBody defines body for AnalyzeNetworkAccessConflicts for application/json ContentType.
|
|
26322
|
+
type AnalyzeNetworkAccessConflictsJSONRequestBody = NetworkConflictAnalysisRequest
|
|
26323
|
+
|
|
26324
|
+
// UpdateEndpointDeviceJSONRequestBody defines body for UpdateEndpointDevice for application/json ContentType.
|
|
26325
|
+
type UpdateEndpointDeviceJSONRequestBody = EndpointDeviceInput
|
|
26326
|
+
|
|
26327
|
+
// RegisterEndpointDeviceJSONRequestBody defines body for RegisterEndpointDevice for application/json ContentType.
|
|
26328
|
+
type RegisterEndpointDeviceJSONRequestBody = EndpointDeviceRegistrationInput
|
|
26329
|
+
|
|
26330
|
+
// CreateNetworkRuntimeEnrollmentJSONRequestBody defines body for CreateNetworkRuntimeEnrollment for application/json ContentType.
|
|
26331
|
+
type CreateNetworkRuntimeEnrollmentJSONRequestBody = NetworkRuntimeEnrollmentInput
|
|
26332
|
+
|
|
26333
|
+
// CreateNetworkGatewayJSONRequestBody defines body for CreateNetworkGateway for application/json ContentType.
|
|
26334
|
+
type CreateNetworkGatewayJSONRequestBody = NetworkGatewayInput
|
|
26335
|
+
|
|
26336
|
+
// UpdateNetworkGatewayJSONRequestBody defines body for UpdateNetworkGateway for application/json ContentType.
|
|
26337
|
+
type UpdateNetworkGatewayJSONRequestBody = NetworkGatewayInput
|
|
26338
|
+
|
|
26339
|
+
// CreateNetworkMihomoProfileJSONRequestBody defines body for CreateNetworkMihomoProfile for application/json ContentType.
|
|
26340
|
+
type CreateNetworkMihomoProfileJSONRequestBody = NetworkMihomoProfileInput
|
|
26341
|
+
|
|
26342
|
+
// UpdateNetworkMihomoProfileJSONRequestBody defines body for UpdateNetworkMihomoProfile for application/json ContentType.
|
|
26343
|
+
type UpdateNetworkMihomoProfileJSONRequestBody = NetworkMihomoProfileInput
|
|
26344
|
+
|
|
26345
|
+
// CreateNetworkNASBindingJSONRequestBody defines body for CreateNetworkNASBinding for application/json ContentType.
|
|
26346
|
+
type CreateNetworkNASBindingJSONRequestBody = NetworkNASBindingInput
|
|
26347
|
+
|
|
26348
|
+
// UpdateNetworkNASBindingJSONRequestBody defines body for UpdateNetworkNASBinding for application/json ContentType.
|
|
26349
|
+
type UpdateNetworkNASBindingJSONRequestBody = NetworkNASBindingInput
|
|
26350
|
+
|
|
26351
|
+
// CreateNetworkAccessPolicyJSONRequestBody defines body for CreateNetworkAccessPolicy for application/json ContentType.
|
|
26352
|
+
type CreateNetworkAccessPolicyJSONRequestBody = NetworkAccessPolicyInput
|
|
26353
|
+
|
|
26354
|
+
// UpdateNetworkAccessPolicyJSONRequestBody defines body for UpdateNetworkAccessPolicy for application/json ContentType.
|
|
26355
|
+
type UpdateNetworkAccessPolicyJSONRequestBody = NetworkAccessPolicyInput
|
|
26356
|
+
|
|
26357
|
+
// PreviewNetworkAccessPolicyJSONRequestBody defines body for PreviewNetworkAccessPolicy for application/json ContentType.
|
|
26358
|
+
type PreviewNetworkAccessPolicyJSONRequestBody = NetworkPolicyPreviewRequest
|
|
26359
|
+
|
|
26360
|
+
// CreateNetworkResourceJSONRequestBody defines body for CreateNetworkResource for application/json ContentType.
|
|
26361
|
+
type CreateNetworkResourceJSONRequestBody = NetworkResourceInput
|
|
26362
|
+
|
|
26363
|
+
// UpdateNetworkResourceJSONRequestBody defines body for UpdateNetworkResource for application/json ContentType.
|
|
26364
|
+
type UpdateNetworkResourceJSONRequestBody = NetworkResourceInput
|
|
26365
|
+
|
|
26366
|
+
// ExecuteNetworkSessionActionJSONRequestBody defines body for ExecuteNetworkSessionAction for application/json ContentType.
|
|
26367
|
+
type ExecuteNetworkSessionActionJSONRequestBody = NetworkSessionActionExecuteInput
|
|
26368
|
+
|
|
26369
|
+
// PlanNetworkSessionActionJSONRequestBody defines body for PlanNetworkSessionAction for application/json ContentType.
|
|
26370
|
+
type PlanNetworkSessionActionJSONRequestBody = NetworkSessionActionInput
|
|
26371
|
+
|
|
26372
|
+
// CreateNetworkSiteProfileBindingJSONRequestBody defines body for CreateNetworkSiteProfileBinding for application/json ContentType.
|
|
26373
|
+
type CreateNetworkSiteProfileBindingJSONRequestBody = NetworkSiteProfileBindingInput
|
|
26374
|
+
|
|
26375
|
+
// UpdateNetworkSiteProfileBindingJSONRequestBody defines body for UpdateNetworkSiteProfileBinding for application/json ContentType.
|
|
26376
|
+
type UpdateNetworkSiteProfileBindingJSONRequestBody = NetworkSiteProfileBindingInput
|
|
26377
|
+
|
|
26378
|
+
// CreateNetworkSiteJSONRequestBody defines body for CreateNetworkSite for application/json ContentType.
|
|
26379
|
+
type CreateNetworkSiteJSONRequestBody = NetworkSiteInput
|
|
26380
|
+
|
|
26381
|
+
// UpdateNetworkSiteJSONRequestBody defines body for UpdateNetworkSite for application/json ContentType.
|
|
26382
|
+
type UpdateNetworkSiteJSONRequestBody = NetworkSiteInput
|
|
26383
|
+
|
|
26384
|
+
// CreateNetworkSpaceJSONRequestBody defines body for CreateNetworkSpace for application/json ContentType.
|
|
26385
|
+
type CreateNetworkSpaceJSONRequestBody = NetworkSpaceInput
|
|
26386
|
+
|
|
26387
|
+
// UpdateNetworkSpaceJSONRequestBody defines body for UpdateNetworkSpace for application/json ContentType.
|
|
26388
|
+
type UpdateNetworkSpaceJSONRequestBody = NetworkSpaceInput
|
|
26389
|
+
|
|
24406
26390
|
// ImportGrafanaDashboardJSONRequestBody defines body for ImportGrafanaDashboard for application/json ContentType.
|
|
24407
26391
|
type ImportGrafanaDashboardJSONRequestBody = ObservabilityGrafanaDashboardImportInput
|
|
24408
26392
|
|