@distilled.cloud/cloudflare 0.2.6 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service magic-cloud-networking
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
@@ -891,22 +892,26 @@ export const GetCatalogSyncResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
891
892
|
Schema.Union([Schema.String, Schema.Null]),
|
|
892
893
|
),
|
|
893
894
|
},
|
|
894
|
-
)
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
)
|
|
895
|
+
)
|
|
896
|
+
.pipe(
|
|
897
|
+
Schema.encodeKeys({
|
|
898
|
+
id: "id",
|
|
899
|
+
description: "description",
|
|
900
|
+
destinationId: "destination_id",
|
|
901
|
+
destinationType: "destination_type",
|
|
902
|
+
lastUserUpdateAt: "last_user_update_at",
|
|
903
|
+
name: "name",
|
|
904
|
+
policy: "policy",
|
|
905
|
+
updateMode: "update_mode",
|
|
906
|
+
errors: "errors",
|
|
907
|
+
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
908
|
+
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
909
|
+
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
910
|
+
}),
|
|
911
|
+
)
|
|
912
|
+
.pipe(
|
|
913
|
+
T.ResponsePath("result"),
|
|
914
|
+
) as unknown as Schema.Schema<GetCatalogSyncResponse>;
|
|
910
915
|
|
|
911
916
|
export type GetCatalogSyncError = DefaultErrors;
|
|
912
917
|
|
|
@@ -935,71 +940,105 @@ export const ListCatalogSyncsRequest =
|
|
|
935
940
|
}),
|
|
936
941
|
) as unknown as Schema.Schema<ListCatalogSyncsRequest>;
|
|
937
942
|
|
|
938
|
-
export
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
943
|
+
export interface ListCatalogSyncsResponse {
|
|
944
|
+
result: {
|
|
945
|
+
id: string;
|
|
946
|
+
description: string;
|
|
947
|
+
destinationId: string;
|
|
948
|
+
destinationType: "NONE" | "ZERO_TRUST_LIST";
|
|
949
|
+
lastUserUpdateAt: string;
|
|
950
|
+
name: string;
|
|
951
|
+
policy: string;
|
|
952
|
+
updateMode: "AUTO" | "MANUAL";
|
|
953
|
+
errors?: Record<string, unknown> | null;
|
|
954
|
+
includesDiscoveriesUntil?: string | null;
|
|
955
|
+
lastAttemptedUpdateAt?: string | null;
|
|
956
|
+
lastSuccessfulUpdateAt?: string | null;
|
|
957
|
+
}[];
|
|
958
|
+
}
|
|
952
959
|
|
|
953
960
|
export const ListCatalogSyncsResponse =
|
|
954
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
955
|
-
Schema.
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
Schema.
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
Schema.
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
Schema.
|
|
961
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
962
|
+
result: Schema.Array(
|
|
963
|
+
Schema.Struct({
|
|
964
|
+
id: Schema.String,
|
|
965
|
+
description: Schema.String,
|
|
966
|
+
destinationId: Schema.String,
|
|
967
|
+
destinationType: Schema.Literals(["NONE", "ZERO_TRUST_LIST"]),
|
|
968
|
+
lastUserUpdateAt: Schema.String,
|
|
969
|
+
name: Schema.String,
|
|
970
|
+
policy: Schema.String,
|
|
971
|
+
updateMode: Schema.Literals(["AUTO", "MANUAL"]),
|
|
972
|
+
errors: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
973
|
+
includesDiscoveriesUntil: Schema.optional(
|
|
974
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
975
|
+
),
|
|
976
|
+
lastAttemptedUpdateAt: Schema.optional(
|
|
977
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
978
|
+
),
|
|
979
|
+
lastSuccessfulUpdateAt: Schema.optional(
|
|
980
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
981
|
+
),
|
|
982
|
+
}).pipe(
|
|
983
|
+
Schema.encodeKeys({
|
|
984
|
+
id: "id",
|
|
985
|
+
description: "description",
|
|
986
|
+
destinationId: "destination_id",
|
|
987
|
+
destinationType: "destination_type",
|
|
988
|
+
lastUserUpdateAt: "last_user_update_at",
|
|
989
|
+
name: "name",
|
|
990
|
+
policy: "policy",
|
|
991
|
+
updateMode: "update_mode",
|
|
992
|
+
errors: "errors",
|
|
993
|
+
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
994
|
+
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
995
|
+
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
996
|
+
}),
|
|
973
997
|
),
|
|
974
|
-
}).pipe(
|
|
975
|
-
Schema.encodeKeys({
|
|
976
|
-
id: "id",
|
|
977
|
-
description: "description",
|
|
978
|
-
destinationId: "destination_id",
|
|
979
|
-
destinationType: "destination_type",
|
|
980
|
-
lastUserUpdateAt: "last_user_update_at",
|
|
981
|
-
name: "name",
|
|
982
|
-
policy: "policy",
|
|
983
|
-
updateMode: "update_mode",
|
|
984
|
-
errors: "errors",
|
|
985
|
-
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
986
|
-
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
987
|
-
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
988
|
-
}),
|
|
989
998
|
),
|
|
990
|
-
) as unknown as Schema.Schema<ListCatalogSyncsResponse>;
|
|
999
|
+
}) as unknown as Schema.Schema<ListCatalogSyncsResponse>;
|
|
991
1000
|
|
|
992
1001
|
export type ListCatalogSyncsError = DefaultErrors;
|
|
993
1002
|
|
|
994
|
-
export const listCatalogSyncs: API.
|
|
1003
|
+
export const listCatalogSyncs: API.PaginatedOperationMethod<
|
|
995
1004
|
ListCatalogSyncsRequest,
|
|
996
1005
|
ListCatalogSyncsResponse,
|
|
997
1006
|
ListCatalogSyncsError,
|
|
998
1007
|
Credentials | HttpClient.HttpClient
|
|
999
|
-
>
|
|
1008
|
+
> & {
|
|
1009
|
+
pages: (
|
|
1010
|
+
input: ListCatalogSyncsRequest,
|
|
1011
|
+
) => stream.Stream<
|
|
1012
|
+
ListCatalogSyncsResponse,
|
|
1013
|
+
ListCatalogSyncsError,
|
|
1014
|
+
Credentials | HttpClient.HttpClient
|
|
1015
|
+
>;
|
|
1016
|
+
items: (input: ListCatalogSyncsRequest) => stream.Stream<
|
|
1017
|
+
{
|
|
1018
|
+
id: string;
|
|
1019
|
+
description: string;
|
|
1020
|
+
destinationId: string;
|
|
1021
|
+
destinationType: "NONE" | "ZERO_TRUST_LIST";
|
|
1022
|
+
lastUserUpdateAt: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
policy: string;
|
|
1025
|
+
updateMode: "AUTO" | "MANUAL";
|
|
1026
|
+
errors?: Record<string, unknown> | null;
|
|
1027
|
+
includesDiscoveriesUntil?: string | null;
|
|
1028
|
+
lastAttemptedUpdateAt?: string | null;
|
|
1029
|
+
lastSuccessfulUpdateAt?: string | null;
|
|
1030
|
+
},
|
|
1031
|
+
ListCatalogSyncsError,
|
|
1032
|
+
Credentials | HttpClient.HttpClient
|
|
1033
|
+
>;
|
|
1034
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1000
1035
|
input: ListCatalogSyncsRequest,
|
|
1001
1036
|
output: ListCatalogSyncsResponse,
|
|
1002
1037
|
errors: [],
|
|
1038
|
+
pagination: {
|
|
1039
|
+
mode: "single",
|
|
1040
|
+
items: "result",
|
|
1041
|
+
} as const,
|
|
1003
1042
|
}));
|
|
1004
1043
|
|
|
1005
1044
|
export interface CreateCatalogSyncRequest {
|
|
@@ -1077,22 +1116,26 @@ export const CreateCatalogSyncResponse =
|
|
|
1077
1116
|
lastSuccessfulUpdateAt: Schema.optional(
|
|
1078
1117
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1079
1118
|
),
|
|
1080
|
-
})
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1119
|
+
})
|
|
1120
|
+
.pipe(
|
|
1121
|
+
Schema.encodeKeys({
|
|
1122
|
+
id: "id",
|
|
1123
|
+
description: "description",
|
|
1124
|
+
destinationId: "destination_id",
|
|
1125
|
+
destinationType: "destination_type",
|
|
1126
|
+
lastUserUpdateAt: "last_user_update_at",
|
|
1127
|
+
name: "name",
|
|
1128
|
+
policy: "policy",
|
|
1129
|
+
updateMode: "update_mode",
|
|
1130
|
+
errors: "errors",
|
|
1131
|
+
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
1132
|
+
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
1133
|
+
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
1134
|
+
}),
|
|
1135
|
+
)
|
|
1136
|
+
.pipe(
|
|
1137
|
+
T.ResponsePath("result"),
|
|
1138
|
+
) as unknown as Schema.Schema<CreateCatalogSyncResponse>;
|
|
1096
1139
|
|
|
1097
1140
|
export type CreateCatalogSyncError = DefaultErrors;
|
|
1098
1141
|
|
|
@@ -1177,22 +1220,26 @@ export const UpdateCatalogSyncResponse =
|
|
|
1177
1220
|
lastSuccessfulUpdateAt: Schema.optional(
|
|
1178
1221
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1179
1222
|
),
|
|
1180
|
-
})
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1223
|
+
})
|
|
1224
|
+
.pipe(
|
|
1225
|
+
Schema.encodeKeys({
|
|
1226
|
+
id: "id",
|
|
1227
|
+
description: "description",
|
|
1228
|
+
destinationId: "destination_id",
|
|
1229
|
+
destinationType: "destination_type",
|
|
1230
|
+
lastUserUpdateAt: "last_user_update_at",
|
|
1231
|
+
name: "name",
|
|
1232
|
+
policy: "policy",
|
|
1233
|
+
updateMode: "update_mode",
|
|
1234
|
+
errors: "errors",
|
|
1235
|
+
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
1236
|
+
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
1237
|
+
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
1238
|
+
}),
|
|
1239
|
+
)
|
|
1240
|
+
.pipe(
|
|
1241
|
+
T.ResponsePath("result"),
|
|
1242
|
+
) as unknown as Schema.Schema<UpdateCatalogSyncResponse>;
|
|
1196
1243
|
|
|
1197
1244
|
export type UpdateCatalogSyncError = DefaultErrors;
|
|
1198
1245
|
|
|
@@ -1277,22 +1324,26 @@ export const PatchCatalogSyncResponse =
|
|
|
1277
1324
|
lastSuccessfulUpdateAt: Schema.optional(
|
|
1278
1325
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1279
1326
|
),
|
|
1280
|
-
})
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1327
|
+
})
|
|
1328
|
+
.pipe(
|
|
1329
|
+
Schema.encodeKeys({
|
|
1330
|
+
id: "id",
|
|
1331
|
+
description: "description",
|
|
1332
|
+
destinationId: "destination_id",
|
|
1333
|
+
destinationType: "destination_type",
|
|
1334
|
+
lastUserUpdateAt: "last_user_update_at",
|
|
1335
|
+
name: "name",
|
|
1336
|
+
policy: "policy",
|
|
1337
|
+
updateMode: "update_mode",
|
|
1338
|
+
errors: "errors",
|
|
1339
|
+
includesDiscoveriesUntil: "includes_discoveries_until",
|
|
1340
|
+
lastAttemptedUpdateAt: "last_attempted_update_at",
|
|
1341
|
+
lastSuccessfulUpdateAt: "last_successful_update_at",
|
|
1342
|
+
}),
|
|
1343
|
+
)
|
|
1344
|
+
.pipe(
|
|
1345
|
+
T.ResponsePath("result"),
|
|
1346
|
+
) as unknown as Schema.Schema<PatchCatalogSyncResponse>;
|
|
1296
1347
|
|
|
1297
1348
|
export type PatchCatalogSyncError = DefaultErrors;
|
|
1298
1349
|
|
|
@@ -1336,7 +1387,9 @@ export interface DeleteCatalogSyncResponse {
|
|
|
1336
1387
|
export const DeleteCatalogSyncResponse =
|
|
1337
1388
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1338
1389
|
id: Schema.String,
|
|
1339
|
-
})
|
|
1390
|
+
}).pipe(
|
|
1391
|
+
T.ResponsePath("result"),
|
|
1392
|
+
) as unknown as Schema.Schema<DeleteCatalogSyncResponse>;
|
|
1340
1393
|
|
|
1341
1394
|
export type DeleteCatalogSyncError = DefaultErrors;
|
|
1342
1395
|
|
|
@@ -1370,7 +1423,9 @@ export const RefreshCatalogSyncRequest =
|
|
|
1370
1423
|
export type RefreshCatalogSyncResponse = string;
|
|
1371
1424
|
|
|
1372
1425
|
export const RefreshCatalogSyncResponse =
|
|
1373
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String
|
|
1426
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String.pipe(
|
|
1427
|
+
T.ResponsePath("result"),
|
|
1428
|
+
) as unknown as Schema.Schema<RefreshCatalogSyncResponse>;
|
|
1374
1429
|
|
|
1375
1430
|
export type RefreshCatalogSyncError = DefaultErrors;
|
|
1376
1431
|
|
|
@@ -1409,43 +1464,69 @@ export const ListCatalogSyncPrebuiltPoliciesRequest =
|
|
|
1409
1464
|
}),
|
|
1410
1465
|
) as unknown as Schema.Schema<ListCatalogSyncPrebuiltPoliciesRequest>;
|
|
1411
1466
|
|
|
1412
|
-
export
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1467
|
+
export interface ListCatalogSyncPrebuiltPoliciesResponse {
|
|
1468
|
+
result: {
|
|
1469
|
+
applicableDestinations: ("NONE" | "ZERO_TRUST_LIST")[];
|
|
1470
|
+
policyDescription: string;
|
|
1471
|
+
policyName: string;
|
|
1472
|
+
policyString: string;
|
|
1473
|
+
}[];
|
|
1474
|
+
}
|
|
1418
1475
|
|
|
1419
1476
|
export const ListCatalogSyncPrebuiltPoliciesResponse =
|
|
1420
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1421
|
-
Schema.
|
|
1422
|
-
|
|
1423
|
-
Schema.
|
|
1477
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1478
|
+
result: Schema.Array(
|
|
1479
|
+
Schema.Struct({
|
|
1480
|
+
applicableDestinations: Schema.Array(
|
|
1481
|
+
Schema.Literals(["NONE", "ZERO_TRUST_LIST"]),
|
|
1482
|
+
),
|
|
1483
|
+
policyDescription: Schema.String,
|
|
1484
|
+
policyName: Schema.String,
|
|
1485
|
+
policyString: Schema.String,
|
|
1486
|
+
}).pipe(
|
|
1487
|
+
Schema.encodeKeys({
|
|
1488
|
+
applicableDestinations: "applicable_destinations",
|
|
1489
|
+
policyDescription: "policy_description",
|
|
1490
|
+
policyName: "policy_name",
|
|
1491
|
+
policyString: "policy_string",
|
|
1492
|
+
}),
|
|
1424
1493
|
),
|
|
1425
|
-
policyDescription: Schema.String,
|
|
1426
|
-
policyName: Schema.String,
|
|
1427
|
-
policyString: Schema.String,
|
|
1428
|
-
}).pipe(
|
|
1429
|
-
Schema.encodeKeys({
|
|
1430
|
-
applicableDestinations: "applicable_destinations",
|
|
1431
|
-
policyDescription: "policy_description",
|
|
1432
|
-
policyName: "policy_name",
|
|
1433
|
-
policyString: "policy_string",
|
|
1434
|
-
}),
|
|
1435
1494
|
),
|
|
1436
|
-
) as unknown as Schema.Schema<ListCatalogSyncPrebuiltPoliciesResponse>;
|
|
1495
|
+
}) as unknown as Schema.Schema<ListCatalogSyncPrebuiltPoliciesResponse>;
|
|
1437
1496
|
|
|
1438
1497
|
export type ListCatalogSyncPrebuiltPoliciesError = DefaultErrors;
|
|
1439
1498
|
|
|
1440
|
-
export const listCatalogSyncPrebuiltPolicies: API.
|
|
1499
|
+
export const listCatalogSyncPrebuiltPolicies: API.PaginatedOperationMethod<
|
|
1441
1500
|
ListCatalogSyncPrebuiltPoliciesRequest,
|
|
1442
1501
|
ListCatalogSyncPrebuiltPoliciesResponse,
|
|
1443
1502
|
ListCatalogSyncPrebuiltPoliciesError,
|
|
1444
1503
|
Credentials | HttpClient.HttpClient
|
|
1445
|
-
>
|
|
1504
|
+
> & {
|
|
1505
|
+
pages: (
|
|
1506
|
+
input: ListCatalogSyncPrebuiltPoliciesRequest,
|
|
1507
|
+
) => stream.Stream<
|
|
1508
|
+
ListCatalogSyncPrebuiltPoliciesResponse,
|
|
1509
|
+
ListCatalogSyncPrebuiltPoliciesError,
|
|
1510
|
+
Credentials | HttpClient.HttpClient
|
|
1511
|
+
>;
|
|
1512
|
+
items: (input: ListCatalogSyncPrebuiltPoliciesRequest) => stream.Stream<
|
|
1513
|
+
{
|
|
1514
|
+
applicableDestinations: ("NONE" | "ZERO_TRUST_LIST")[];
|
|
1515
|
+
policyDescription: string;
|
|
1516
|
+
policyName: string;
|
|
1517
|
+
policyString: string;
|
|
1518
|
+
},
|
|
1519
|
+
ListCatalogSyncPrebuiltPoliciesError,
|
|
1520
|
+
Credentials | HttpClient.HttpClient
|
|
1521
|
+
>;
|
|
1522
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1446
1523
|
input: ListCatalogSyncPrebuiltPoliciesRequest,
|
|
1447
1524
|
output: ListCatalogSyncPrebuiltPoliciesResponse,
|
|
1448
1525
|
errors: [],
|
|
1526
|
+
pagination: {
|
|
1527
|
+
mode: "single",
|
|
1528
|
+
items: "result",
|
|
1529
|
+
} as const,
|
|
1449
1530
|
}));
|
|
1450
1531
|
|
|
1451
1532
|
// =============================================================================
|
|
@@ -1648,24 +1729,28 @@ export const GetCloudIntegrationResponse =
|
|
|
1648
1729
|
Schema.Null,
|
|
1649
1730
|
]),
|
|
1650
1731
|
),
|
|
1651
|
-
})
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1732
|
+
})
|
|
1733
|
+
.pipe(
|
|
1734
|
+
Schema.encodeKeys({
|
|
1735
|
+
id: "id",
|
|
1736
|
+
cloudType: "cloud_type",
|
|
1737
|
+
friendlyName: "friendly_name",
|
|
1738
|
+
lastUpdated: "last_updated",
|
|
1739
|
+
lifecycleState: "lifecycle_state",
|
|
1740
|
+
state: "state",
|
|
1741
|
+
stateV2: "state_v2",
|
|
1742
|
+
awsArn: "aws_arn",
|
|
1743
|
+
azureSubscriptionId: "azure_subscription_id",
|
|
1744
|
+
azureTenantId: "azure_tenant_id",
|
|
1745
|
+
description: "description",
|
|
1746
|
+
gcpProjectId: "gcp_project_id",
|
|
1747
|
+
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
1748
|
+
status: "status",
|
|
1749
|
+
}),
|
|
1750
|
+
)
|
|
1751
|
+
.pipe(
|
|
1752
|
+
T.ResponsePath("result"),
|
|
1753
|
+
) as unknown as Schema.Schema<GetCloudIntegrationResponse>;
|
|
1669
1754
|
|
|
1670
1755
|
export type GetCloudIntegrationError = DefaultErrors;
|
|
1671
1756
|
|
|
@@ -1707,216 +1792,290 @@ export const ListCloudIntegrationsRequest =
|
|
|
1707
1792
|
}),
|
|
1708
1793
|
) as unknown as Schema.Schema<ListCloudIntegrationsRequest>;
|
|
1709
1794
|
|
|
1710
|
-
export
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
}
|
|
1795
|
+
export interface ListCloudIntegrationsResponse {
|
|
1796
|
+
result: {
|
|
1797
|
+
id: string;
|
|
1798
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
1799
|
+
friendlyName: string;
|
|
1800
|
+
lastUpdated: string;
|
|
1801
|
+
lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
|
|
1802
|
+
state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
|
|
1803
|
+
stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
|
|
1804
|
+
awsArn?: string | null;
|
|
1805
|
+
azureSubscriptionId?: string | null;
|
|
1806
|
+
azureTenantId?: string | null;
|
|
1807
|
+
description?: string | null;
|
|
1808
|
+
gcpProjectId?: string | null;
|
|
1809
|
+
gcpServiceAccountEmail?: string | null;
|
|
1810
|
+
status?: {
|
|
1811
|
+
discoveryProgress: { done: number; total: number; unit: string };
|
|
1812
|
+
discoveryProgressV2: { done: number; total: number; unit: string };
|
|
1813
|
+
lastDiscoveryStatus:
|
|
1814
|
+
| "UNSPECIFIED"
|
|
1815
|
+
| "PENDING"
|
|
1816
|
+
| "DISCOVERING"
|
|
1817
|
+
| "FAILED"
|
|
1818
|
+
| "SUCCEEDED";
|
|
1819
|
+
lastDiscoveryStatusV2:
|
|
1820
|
+
| "UNSPECIFIED"
|
|
1821
|
+
| "PENDING"
|
|
1822
|
+
| "DISCOVERING"
|
|
1823
|
+
| "FAILED"
|
|
1824
|
+
| "SUCCEEDED";
|
|
1825
|
+
regions: string[];
|
|
1826
|
+
credentialsGoodSince?: string | null;
|
|
1827
|
+
credentialsMissingSince?: string | null;
|
|
1828
|
+
credentialsRejectedSince?: string | null;
|
|
1829
|
+
discoveryMessage?: string | null;
|
|
1830
|
+
discoveryMessageV2?: string | null;
|
|
1831
|
+
inUseBy?:
|
|
1832
|
+
| { id: string; clientType: "MAGIC_WAN_CLOUD_ONRAMP"; name: string }[]
|
|
1833
|
+
| null;
|
|
1834
|
+
lastDiscoveryCompletedAt?: string | null;
|
|
1835
|
+
lastDiscoveryCompletedAtV2?: string | null;
|
|
1836
|
+
lastDiscoveryStartedAt?: string | null;
|
|
1837
|
+
lastDiscoveryStartedAtV2?: string | null;
|
|
1838
|
+
lastUpdated?: string | null;
|
|
1839
|
+
} | null;
|
|
1840
|
+
}[];
|
|
1841
|
+
}
|
|
1755
1842
|
|
|
1756
1843
|
export const ListCloudIntegrationsResponse =
|
|
1757
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
1758
|
-
Schema.
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
Schema.
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
Schema.
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
"FAILED",
|
|
1815
|
-
"SUCCEEDED",
|
|
1816
|
-
]),
|
|
1817
|
-
regions: Schema.Array(Schema.String),
|
|
1818
|
-
credentialsGoodSince: Schema.optional(
|
|
1819
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1820
|
-
),
|
|
1821
|
-
credentialsMissingSince: Schema.optional(
|
|
1822
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1823
|
-
),
|
|
1824
|
-
credentialsRejectedSince: Schema.optional(
|
|
1825
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1826
|
-
),
|
|
1827
|
-
discoveryMessage: Schema.optional(
|
|
1828
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1829
|
-
),
|
|
1830
|
-
discoveryMessageV2: Schema.optional(
|
|
1831
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
1832
|
-
),
|
|
1833
|
-
inUseBy: Schema.optional(
|
|
1834
|
-
Schema.Union([
|
|
1835
|
-
Schema.Array(
|
|
1836
|
-
Schema.Struct({
|
|
1837
|
-
id: Schema.String,
|
|
1838
|
-
clientType: Schema.Literal("MAGIC_WAN_CLOUD_ONRAMP"),
|
|
1839
|
-
name: Schema.String,
|
|
1840
|
-
}).pipe(
|
|
1841
|
-
Schema.encodeKeys({
|
|
1842
|
-
id: "id",
|
|
1843
|
-
clientType: "client_type",
|
|
1844
|
-
name: "name",
|
|
1845
|
-
}),
|
|
1846
|
-
),
|
|
1847
|
-
),
|
|
1848
|
-
Schema.Null,
|
|
1844
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1845
|
+
result: Schema.Array(
|
|
1846
|
+
Schema.Struct({
|
|
1847
|
+
id: Schema.String,
|
|
1848
|
+
cloudType: Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
|
|
1849
|
+
friendlyName: Schema.String,
|
|
1850
|
+
lastUpdated: Schema.String,
|
|
1851
|
+
lifecycleState: Schema.Literals(["ACTIVE", "PENDING_SETUP", "RETIRED"]),
|
|
1852
|
+
state: Schema.Literals([
|
|
1853
|
+
"UNSPECIFIED",
|
|
1854
|
+
"PENDING",
|
|
1855
|
+
"DISCOVERING",
|
|
1856
|
+
"FAILED",
|
|
1857
|
+
"SUCCEEDED",
|
|
1858
|
+
]),
|
|
1859
|
+
stateV2: Schema.Literals([
|
|
1860
|
+
"UNSPECIFIED",
|
|
1861
|
+
"PENDING",
|
|
1862
|
+
"DISCOVERING",
|
|
1863
|
+
"FAILED",
|
|
1864
|
+
"SUCCEEDED",
|
|
1865
|
+
]),
|
|
1866
|
+
awsArn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1867
|
+
azureSubscriptionId: Schema.optional(
|
|
1868
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1869
|
+
),
|
|
1870
|
+
azureTenantId: Schema.optional(
|
|
1871
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1872
|
+
),
|
|
1873
|
+
description: Schema.optional(
|
|
1874
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1875
|
+
),
|
|
1876
|
+
gcpProjectId: Schema.optional(
|
|
1877
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1878
|
+
),
|
|
1879
|
+
gcpServiceAccountEmail: Schema.optional(
|
|
1880
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1881
|
+
),
|
|
1882
|
+
status: Schema.optional(
|
|
1883
|
+
Schema.Union([
|
|
1884
|
+
Schema.Struct({
|
|
1885
|
+
discoveryProgress: Schema.Struct({
|
|
1886
|
+
done: Schema.Number,
|
|
1887
|
+
total: Schema.Number,
|
|
1888
|
+
unit: Schema.String,
|
|
1889
|
+
}),
|
|
1890
|
+
discoveryProgressV2: Schema.Struct({
|
|
1891
|
+
done: Schema.Number,
|
|
1892
|
+
total: Schema.Number,
|
|
1893
|
+
unit: Schema.String,
|
|
1894
|
+
}),
|
|
1895
|
+
lastDiscoveryStatus: Schema.Literals([
|
|
1896
|
+
"UNSPECIFIED",
|
|
1897
|
+
"PENDING",
|
|
1898
|
+
"DISCOVERING",
|
|
1899
|
+
"FAILED",
|
|
1900
|
+
"SUCCEEDED",
|
|
1849
1901
|
]),
|
|
1902
|
+
lastDiscoveryStatusV2: Schema.Literals([
|
|
1903
|
+
"UNSPECIFIED",
|
|
1904
|
+
"PENDING",
|
|
1905
|
+
"DISCOVERING",
|
|
1906
|
+
"FAILED",
|
|
1907
|
+
"SUCCEEDED",
|
|
1908
|
+
]),
|
|
1909
|
+
regions: Schema.Array(Schema.String),
|
|
1910
|
+
credentialsGoodSince: Schema.optional(
|
|
1911
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1912
|
+
),
|
|
1913
|
+
credentialsMissingSince: Schema.optional(
|
|
1914
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1915
|
+
),
|
|
1916
|
+
credentialsRejectedSince: Schema.optional(
|
|
1917
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1918
|
+
),
|
|
1919
|
+
discoveryMessage: Schema.optional(
|
|
1920
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1921
|
+
),
|
|
1922
|
+
discoveryMessageV2: Schema.optional(
|
|
1923
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1924
|
+
),
|
|
1925
|
+
inUseBy: Schema.optional(
|
|
1926
|
+
Schema.Union([
|
|
1927
|
+
Schema.Array(
|
|
1928
|
+
Schema.Struct({
|
|
1929
|
+
id: Schema.String,
|
|
1930
|
+
clientType: Schema.Literal("MAGIC_WAN_CLOUD_ONRAMP"),
|
|
1931
|
+
name: Schema.String,
|
|
1932
|
+
}).pipe(
|
|
1933
|
+
Schema.encodeKeys({
|
|
1934
|
+
id: "id",
|
|
1935
|
+
clientType: "client_type",
|
|
1936
|
+
name: "name",
|
|
1937
|
+
}),
|
|
1938
|
+
),
|
|
1939
|
+
),
|
|
1940
|
+
Schema.Null,
|
|
1941
|
+
]),
|
|
1942
|
+
),
|
|
1943
|
+
lastDiscoveryCompletedAt: Schema.optional(
|
|
1944
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1945
|
+
),
|
|
1946
|
+
lastDiscoveryCompletedAtV2: Schema.optional(
|
|
1947
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1948
|
+
),
|
|
1949
|
+
lastDiscoveryStartedAt: Schema.optional(
|
|
1950
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1951
|
+
),
|
|
1952
|
+
lastDiscoveryStartedAtV2: Schema.optional(
|
|
1953
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1954
|
+
),
|
|
1955
|
+
lastUpdated: Schema.optional(
|
|
1956
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1957
|
+
),
|
|
1958
|
+
}).pipe(
|
|
1959
|
+
Schema.encodeKeys({
|
|
1960
|
+
discoveryProgress: "discovery_progress",
|
|
1961
|
+
discoveryProgressV2: "discovery_progress_v2",
|
|
1962
|
+
lastDiscoveryStatus: "last_discovery_status",
|
|
1963
|
+
lastDiscoveryStatusV2: "last_discovery_status_v2",
|
|
1964
|
+
regions: "regions",
|
|
1965
|
+
credentialsGoodSince: "credentials_good_since",
|
|
1966
|
+
credentialsMissingSince: "credentials_missing_since",
|
|
1967
|
+
credentialsRejectedSince: "credentials_rejected_since",
|
|
1968
|
+
discoveryMessage: "discovery_message",
|
|
1969
|
+
discoveryMessageV2: "discovery_message_v2",
|
|
1970
|
+
inUseBy: "in_use_by",
|
|
1971
|
+
lastDiscoveryCompletedAt: "last_discovery_completed_at",
|
|
1972
|
+
lastDiscoveryCompletedAtV2: "last_discovery_completed_at_v2",
|
|
1973
|
+
lastDiscoveryStartedAt: "last_discovery_started_at",
|
|
1974
|
+
lastDiscoveryStartedAtV2: "last_discovery_started_at_v2",
|
|
1975
|
+
lastUpdated: "last_updated",
|
|
1976
|
+
}),
|
|
1850
1977
|
),
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
lastDiscoveryStatusV2: "last_discovery_status_v2",
|
|
1872
|
-
regions: "regions",
|
|
1873
|
-
credentialsGoodSince: "credentials_good_since",
|
|
1874
|
-
credentialsMissingSince: "credentials_missing_since",
|
|
1875
|
-
credentialsRejectedSince: "credentials_rejected_since",
|
|
1876
|
-
discoveryMessage: "discovery_message",
|
|
1877
|
-
discoveryMessageV2: "discovery_message_v2",
|
|
1878
|
-
inUseBy: "in_use_by",
|
|
1879
|
-
lastDiscoveryCompletedAt: "last_discovery_completed_at",
|
|
1880
|
-
lastDiscoveryCompletedAtV2: "last_discovery_completed_at_v2",
|
|
1881
|
-
lastDiscoveryStartedAt: "last_discovery_started_at",
|
|
1882
|
-
lastDiscoveryStartedAtV2: "last_discovery_started_at_v2",
|
|
1883
|
-
lastUpdated: "last_updated",
|
|
1884
|
-
}),
|
|
1885
|
-
),
|
|
1886
|
-
Schema.Null,
|
|
1887
|
-
]),
|
|
1978
|
+
Schema.Null,
|
|
1979
|
+
]),
|
|
1980
|
+
),
|
|
1981
|
+
}).pipe(
|
|
1982
|
+
Schema.encodeKeys({
|
|
1983
|
+
id: "id",
|
|
1984
|
+
cloudType: "cloud_type",
|
|
1985
|
+
friendlyName: "friendly_name",
|
|
1986
|
+
lastUpdated: "last_updated",
|
|
1987
|
+
lifecycleState: "lifecycle_state",
|
|
1988
|
+
state: "state",
|
|
1989
|
+
stateV2: "state_v2",
|
|
1990
|
+
awsArn: "aws_arn",
|
|
1991
|
+
azureSubscriptionId: "azure_subscription_id",
|
|
1992
|
+
azureTenantId: "azure_tenant_id",
|
|
1993
|
+
description: "description",
|
|
1994
|
+
gcpProjectId: "gcp_project_id",
|
|
1995
|
+
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
1996
|
+
status: "status",
|
|
1997
|
+
}),
|
|
1888
1998
|
),
|
|
1889
|
-
}).pipe(
|
|
1890
|
-
Schema.encodeKeys({
|
|
1891
|
-
id: "id",
|
|
1892
|
-
cloudType: "cloud_type",
|
|
1893
|
-
friendlyName: "friendly_name",
|
|
1894
|
-
lastUpdated: "last_updated",
|
|
1895
|
-
lifecycleState: "lifecycle_state",
|
|
1896
|
-
state: "state",
|
|
1897
|
-
stateV2: "state_v2",
|
|
1898
|
-
awsArn: "aws_arn",
|
|
1899
|
-
azureSubscriptionId: "azure_subscription_id",
|
|
1900
|
-
azureTenantId: "azure_tenant_id",
|
|
1901
|
-
description: "description",
|
|
1902
|
-
gcpProjectId: "gcp_project_id",
|
|
1903
|
-
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
1904
|
-
status: "status",
|
|
1905
|
-
}),
|
|
1906
1999
|
),
|
|
1907
|
-
) as unknown as Schema.Schema<ListCloudIntegrationsResponse>;
|
|
2000
|
+
}) as unknown as Schema.Schema<ListCloudIntegrationsResponse>;
|
|
1908
2001
|
|
|
1909
2002
|
export type ListCloudIntegrationsError = DefaultErrors;
|
|
1910
2003
|
|
|
1911
|
-
export const listCloudIntegrations: API.
|
|
2004
|
+
export const listCloudIntegrations: API.PaginatedOperationMethod<
|
|
1912
2005
|
ListCloudIntegrationsRequest,
|
|
1913
2006
|
ListCloudIntegrationsResponse,
|
|
1914
2007
|
ListCloudIntegrationsError,
|
|
1915
2008
|
Credentials | HttpClient.HttpClient
|
|
1916
|
-
>
|
|
2009
|
+
> & {
|
|
2010
|
+
pages: (
|
|
2011
|
+
input: ListCloudIntegrationsRequest,
|
|
2012
|
+
) => stream.Stream<
|
|
2013
|
+
ListCloudIntegrationsResponse,
|
|
2014
|
+
ListCloudIntegrationsError,
|
|
2015
|
+
Credentials | HttpClient.HttpClient
|
|
2016
|
+
>;
|
|
2017
|
+
items: (input: ListCloudIntegrationsRequest) => stream.Stream<
|
|
2018
|
+
{
|
|
2019
|
+
id: string;
|
|
2020
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
2021
|
+
friendlyName: string;
|
|
2022
|
+
lastUpdated: string;
|
|
2023
|
+
lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
|
|
2024
|
+
state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
|
|
2025
|
+
stateV2:
|
|
2026
|
+
| "UNSPECIFIED"
|
|
2027
|
+
| "PENDING"
|
|
2028
|
+
| "DISCOVERING"
|
|
2029
|
+
| "FAILED"
|
|
2030
|
+
| "SUCCEEDED";
|
|
2031
|
+
awsArn?: string | null;
|
|
2032
|
+
azureSubscriptionId?: string | null;
|
|
2033
|
+
azureTenantId?: string | null;
|
|
2034
|
+
description?: string | null;
|
|
2035
|
+
gcpProjectId?: string | null;
|
|
2036
|
+
gcpServiceAccountEmail?: string | null;
|
|
2037
|
+
status?: {
|
|
2038
|
+
discoveryProgress: { done: number; total: number; unit: string };
|
|
2039
|
+
discoveryProgressV2: { done: number; total: number; unit: string };
|
|
2040
|
+
lastDiscoveryStatus:
|
|
2041
|
+
| "UNSPECIFIED"
|
|
2042
|
+
| "PENDING"
|
|
2043
|
+
| "DISCOVERING"
|
|
2044
|
+
| "FAILED"
|
|
2045
|
+
| "SUCCEEDED";
|
|
2046
|
+
lastDiscoveryStatusV2:
|
|
2047
|
+
| "UNSPECIFIED"
|
|
2048
|
+
| "PENDING"
|
|
2049
|
+
| "DISCOVERING"
|
|
2050
|
+
| "FAILED"
|
|
2051
|
+
| "SUCCEEDED";
|
|
2052
|
+
regions: string[];
|
|
2053
|
+
credentialsGoodSince?: string | null;
|
|
2054
|
+
credentialsMissingSince?: string | null;
|
|
2055
|
+
credentialsRejectedSince?: string | null;
|
|
2056
|
+
discoveryMessage?: string | null;
|
|
2057
|
+
discoveryMessageV2?: string | null;
|
|
2058
|
+
inUseBy?:
|
|
2059
|
+
| { id: string; clientType: "MAGIC_WAN_CLOUD_ONRAMP"; name: string }[]
|
|
2060
|
+
| null;
|
|
2061
|
+
lastDiscoveryCompletedAt?: string | null;
|
|
2062
|
+
lastDiscoveryCompletedAtV2?: string | null;
|
|
2063
|
+
lastDiscoveryStartedAt?: string | null;
|
|
2064
|
+
lastDiscoveryStartedAtV2?: string | null;
|
|
2065
|
+
lastUpdated?: string | null;
|
|
2066
|
+
} | null;
|
|
2067
|
+
},
|
|
2068
|
+
ListCloudIntegrationsError,
|
|
2069
|
+
Credentials | HttpClient.HttpClient
|
|
2070
|
+
>;
|
|
2071
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
1917
2072
|
input: ListCloudIntegrationsRequest,
|
|
1918
2073
|
output: ListCloudIntegrationsResponse,
|
|
1919
2074
|
errors: [],
|
|
2075
|
+
pagination: {
|
|
2076
|
+
mode: "single",
|
|
2077
|
+
items: "result",
|
|
2078
|
+
} as const,
|
|
1920
2079
|
}));
|
|
1921
2080
|
|
|
1922
2081
|
export interface CreateCloudIntegrationRequest {
|
|
@@ -2127,24 +2286,28 @@ export const CreateCloudIntegrationResponse =
|
|
|
2127
2286
|
Schema.Null,
|
|
2128
2287
|
]),
|
|
2129
2288
|
),
|
|
2130
|
-
})
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2289
|
+
})
|
|
2290
|
+
.pipe(
|
|
2291
|
+
Schema.encodeKeys({
|
|
2292
|
+
id: "id",
|
|
2293
|
+
cloudType: "cloud_type",
|
|
2294
|
+
friendlyName: "friendly_name",
|
|
2295
|
+
lastUpdated: "last_updated",
|
|
2296
|
+
lifecycleState: "lifecycle_state",
|
|
2297
|
+
state: "state",
|
|
2298
|
+
stateV2: "state_v2",
|
|
2299
|
+
awsArn: "aws_arn",
|
|
2300
|
+
azureSubscriptionId: "azure_subscription_id",
|
|
2301
|
+
azureTenantId: "azure_tenant_id",
|
|
2302
|
+
description: "description",
|
|
2303
|
+
gcpProjectId: "gcp_project_id",
|
|
2304
|
+
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
2305
|
+
status: "status",
|
|
2306
|
+
}),
|
|
2307
|
+
)
|
|
2308
|
+
.pipe(
|
|
2309
|
+
T.ResponsePath("result"),
|
|
2310
|
+
) as unknown as Schema.Schema<CreateCloudIntegrationResponse>;
|
|
2148
2311
|
|
|
2149
2312
|
export type CreateCloudIntegrationError = DefaultErrors;
|
|
2150
2313
|
|
|
@@ -2382,24 +2545,28 @@ export const UpdateCloudIntegrationResponse =
|
|
|
2382
2545
|
Schema.Null,
|
|
2383
2546
|
]),
|
|
2384
2547
|
),
|
|
2385
|
-
})
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2548
|
+
})
|
|
2549
|
+
.pipe(
|
|
2550
|
+
Schema.encodeKeys({
|
|
2551
|
+
id: "id",
|
|
2552
|
+
cloudType: "cloud_type",
|
|
2553
|
+
friendlyName: "friendly_name",
|
|
2554
|
+
lastUpdated: "last_updated",
|
|
2555
|
+
lifecycleState: "lifecycle_state",
|
|
2556
|
+
state: "state",
|
|
2557
|
+
stateV2: "state_v2",
|
|
2558
|
+
awsArn: "aws_arn",
|
|
2559
|
+
azureSubscriptionId: "azure_subscription_id",
|
|
2560
|
+
azureTenantId: "azure_tenant_id",
|
|
2561
|
+
description: "description",
|
|
2562
|
+
gcpProjectId: "gcp_project_id",
|
|
2563
|
+
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
2564
|
+
status: "status",
|
|
2565
|
+
}),
|
|
2566
|
+
)
|
|
2567
|
+
.pipe(
|
|
2568
|
+
T.ResponsePath("result"),
|
|
2569
|
+
) as unknown as Schema.Schema<UpdateCloudIntegrationResponse>;
|
|
2403
2570
|
|
|
2404
2571
|
export type UpdateCloudIntegrationError = DefaultErrors;
|
|
2405
2572
|
|
|
@@ -2637,24 +2804,28 @@ export const PatchCloudIntegrationResponse =
|
|
|
2637
2804
|
Schema.Null,
|
|
2638
2805
|
]),
|
|
2639
2806
|
),
|
|
2640
|
-
})
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2807
|
+
})
|
|
2808
|
+
.pipe(
|
|
2809
|
+
Schema.encodeKeys({
|
|
2810
|
+
id: "id",
|
|
2811
|
+
cloudType: "cloud_type",
|
|
2812
|
+
friendlyName: "friendly_name",
|
|
2813
|
+
lastUpdated: "last_updated",
|
|
2814
|
+
lifecycleState: "lifecycle_state",
|
|
2815
|
+
state: "state",
|
|
2816
|
+
stateV2: "state_v2",
|
|
2817
|
+
awsArn: "aws_arn",
|
|
2818
|
+
azureSubscriptionId: "azure_subscription_id",
|
|
2819
|
+
azureTenantId: "azure_tenant_id",
|
|
2820
|
+
description: "description",
|
|
2821
|
+
gcpProjectId: "gcp_project_id",
|
|
2822
|
+
gcpServiceAccountEmail: "gcp_service_account_email",
|
|
2823
|
+
status: "status",
|
|
2824
|
+
}),
|
|
2825
|
+
)
|
|
2826
|
+
.pipe(
|
|
2827
|
+
T.ResponsePath("result"),
|
|
2828
|
+
) as unknown as Schema.Schema<PatchCloudIntegrationResponse>;
|
|
2658
2829
|
|
|
2659
2830
|
export type PatchCloudIntegrationError = DefaultErrors;
|
|
2660
2831
|
|
|
@@ -2692,7 +2863,9 @@ export interface DeleteCloudIntegrationResponse {
|
|
|
2692
2863
|
export const DeleteCloudIntegrationResponse =
|
|
2693
2864
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2694
2865
|
id: Schema.String,
|
|
2695
|
-
})
|
|
2866
|
+
}).pipe(
|
|
2867
|
+
T.ResponsePath("result"),
|
|
2868
|
+
) as unknown as Schema.Schema<DeleteCloudIntegrationResponse>;
|
|
2696
2869
|
|
|
2697
2870
|
export type DeleteCloudIntegrationError = DefaultErrors;
|
|
2698
2871
|
|
|
@@ -3962,470 +4135,8 @@ export const GetOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3962
4135
|
vpcsByIdUnavailable: Schema.optional(
|
|
3963
4136
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3964
4137
|
),
|
|
3965
|
-
})
|
|
3966
|
-
|
|
3967
|
-
id: "id",
|
|
3968
|
-
cloudType: "cloud_type",
|
|
3969
|
-
dynamicRouting: "dynamic_routing",
|
|
3970
|
-
installRoutesInCloud: "install_routes_in_cloud",
|
|
3971
|
-
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
3972
|
-
name: "name",
|
|
3973
|
-
type: "type",
|
|
3974
|
-
updatedAt: "updated_at",
|
|
3975
|
-
attachedHubs: "attached_hubs",
|
|
3976
|
-
attachedVpcs: "attached_vpcs",
|
|
3977
|
-
cloudAsn: "cloud_asn",
|
|
3978
|
-
description: "description",
|
|
3979
|
-
hub: "hub",
|
|
3980
|
-
lastAppliedAt: "last_applied_at",
|
|
3981
|
-
lastExportedAt: "last_exported_at",
|
|
3982
|
-
lastPlannedAt: "last_planned_at",
|
|
3983
|
-
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
3984
|
-
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
3985
|
-
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
3986
|
-
plannedResources: "planned_resources",
|
|
3987
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
3988
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
3989
|
-
postApplyResources: "post_apply_resources",
|
|
3990
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
3991
|
-
region: "region",
|
|
3992
|
-
status: "status",
|
|
3993
|
-
vpc: "vpc",
|
|
3994
|
-
vpcsById: "vpcs_by_id",
|
|
3995
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
3996
|
-
}),
|
|
3997
|
-
) as unknown as Schema.Schema<GetOnRampResponse>;
|
|
3998
|
-
|
|
3999
|
-
export type GetOnRampError = DefaultErrors;
|
|
4000
|
-
|
|
4001
|
-
export const getOnRamp: API.OperationMethod<
|
|
4002
|
-
GetOnRampRequest,
|
|
4003
|
-
GetOnRampResponse,
|
|
4004
|
-
GetOnRampError,
|
|
4005
|
-
Credentials | HttpClient.HttpClient
|
|
4006
|
-
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4007
|
-
input: GetOnRampRequest,
|
|
4008
|
-
output: GetOnRampResponse,
|
|
4009
|
-
errors: [],
|
|
4010
|
-
}));
|
|
4011
|
-
|
|
4012
|
-
export interface ListOnRampsRequest {
|
|
4013
|
-
/** Path param: */
|
|
4014
|
-
accountId: string;
|
|
4015
|
-
/** Query param: */
|
|
4016
|
-
desc?: boolean;
|
|
4017
|
-
/** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
|
|
4018
|
-
orderBy?: string;
|
|
4019
|
-
/** Query param: */
|
|
4020
|
-
status?: boolean;
|
|
4021
|
-
/** Query param: */
|
|
4022
|
-
vpcs?: boolean;
|
|
4023
|
-
}
|
|
4024
|
-
|
|
4025
|
-
export const ListOnRampsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4026
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4027
|
-
desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
|
|
4028
|
-
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
|
|
4029
|
-
status: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("status")),
|
|
4030
|
-
vpcs: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("vpcs")),
|
|
4031
|
-
}).pipe(
|
|
4032
|
-
T.Http({ method: "GET", path: "/accounts/{account_id}/magic/cloud/onramps" }),
|
|
4033
|
-
) as unknown as Schema.Schema<ListOnRampsRequest>;
|
|
4034
|
-
|
|
4035
|
-
export type ListOnRampsResponse = {
|
|
4036
|
-
id: string;
|
|
4037
|
-
cloudType: "AWS" | "AZURE" | "GOOGLE";
|
|
4038
|
-
dynamicRouting: boolean;
|
|
4039
|
-
installRoutesInCloud: boolean;
|
|
4040
|
-
installRoutesInMagicWan: boolean;
|
|
4041
|
-
name: string;
|
|
4042
|
-
type: "OnrampTypeSingle" | "OnrampTypeHub";
|
|
4043
|
-
updatedAt: string;
|
|
4044
|
-
attachedHubs?: string[] | null;
|
|
4045
|
-
attachedVpcs?: string[] | null;
|
|
4046
|
-
cloudAsn?: number | null;
|
|
4047
|
-
description?: string | null;
|
|
4048
|
-
hub?: string | null;
|
|
4049
|
-
lastAppliedAt?: string | null;
|
|
4050
|
-
lastExportedAt?: string | null;
|
|
4051
|
-
lastPlannedAt?: string | null;
|
|
4052
|
-
manageHubToHubAttachments?: boolean | null;
|
|
4053
|
-
manageVpcToHubAttachments?: boolean | null;
|
|
4054
|
-
plannedMonthlyCostEstimate?: {
|
|
4055
|
-
currency: string;
|
|
4056
|
-
currentMonthlyCost: number;
|
|
4057
|
-
diff: number;
|
|
4058
|
-
proposedMonthlyCost: number;
|
|
4059
|
-
} | null;
|
|
4060
|
-
plannedResources?:
|
|
4061
|
-
| {
|
|
4062
|
-
diff: {
|
|
4063
|
-
diff: string;
|
|
4064
|
-
leftDescription: string;
|
|
4065
|
-
leftYaml: string;
|
|
4066
|
-
rightDescription: string;
|
|
4067
|
-
rightYaml: string;
|
|
4068
|
-
};
|
|
4069
|
-
keysRequireReplace: string[];
|
|
4070
|
-
monthlyCostEstimateDiff: {
|
|
4071
|
-
currency: string;
|
|
4072
|
-
currentMonthlyCost: number;
|
|
4073
|
-
diff: number;
|
|
4074
|
-
proposedMonthlyCost: number;
|
|
4075
|
-
};
|
|
4076
|
-
plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
|
|
4077
|
-
resource: {
|
|
4078
|
-
id: string;
|
|
4079
|
-
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
4080
|
-
detail: string;
|
|
4081
|
-
name: string;
|
|
4082
|
-
resourceType:
|
|
4083
|
-
| "aws_customer_gateway"
|
|
4084
|
-
| "aws_egress_only_internet_gateway"
|
|
4085
|
-
| "aws_internet_gateway"
|
|
4086
|
-
| "aws_instance"
|
|
4087
|
-
| "aws_network_interface"
|
|
4088
|
-
| "aws_route"
|
|
4089
|
-
| "aws_route_table"
|
|
4090
|
-
| "aws_route_table_association"
|
|
4091
|
-
| "aws_subnet"
|
|
4092
|
-
| "aws_vpc"
|
|
4093
|
-
| "aws_vpc_ipv4_cidr_block_association"
|
|
4094
|
-
| "aws_vpn_connection"
|
|
4095
|
-
| "aws_vpn_connection_route"
|
|
4096
|
-
| "aws_vpn_gateway"
|
|
4097
|
-
| "aws_security_group"
|
|
4098
|
-
| "aws_vpc_security_group_ingress_rule"
|
|
4099
|
-
| "aws_vpc_security_group_egress_rule"
|
|
4100
|
-
| "aws_ec2_managed_prefix_list"
|
|
4101
|
-
| "aws_ec2_transit_gateway"
|
|
4102
|
-
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
4103
|
-
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
4104
|
-
| "azurerm_application_security_group"
|
|
4105
|
-
| "azurerm_lb"
|
|
4106
|
-
| "azurerm_lb_backend_address_pool"
|
|
4107
|
-
| "azurerm_lb_nat_pool"
|
|
4108
|
-
| "azurerm_lb_nat_rule"
|
|
4109
|
-
| "azurerm_lb_rule"
|
|
4110
|
-
| "azurerm_local_network_gateway"
|
|
4111
|
-
| "azurerm_network_interface"
|
|
4112
|
-
| "azurerm_network_interface_application_security_group_association"
|
|
4113
|
-
| "azurerm_network_interface_backend_address_pool_association"
|
|
4114
|
-
| "azurerm_network_interface_security_group_association"
|
|
4115
|
-
| "azurerm_network_security_group"
|
|
4116
|
-
| "azurerm_public_ip"
|
|
4117
|
-
| "azurerm_route"
|
|
4118
|
-
| "azurerm_route_table"
|
|
4119
|
-
| "azurerm_subnet"
|
|
4120
|
-
| "azurerm_subnet_route_table_association"
|
|
4121
|
-
| "azurerm_virtual_machine"
|
|
4122
|
-
| "azurerm_virtual_network_gateway_connection"
|
|
4123
|
-
| "azurerm_virtual_network"
|
|
4124
|
-
| "azurerm_virtual_network_gateway"
|
|
4125
|
-
| "google_compute_network"
|
|
4126
|
-
| "google_compute_subnetwork"
|
|
4127
|
-
| "google_compute_vpn_gateway"
|
|
4128
|
-
| "google_compute_vpn_tunnel"
|
|
4129
|
-
| "google_compute_route"
|
|
4130
|
-
| "google_compute_address"
|
|
4131
|
-
| "google_compute_global_address"
|
|
4132
|
-
| "google_compute_router"
|
|
4133
|
-
| "google_compute_interconnect_attachment"
|
|
4134
|
-
| "google_compute_ha_vpn_gateway"
|
|
4135
|
-
| "google_compute_forwarding_rule"
|
|
4136
|
-
| "google_compute_network_firewall_policy"
|
|
4137
|
-
| "google_compute_network_firewall_policy_rule"
|
|
4138
|
-
| "cloudflare_static_route"
|
|
4139
|
-
| "cloudflare_ipsec_tunnel";
|
|
4140
|
-
title: string;
|
|
4141
|
-
};
|
|
4142
|
-
}[]
|
|
4143
|
-
| null;
|
|
4144
|
-
plannedResourcesUnavailable?: boolean | null;
|
|
4145
|
-
postApplyMonthlyCostEstimate?: {
|
|
4146
|
-
currency: string;
|
|
4147
|
-
monthlyCost: number;
|
|
4148
|
-
} | null;
|
|
4149
|
-
postApplyResources?: Record<string, unknown> | null;
|
|
4150
|
-
postApplyResourcesUnavailable?: boolean | null;
|
|
4151
|
-
region?: string | null;
|
|
4152
|
-
status?: {
|
|
4153
|
-
applyProgress: { done: number; total: number };
|
|
4154
|
-
lifecycleState:
|
|
4155
|
-
| "OnrampNeedsApply"
|
|
4156
|
-
| "OnrampPendingPlan"
|
|
4157
|
-
| "OnrampPlanning"
|
|
4158
|
-
| "OnrampPlanFailed"
|
|
4159
|
-
| "OnrampPendingApproval"
|
|
4160
|
-
| "OnrampPendingApply"
|
|
4161
|
-
| "OnrampApplying"
|
|
4162
|
-
| "OnrampApplyFailed"
|
|
4163
|
-
| "OnrampActive"
|
|
4164
|
-
| "OnrampPendingDestroy"
|
|
4165
|
-
| "OnrampDestroying"
|
|
4166
|
-
| "OnrampDestroyFailed";
|
|
4167
|
-
planProgress: { done: number; total: number };
|
|
4168
|
-
routes: string[];
|
|
4169
|
-
tunnels: string[];
|
|
4170
|
-
lifecycleErrors?: Record<string, unknown> | null;
|
|
4171
|
-
} | null;
|
|
4172
|
-
vpc?: string | null;
|
|
4173
|
-
vpcsById?: Record<string, unknown> | null;
|
|
4174
|
-
vpcsByIdUnavailable?: string[] | null;
|
|
4175
|
-
}[];
|
|
4176
|
-
|
|
4177
|
-
export const ListOnRampsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
4178
|
-
Schema.Struct({
|
|
4179
|
-
id: Schema.String,
|
|
4180
|
-
cloudType: Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
4181
|
-
dynamicRouting: Schema.Boolean,
|
|
4182
|
-
installRoutesInCloud: Schema.Boolean,
|
|
4183
|
-
installRoutesInMagicWan: Schema.Boolean,
|
|
4184
|
-
name: Schema.String,
|
|
4185
|
-
type: Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
4186
|
-
updatedAt: Schema.String,
|
|
4187
|
-
attachedHubs: Schema.optional(
|
|
4188
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4189
|
-
),
|
|
4190
|
-
attachedVpcs: Schema.optional(
|
|
4191
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4192
|
-
),
|
|
4193
|
-
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4194
|
-
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4195
|
-
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4196
|
-
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4197
|
-
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4198
|
-
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4199
|
-
manageHubToHubAttachments: Schema.optional(
|
|
4200
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4201
|
-
),
|
|
4202
|
-
manageVpcToHubAttachments: Schema.optional(
|
|
4203
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4204
|
-
),
|
|
4205
|
-
plannedMonthlyCostEstimate: Schema.optional(
|
|
4206
|
-
Schema.Union([
|
|
4207
|
-
Schema.Struct({
|
|
4208
|
-
currency: Schema.String,
|
|
4209
|
-
currentMonthlyCost: Schema.Number,
|
|
4210
|
-
diff: Schema.Number,
|
|
4211
|
-
proposedMonthlyCost: Schema.Number,
|
|
4212
|
-
}).pipe(
|
|
4213
|
-
Schema.encodeKeys({
|
|
4214
|
-
currency: "currency",
|
|
4215
|
-
currentMonthlyCost: "current_monthly_cost",
|
|
4216
|
-
diff: "diff",
|
|
4217
|
-
proposedMonthlyCost: "proposed_monthly_cost",
|
|
4218
|
-
}),
|
|
4219
|
-
),
|
|
4220
|
-
Schema.Null,
|
|
4221
|
-
]),
|
|
4222
|
-
),
|
|
4223
|
-
plannedResources: Schema.optional(
|
|
4224
|
-
Schema.Union([
|
|
4225
|
-
Schema.Array(
|
|
4226
|
-
Schema.Struct({
|
|
4227
|
-
diff: Schema.Struct({
|
|
4228
|
-
diff: Schema.String,
|
|
4229
|
-
leftDescription: Schema.String,
|
|
4230
|
-
leftYaml: Schema.String,
|
|
4231
|
-
rightDescription: Schema.String,
|
|
4232
|
-
rightYaml: Schema.String,
|
|
4233
|
-
}).pipe(
|
|
4234
|
-
Schema.encodeKeys({
|
|
4235
|
-
diff: "diff",
|
|
4236
|
-
leftDescription: "left_description",
|
|
4237
|
-
leftYaml: "left_yaml",
|
|
4238
|
-
rightDescription: "right_description",
|
|
4239
|
-
rightYaml: "right_yaml",
|
|
4240
|
-
}),
|
|
4241
|
-
),
|
|
4242
|
-
keysRequireReplace: Schema.Array(Schema.String),
|
|
4243
|
-
monthlyCostEstimateDiff: Schema.Struct({
|
|
4244
|
-
currency: Schema.String,
|
|
4245
|
-
currentMonthlyCost: Schema.Number,
|
|
4246
|
-
diff: Schema.Number,
|
|
4247
|
-
proposedMonthlyCost: Schema.Number,
|
|
4248
|
-
}).pipe(
|
|
4249
|
-
Schema.encodeKeys({
|
|
4250
|
-
currency: "currency",
|
|
4251
|
-
currentMonthlyCost: "current_monthly_cost",
|
|
4252
|
-
diff: "diff",
|
|
4253
|
-
proposedMonthlyCost: "proposed_monthly_cost",
|
|
4254
|
-
}),
|
|
4255
|
-
),
|
|
4256
|
-
plannedAction: Schema.Literals([
|
|
4257
|
-
"no_op",
|
|
4258
|
-
"create",
|
|
4259
|
-
"update",
|
|
4260
|
-
"replace",
|
|
4261
|
-
"destroy",
|
|
4262
|
-
]),
|
|
4263
|
-
resource: Schema.Struct({
|
|
4264
|
-
id: Schema.String,
|
|
4265
|
-
cloudType: Schema.Literals([
|
|
4266
|
-
"AWS",
|
|
4267
|
-
"AZURE",
|
|
4268
|
-
"GOOGLE",
|
|
4269
|
-
"CLOUDFLARE",
|
|
4270
|
-
]),
|
|
4271
|
-
detail: Schema.String,
|
|
4272
|
-
name: Schema.String,
|
|
4273
|
-
resourceType: Schema.Literals([
|
|
4274
|
-
"aws_customer_gateway",
|
|
4275
|
-
"aws_egress_only_internet_gateway",
|
|
4276
|
-
"aws_internet_gateway",
|
|
4277
|
-
"aws_instance",
|
|
4278
|
-
"aws_network_interface",
|
|
4279
|
-
"aws_route",
|
|
4280
|
-
"aws_route_table",
|
|
4281
|
-
"aws_route_table_association",
|
|
4282
|
-
"aws_subnet",
|
|
4283
|
-
"aws_vpc",
|
|
4284
|
-
"aws_vpc_ipv4_cidr_block_association",
|
|
4285
|
-
"aws_vpn_connection",
|
|
4286
|
-
"aws_vpn_connection_route",
|
|
4287
|
-
"aws_vpn_gateway",
|
|
4288
|
-
"aws_security_group",
|
|
4289
|
-
"aws_vpc_security_group_ingress_rule",
|
|
4290
|
-
"aws_vpc_security_group_egress_rule",
|
|
4291
|
-
"aws_ec2_managed_prefix_list",
|
|
4292
|
-
"aws_ec2_transit_gateway",
|
|
4293
|
-
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
4294
|
-
"aws_ec2_transit_gateway_vpc_attachment",
|
|
4295
|
-
"azurerm_application_security_group",
|
|
4296
|
-
"azurerm_lb",
|
|
4297
|
-
"azurerm_lb_backend_address_pool",
|
|
4298
|
-
"azurerm_lb_nat_pool",
|
|
4299
|
-
"azurerm_lb_nat_rule",
|
|
4300
|
-
"azurerm_lb_rule",
|
|
4301
|
-
"azurerm_local_network_gateway",
|
|
4302
|
-
"azurerm_network_interface",
|
|
4303
|
-
"azurerm_network_interface_application_security_group_association",
|
|
4304
|
-
"azurerm_network_interface_backend_address_pool_association",
|
|
4305
|
-
"azurerm_network_interface_security_group_association",
|
|
4306
|
-
"azurerm_network_security_group",
|
|
4307
|
-
"azurerm_public_ip",
|
|
4308
|
-
"azurerm_route",
|
|
4309
|
-
"azurerm_route_table",
|
|
4310
|
-
"azurerm_subnet",
|
|
4311
|
-
"azurerm_subnet_route_table_association",
|
|
4312
|
-
"azurerm_virtual_machine",
|
|
4313
|
-
"azurerm_virtual_network_gateway_connection",
|
|
4314
|
-
"azurerm_virtual_network",
|
|
4315
|
-
"azurerm_virtual_network_gateway",
|
|
4316
|
-
"google_compute_network",
|
|
4317
|
-
"google_compute_subnetwork",
|
|
4318
|
-
"google_compute_vpn_gateway",
|
|
4319
|
-
"google_compute_vpn_tunnel",
|
|
4320
|
-
"google_compute_route",
|
|
4321
|
-
"google_compute_address",
|
|
4322
|
-
"google_compute_global_address",
|
|
4323
|
-
"google_compute_router",
|
|
4324
|
-
"google_compute_interconnect_attachment",
|
|
4325
|
-
"google_compute_ha_vpn_gateway",
|
|
4326
|
-
"google_compute_forwarding_rule",
|
|
4327
|
-
"google_compute_network_firewall_policy",
|
|
4328
|
-
"google_compute_network_firewall_policy_rule",
|
|
4329
|
-
"cloudflare_static_route",
|
|
4330
|
-
"cloudflare_ipsec_tunnel",
|
|
4331
|
-
]),
|
|
4332
|
-
title: Schema.String,
|
|
4333
|
-
}).pipe(
|
|
4334
|
-
Schema.encodeKeys({
|
|
4335
|
-
id: "id",
|
|
4336
|
-
cloudType: "cloud_type",
|
|
4337
|
-
detail: "detail",
|
|
4338
|
-
name: "name",
|
|
4339
|
-
resourceType: "resource_type",
|
|
4340
|
-
title: "title",
|
|
4341
|
-
}),
|
|
4342
|
-
),
|
|
4343
|
-
}).pipe(
|
|
4344
|
-
Schema.encodeKeys({
|
|
4345
|
-
diff: "diff",
|
|
4346
|
-
keysRequireReplace: "keys_require_replace",
|
|
4347
|
-
monthlyCostEstimateDiff: "monthly_cost_estimate_diff",
|
|
4348
|
-
plannedAction: "planned_action",
|
|
4349
|
-
resource: "resource",
|
|
4350
|
-
}),
|
|
4351
|
-
),
|
|
4352
|
-
),
|
|
4353
|
-
Schema.Null,
|
|
4354
|
-
]),
|
|
4355
|
-
),
|
|
4356
|
-
plannedResourcesUnavailable: Schema.optional(
|
|
4357
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4358
|
-
),
|
|
4359
|
-
postApplyMonthlyCostEstimate: Schema.optional(
|
|
4360
|
-
Schema.Union([
|
|
4361
|
-
Schema.Struct({
|
|
4362
|
-
currency: Schema.String,
|
|
4363
|
-
monthlyCost: Schema.Number,
|
|
4364
|
-
}).pipe(
|
|
4365
|
-
Schema.encodeKeys({
|
|
4366
|
-
currency: "currency",
|
|
4367
|
-
monthlyCost: "monthly_cost",
|
|
4368
|
-
}),
|
|
4369
|
-
),
|
|
4370
|
-
Schema.Null,
|
|
4371
|
-
]),
|
|
4372
|
-
),
|
|
4373
|
-
postApplyResources: Schema.optional(
|
|
4374
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
4375
|
-
),
|
|
4376
|
-
postApplyResourcesUnavailable: Schema.optional(
|
|
4377
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4378
|
-
),
|
|
4379
|
-
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4380
|
-
status: Schema.optional(
|
|
4381
|
-
Schema.Union([
|
|
4382
|
-
Schema.Struct({
|
|
4383
|
-
applyProgress: Schema.Struct({
|
|
4384
|
-
done: Schema.Number,
|
|
4385
|
-
total: Schema.Number,
|
|
4386
|
-
}),
|
|
4387
|
-
lifecycleState: Schema.Literals([
|
|
4388
|
-
"OnrampNeedsApply",
|
|
4389
|
-
"OnrampPendingPlan",
|
|
4390
|
-
"OnrampPlanning",
|
|
4391
|
-
"OnrampPlanFailed",
|
|
4392
|
-
"OnrampPendingApproval",
|
|
4393
|
-
"OnrampPendingApply",
|
|
4394
|
-
"OnrampApplying",
|
|
4395
|
-
"OnrampApplyFailed",
|
|
4396
|
-
"OnrampActive",
|
|
4397
|
-
"OnrampPendingDestroy",
|
|
4398
|
-
"OnrampDestroying",
|
|
4399
|
-
"OnrampDestroyFailed",
|
|
4400
|
-
]),
|
|
4401
|
-
planProgress: Schema.Struct({
|
|
4402
|
-
done: Schema.Number,
|
|
4403
|
-
total: Schema.Number,
|
|
4404
|
-
}),
|
|
4405
|
-
routes: Schema.Array(Schema.String),
|
|
4406
|
-
tunnels: Schema.Array(Schema.String),
|
|
4407
|
-
lifecycleErrors: Schema.optional(
|
|
4408
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
4409
|
-
),
|
|
4410
|
-
}).pipe(
|
|
4411
|
-
Schema.encodeKeys({
|
|
4412
|
-
applyProgress: "apply_progress",
|
|
4413
|
-
lifecycleState: "lifecycle_state",
|
|
4414
|
-
planProgress: "plan_progress",
|
|
4415
|
-
routes: "routes",
|
|
4416
|
-
tunnels: "tunnels",
|
|
4417
|
-
lifecycleErrors: "lifecycle_errors",
|
|
4418
|
-
}),
|
|
4419
|
-
),
|
|
4420
|
-
Schema.Null,
|
|
4421
|
-
]),
|
|
4422
|
-
),
|
|
4423
|
-
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4424
|
-
vpcsById: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
4425
|
-
vpcsByIdUnavailable: Schema.optional(
|
|
4426
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4427
|
-
),
|
|
4428
|
-
}).pipe(
|
|
4138
|
+
})
|
|
4139
|
+
.pipe(
|
|
4429
4140
|
Schema.encodeKeys({
|
|
4430
4141
|
id: "id",
|
|
4431
4142
|
cloudType: "cloud_type",
|
|
@@ -4457,23 +4168,661 @@ export const ListOnRampsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
4457
4168
|
vpcsById: "vpcs_by_id",
|
|
4458
4169
|
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
4459
4170
|
}),
|
|
4460
|
-
)
|
|
4461
|
-
|
|
4171
|
+
)
|
|
4172
|
+
.pipe(
|
|
4173
|
+
T.ResponsePath("result"),
|
|
4174
|
+
) as unknown as Schema.Schema<GetOnRampResponse>;
|
|
4462
4175
|
|
|
4463
|
-
export type
|
|
4176
|
+
export type GetOnRampError = DefaultErrors;
|
|
4464
4177
|
|
|
4465
|
-
export const
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4178
|
+
export const getOnRamp: API.OperationMethod<
|
|
4179
|
+
GetOnRampRequest,
|
|
4180
|
+
GetOnRampResponse,
|
|
4181
|
+
GetOnRampError,
|
|
4469
4182
|
Credentials | HttpClient.HttpClient
|
|
4470
4183
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4471
|
-
input:
|
|
4472
|
-
output:
|
|
4184
|
+
input: GetOnRampRequest,
|
|
4185
|
+
output: GetOnRampResponse,
|
|
4473
4186
|
errors: [],
|
|
4474
4187
|
}));
|
|
4475
4188
|
|
|
4476
|
-
export interface
|
|
4189
|
+
export interface ListOnRampsRequest {
|
|
4190
|
+
/** Path param: */
|
|
4191
|
+
accountId: string;
|
|
4192
|
+
/** Query param: */
|
|
4193
|
+
desc?: boolean;
|
|
4194
|
+
/** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
|
|
4195
|
+
orderBy?: string;
|
|
4196
|
+
/** Query param: */
|
|
4197
|
+
status?: boolean;
|
|
4198
|
+
/** Query param: */
|
|
4199
|
+
vpcs?: boolean;
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4202
|
+
export const ListOnRampsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4203
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4204
|
+
desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
|
|
4205
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
|
|
4206
|
+
status: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("status")),
|
|
4207
|
+
vpcs: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("vpcs")),
|
|
4208
|
+
}).pipe(
|
|
4209
|
+
T.Http({ method: "GET", path: "/accounts/{account_id}/magic/cloud/onramps" }),
|
|
4210
|
+
) as unknown as Schema.Schema<ListOnRampsRequest>;
|
|
4211
|
+
|
|
4212
|
+
export interface ListOnRampsResponse {
|
|
4213
|
+
result: {
|
|
4214
|
+
id: string;
|
|
4215
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE";
|
|
4216
|
+
dynamicRouting: boolean;
|
|
4217
|
+
installRoutesInCloud: boolean;
|
|
4218
|
+
installRoutesInMagicWan: boolean;
|
|
4219
|
+
name: string;
|
|
4220
|
+
type: "OnrampTypeSingle" | "OnrampTypeHub";
|
|
4221
|
+
updatedAt: string;
|
|
4222
|
+
attachedHubs?: string[] | null;
|
|
4223
|
+
attachedVpcs?: string[] | null;
|
|
4224
|
+
cloudAsn?: number | null;
|
|
4225
|
+
description?: string | null;
|
|
4226
|
+
hub?: string | null;
|
|
4227
|
+
lastAppliedAt?: string | null;
|
|
4228
|
+
lastExportedAt?: string | null;
|
|
4229
|
+
lastPlannedAt?: string | null;
|
|
4230
|
+
manageHubToHubAttachments?: boolean | null;
|
|
4231
|
+
manageVpcToHubAttachments?: boolean | null;
|
|
4232
|
+
plannedMonthlyCostEstimate?: {
|
|
4233
|
+
currency: string;
|
|
4234
|
+
currentMonthlyCost: number;
|
|
4235
|
+
diff: number;
|
|
4236
|
+
proposedMonthlyCost: number;
|
|
4237
|
+
} | null;
|
|
4238
|
+
plannedResources?:
|
|
4239
|
+
| {
|
|
4240
|
+
diff: {
|
|
4241
|
+
diff: string;
|
|
4242
|
+
leftDescription: string;
|
|
4243
|
+
leftYaml: string;
|
|
4244
|
+
rightDescription: string;
|
|
4245
|
+
rightYaml: string;
|
|
4246
|
+
};
|
|
4247
|
+
keysRequireReplace: string[];
|
|
4248
|
+
monthlyCostEstimateDiff: {
|
|
4249
|
+
currency: string;
|
|
4250
|
+
currentMonthlyCost: number;
|
|
4251
|
+
diff: number;
|
|
4252
|
+
proposedMonthlyCost: number;
|
|
4253
|
+
};
|
|
4254
|
+
plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
|
|
4255
|
+
resource: {
|
|
4256
|
+
id: string;
|
|
4257
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
4258
|
+
detail: string;
|
|
4259
|
+
name: string;
|
|
4260
|
+
resourceType:
|
|
4261
|
+
| "aws_customer_gateway"
|
|
4262
|
+
| "aws_egress_only_internet_gateway"
|
|
4263
|
+
| "aws_internet_gateway"
|
|
4264
|
+
| "aws_instance"
|
|
4265
|
+
| "aws_network_interface"
|
|
4266
|
+
| "aws_route"
|
|
4267
|
+
| "aws_route_table"
|
|
4268
|
+
| "aws_route_table_association"
|
|
4269
|
+
| "aws_subnet"
|
|
4270
|
+
| "aws_vpc"
|
|
4271
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
4272
|
+
| "aws_vpn_connection"
|
|
4273
|
+
| "aws_vpn_connection_route"
|
|
4274
|
+
| "aws_vpn_gateway"
|
|
4275
|
+
| "aws_security_group"
|
|
4276
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
4277
|
+
| "aws_vpc_security_group_egress_rule"
|
|
4278
|
+
| "aws_ec2_managed_prefix_list"
|
|
4279
|
+
| "aws_ec2_transit_gateway"
|
|
4280
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
4281
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
4282
|
+
| "azurerm_application_security_group"
|
|
4283
|
+
| "azurerm_lb"
|
|
4284
|
+
| "azurerm_lb_backend_address_pool"
|
|
4285
|
+
| "azurerm_lb_nat_pool"
|
|
4286
|
+
| "azurerm_lb_nat_rule"
|
|
4287
|
+
| "azurerm_lb_rule"
|
|
4288
|
+
| "azurerm_local_network_gateway"
|
|
4289
|
+
| "azurerm_network_interface"
|
|
4290
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
4291
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
4292
|
+
| "azurerm_network_interface_security_group_association"
|
|
4293
|
+
| "azurerm_network_security_group"
|
|
4294
|
+
| "azurerm_public_ip"
|
|
4295
|
+
| "azurerm_route"
|
|
4296
|
+
| "azurerm_route_table"
|
|
4297
|
+
| "azurerm_subnet"
|
|
4298
|
+
| "azurerm_subnet_route_table_association"
|
|
4299
|
+
| "azurerm_virtual_machine"
|
|
4300
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
4301
|
+
| "azurerm_virtual_network"
|
|
4302
|
+
| "azurerm_virtual_network_gateway"
|
|
4303
|
+
| "google_compute_network"
|
|
4304
|
+
| "google_compute_subnetwork"
|
|
4305
|
+
| "google_compute_vpn_gateway"
|
|
4306
|
+
| "google_compute_vpn_tunnel"
|
|
4307
|
+
| "google_compute_route"
|
|
4308
|
+
| "google_compute_address"
|
|
4309
|
+
| "google_compute_global_address"
|
|
4310
|
+
| "google_compute_router"
|
|
4311
|
+
| "google_compute_interconnect_attachment"
|
|
4312
|
+
| "google_compute_ha_vpn_gateway"
|
|
4313
|
+
| "google_compute_forwarding_rule"
|
|
4314
|
+
| "google_compute_network_firewall_policy"
|
|
4315
|
+
| "google_compute_network_firewall_policy_rule"
|
|
4316
|
+
| "cloudflare_static_route"
|
|
4317
|
+
| "cloudflare_ipsec_tunnel";
|
|
4318
|
+
title: string;
|
|
4319
|
+
};
|
|
4320
|
+
}[]
|
|
4321
|
+
| null;
|
|
4322
|
+
plannedResourcesUnavailable?: boolean | null;
|
|
4323
|
+
postApplyMonthlyCostEstimate?: {
|
|
4324
|
+
currency: string;
|
|
4325
|
+
monthlyCost: number;
|
|
4326
|
+
} | null;
|
|
4327
|
+
postApplyResources?: Record<string, unknown> | null;
|
|
4328
|
+
postApplyResourcesUnavailable?: boolean | null;
|
|
4329
|
+
region?: string | null;
|
|
4330
|
+
status?: {
|
|
4331
|
+
applyProgress: { done: number; total: number };
|
|
4332
|
+
lifecycleState:
|
|
4333
|
+
| "OnrampNeedsApply"
|
|
4334
|
+
| "OnrampPendingPlan"
|
|
4335
|
+
| "OnrampPlanning"
|
|
4336
|
+
| "OnrampPlanFailed"
|
|
4337
|
+
| "OnrampPendingApproval"
|
|
4338
|
+
| "OnrampPendingApply"
|
|
4339
|
+
| "OnrampApplying"
|
|
4340
|
+
| "OnrampApplyFailed"
|
|
4341
|
+
| "OnrampActive"
|
|
4342
|
+
| "OnrampPendingDestroy"
|
|
4343
|
+
| "OnrampDestroying"
|
|
4344
|
+
| "OnrampDestroyFailed";
|
|
4345
|
+
planProgress: { done: number; total: number };
|
|
4346
|
+
routes: string[];
|
|
4347
|
+
tunnels: string[];
|
|
4348
|
+
lifecycleErrors?: Record<string, unknown> | null;
|
|
4349
|
+
} | null;
|
|
4350
|
+
vpc?: string | null;
|
|
4351
|
+
vpcsById?: Record<string, unknown> | null;
|
|
4352
|
+
vpcsByIdUnavailable?: string[] | null;
|
|
4353
|
+
}[];
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
export const ListOnRampsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4357
|
+
result: Schema.Array(
|
|
4358
|
+
Schema.Struct({
|
|
4359
|
+
id: Schema.String,
|
|
4360
|
+
cloudType: Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
4361
|
+
dynamicRouting: Schema.Boolean,
|
|
4362
|
+
installRoutesInCloud: Schema.Boolean,
|
|
4363
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
4364
|
+
name: Schema.String,
|
|
4365
|
+
type: Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
4366
|
+
updatedAt: Schema.String,
|
|
4367
|
+
attachedHubs: Schema.optional(
|
|
4368
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4369
|
+
),
|
|
4370
|
+
attachedVpcs: Schema.optional(
|
|
4371
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4372
|
+
),
|
|
4373
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4374
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4375
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4376
|
+
lastAppliedAt: Schema.optional(
|
|
4377
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4378
|
+
),
|
|
4379
|
+
lastExportedAt: Schema.optional(
|
|
4380
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4381
|
+
),
|
|
4382
|
+
lastPlannedAt: Schema.optional(
|
|
4383
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4384
|
+
),
|
|
4385
|
+
manageHubToHubAttachments: Schema.optional(
|
|
4386
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4387
|
+
),
|
|
4388
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
4389
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4390
|
+
),
|
|
4391
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
4392
|
+
Schema.Union([
|
|
4393
|
+
Schema.Struct({
|
|
4394
|
+
currency: Schema.String,
|
|
4395
|
+
currentMonthlyCost: Schema.Number,
|
|
4396
|
+
diff: Schema.Number,
|
|
4397
|
+
proposedMonthlyCost: Schema.Number,
|
|
4398
|
+
}).pipe(
|
|
4399
|
+
Schema.encodeKeys({
|
|
4400
|
+
currency: "currency",
|
|
4401
|
+
currentMonthlyCost: "current_monthly_cost",
|
|
4402
|
+
diff: "diff",
|
|
4403
|
+
proposedMonthlyCost: "proposed_monthly_cost",
|
|
4404
|
+
}),
|
|
4405
|
+
),
|
|
4406
|
+
Schema.Null,
|
|
4407
|
+
]),
|
|
4408
|
+
),
|
|
4409
|
+
plannedResources: Schema.optional(
|
|
4410
|
+
Schema.Union([
|
|
4411
|
+
Schema.Array(
|
|
4412
|
+
Schema.Struct({
|
|
4413
|
+
diff: Schema.Struct({
|
|
4414
|
+
diff: Schema.String,
|
|
4415
|
+
leftDescription: Schema.String,
|
|
4416
|
+
leftYaml: Schema.String,
|
|
4417
|
+
rightDescription: Schema.String,
|
|
4418
|
+
rightYaml: Schema.String,
|
|
4419
|
+
}).pipe(
|
|
4420
|
+
Schema.encodeKeys({
|
|
4421
|
+
diff: "diff",
|
|
4422
|
+
leftDescription: "left_description",
|
|
4423
|
+
leftYaml: "left_yaml",
|
|
4424
|
+
rightDescription: "right_description",
|
|
4425
|
+
rightYaml: "right_yaml",
|
|
4426
|
+
}),
|
|
4427
|
+
),
|
|
4428
|
+
keysRequireReplace: Schema.Array(Schema.String),
|
|
4429
|
+
monthlyCostEstimateDiff: Schema.Struct({
|
|
4430
|
+
currency: Schema.String,
|
|
4431
|
+
currentMonthlyCost: Schema.Number,
|
|
4432
|
+
diff: Schema.Number,
|
|
4433
|
+
proposedMonthlyCost: Schema.Number,
|
|
4434
|
+
}).pipe(
|
|
4435
|
+
Schema.encodeKeys({
|
|
4436
|
+
currency: "currency",
|
|
4437
|
+
currentMonthlyCost: "current_monthly_cost",
|
|
4438
|
+
diff: "diff",
|
|
4439
|
+
proposedMonthlyCost: "proposed_monthly_cost",
|
|
4440
|
+
}),
|
|
4441
|
+
),
|
|
4442
|
+
plannedAction: Schema.Literals([
|
|
4443
|
+
"no_op",
|
|
4444
|
+
"create",
|
|
4445
|
+
"update",
|
|
4446
|
+
"replace",
|
|
4447
|
+
"destroy",
|
|
4448
|
+
]),
|
|
4449
|
+
resource: Schema.Struct({
|
|
4450
|
+
id: Schema.String,
|
|
4451
|
+
cloudType: Schema.Literals([
|
|
4452
|
+
"AWS",
|
|
4453
|
+
"AZURE",
|
|
4454
|
+
"GOOGLE",
|
|
4455
|
+
"CLOUDFLARE",
|
|
4456
|
+
]),
|
|
4457
|
+
detail: Schema.String,
|
|
4458
|
+
name: Schema.String,
|
|
4459
|
+
resourceType: Schema.Literals([
|
|
4460
|
+
"aws_customer_gateway",
|
|
4461
|
+
"aws_egress_only_internet_gateway",
|
|
4462
|
+
"aws_internet_gateway",
|
|
4463
|
+
"aws_instance",
|
|
4464
|
+
"aws_network_interface",
|
|
4465
|
+
"aws_route",
|
|
4466
|
+
"aws_route_table",
|
|
4467
|
+
"aws_route_table_association",
|
|
4468
|
+
"aws_subnet",
|
|
4469
|
+
"aws_vpc",
|
|
4470
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
4471
|
+
"aws_vpn_connection",
|
|
4472
|
+
"aws_vpn_connection_route",
|
|
4473
|
+
"aws_vpn_gateway",
|
|
4474
|
+
"aws_security_group",
|
|
4475
|
+
"aws_vpc_security_group_ingress_rule",
|
|
4476
|
+
"aws_vpc_security_group_egress_rule",
|
|
4477
|
+
"aws_ec2_managed_prefix_list",
|
|
4478
|
+
"aws_ec2_transit_gateway",
|
|
4479
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
4480
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
4481
|
+
"azurerm_application_security_group",
|
|
4482
|
+
"azurerm_lb",
|
|
4483
|
+
"azurerm_lb_backend_address_pool",
|
|
4484
|
+
"azurerm_lb_nat_pool",
|
|
4485
|
+
"azurerm_lb_nat_rule",
|
|
4486
|
+
"azurerm_lb_rule",
|
|
4487
|
+
"azurerm_local_network_gateway",
|
|
4488
|
+
"azurerm_network_interface",
|
|
4489
|
+
"azurerm_network_interface_application_security_group_association",
|
|
4490
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
4491
|
+
"azurerm_network_interface_security_group_association",
|
|
4492
|
+
"azurerm_network_security_group",
|
|
4493
|
+
"azurerm_public_ip",
|
|
4494
|
+
"azurerm_route",
|
|
4495
|
+
"azurerm_route_table",
|
|
4496
|
+
"azurerm_subnet",
|
|
4497
|
+
"azurerm_subnet_route_table_association",
|
|
4498
|
+
"azurerm_virtual_machine",
|
|
4499
|
+
"azurerm_virtual_network_gateway_connection",
|
|
4500
|
+
"azurerm_virtual_network",
|
|
4501
|
+
"azurerm_virtual_network_gateway",
|
|
4502
|
+
"google_compute_network",
|
|
4503
|
+
"google_compute_subnetwork",
|
|
4504
|
+
"google_compute_vpn_gateway",
|
|
4505
|
+
"google_compute_vpn_tunnel",
|
|
4506
|
+
"google_compute_route",
|
|
4507
|
+
"google_compute_address",
|
|
4508
|
+
"google_compute_global_address",
|
|
4509
|
+
"google_compute_router",
|
|
4510
|
+
"google_compute_interconnect_attachment",
|
|
4511
|
+
"google_compute_ha_vpn_gateway",
|
|
4512
|
+
"google_compute_forwarding_rule",
|
|
4513
|
+
"google_compute_network_firewall_policy",
|
|
4514
|
+
"google_compute_network_firewall_policy_rule",
|
|
4515
|
+
"cloudflare_static_route",
|
|
4516
|
+
"cloudflare_ipsec_tunnel",
|
|
4517
|
+
]),
|
|
4518
|
+
title: Schema.String,
|
|
4519
|
+
}).pipe(
|
|
4520
|
+
Schema.encodeKeys({
|
|
4521
|
+
id: "id",
|
|
4522
|
+
cloudType: "cloud_type",
|
|
4523
|
+
detail: "detail",
|
|
4524
|
+
name: "name",
|
|
4525
|
+
resourceType: "resource_type",
|
|
4526
|
+
title: "title",
|
|
4527
|
+
}),
|
|
4528
|
+
),
|
|
4529
|
+
}).pipe(
|
|
4530
|
+
Schema.encodeKeys({
|
|
4531
|
+
diff: "diff",
|
|
4532
|
+
keysRequireReplace: "keys_require_replace",
|
|
4533
|
+
monthlyCostEstimateDiff: "monthly_cost_estimate_diff",
|
|
4534
|
+
plannedAction: "planned_action",
|
|
4535
|
+
resource: "resource",
|
|
4536
|
+
}),
|
|
4537
|
+
),
|
|
4538
|
+
),
|
|
4539
|
+
Schema.Null,
|
|
4540
|
+
]),
|
|
4541
|
+
),
|
|
4542
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
4543
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4544
|
+
),
|
|
4545
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
4546
|
+
Schema.Union([
|
|
4547
|
+
Schema.Struct({
|
|
4548
|
+
currency: Schema.String,
|
|
4549
|
+
monthlyCost: Schema.Number,
|
|
4550
|
+
}).pipe(
|
|
4551
|
+
Schema.encodeKeys({
|
|
4552
|
+
currency: "currency",
|
|
4553
|
+
monthlyCost: "monthly_cost",
|
|
4554
|
+
}),
|
|
4555
|
+
),
|
|
4556
|
+
Schema.Null,
|
|
4557
|
+
]),
|
|
4558
|
+
),
|
|
4559
|
+
postApplyResources: Schema.optional(
|
|
4560
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
4561
|
+
),
|
|
4562
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
4563
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4564
|
+
),
|
|
4565
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4566
|
+
status: Schema.optional(
|
|
4567
|
+
Schema.Union([
|
|
4568
|
+
Schema.Struct({
|
|
4569
|
+
applyProgress: Schema.Struct({
|
|
4570
|
+
done: Schema.Number,
|
|
4571
|
+
total: Schema.Number,
|
|
4572
|
+
}),
|
|
4573
|
+
lifecycleState: Schema.Literals([
|
|
4574
|
+
"OnrampNeedsApply",
|
|
4575
|
+
"OnrampPendingPlan",
|
|
4576
|
+
"OnrampPlanning",
|
|
4577
|
+
"OnrampPlanFailed",
|
|
4578
|
+
"OnrampPendingApproval",
|
|
4579
|
+
"OnrampPendingApply",
|
|
4580
|
+
"OnrampApplying",
|
|
4581
|
+
"OnrampApplyFailed",
|
|
4582
|
+
"OnrampActive",
|
|
4583
|
+
"OnrampPendingDestroy",
|
|
4584
|
+
"OnrampDestroying",
|
|
4585
|
+
"OnrampDestroyFailed",
|
|
4586
|
+
]),
|
|
4587
|
+
planProgress: Schema.Struct({
|
|
4588
|
+
done: Schema.Number,
|
|
4589
|
+
total: Schema.Number,
|
|
4590
|
+
}),
|
|
4591
|
+
routes: Schema.Array(Schema.String),
|
|
4592
|
+
tunnels: Schema.Array(Schema.String),
|
|
4593
|
+
lifecycleErrors: Schema.optional(
|
|
4594
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
4595
|
+
),
|
|
4596
|
+
}).pipe(
|
|
4597
|
+
Schema.encodeKeys({
|
|
4598
|
+
applyProgress: "apply_progress",
|
|
4599
|
+
lifecycleState: "lifecycle_state",
|
|
4600
|
+
planProgress: "plan_progress",
|
|
4601
|
+
routes: "routes",
|
|
4602
|
+
tunnels: "tunnels",
|
|
4603
|
+
lifecycleErrors: "lifecycle_errors",
|
|
4604
|
+
}),
|
|
4605
|
+
),
|
|
4606
|
+
Schema.Null,
|
|
4607
|
+
]),
|
|
4608
|
+
),
|
|
4609
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4610
|
+
vpcsById: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
4611
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
4612
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4613
|
+
),
|
|
4614
|
+
}).pipe(
|
|
4615
|
+
Schema.encodeKeys({
|
|
4616
|
+
id: "id",
|
|
4617
|
+
cloudType: "cloud_type",
|
|
4618
|
+
dynamicRouting: "dynamic_routing",
|
|
4619
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
4620
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
4621
|
+
name: "name",
|
|
4622
|
+
type: "type",
|
|
4623
|
+
updatedAt: "updated_at",
|
|
4624
|
+
attachedHubs: "attached_hubs",
|
|
4625
|
+
attachedVpcs: "attached_vpcs",
|
|
4626
|
+
cloudAsn: "cloud_asn",
|
|
4627
|
+
description: "description",
|
|
4628
|
+
hub: "hub",
|
|
4629
|
+
lastAppliedAt: "last_applied_at",
|
|
4630
|
+
lastExportedAt: "last_exported_at",
|
|
4631
|
+
lastPlannedAt: "last_planned_at",
|
|
4632
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
4633
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
4634
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
4635
|
+
plannedResources: "planned_resources",
|
|
4636
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
4637
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
4638
|
+
postApplyResources: "post_apply_resources",
|
|
4639
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
4640
|
+
region: "region",
|
|
4641
|
+
status: "status",
|
|
4642
|
+
vpc: "vpc",
|
|
4643
|
+
vpcsById: "vpcs_by_id",
|
|
4644
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
4645
|
+
}),
|
|
4646
|
+
),
|
|
4647
|
+
),
|
|
4648
|
+
}) as unknown as Schema.Schema<ListOnRampsResponse>;
|
|
4649
|
+
|
|
4650
|
+
export type ListOnRampsError = DefaultErrors;
|
|
4651
|
+
|
|
4652
|
+
export const listOnRamps: API.PaginatedOperationMethod<
|
|
4653
|
+
ListOnRampsRequest,
|
|
4654
|
+
ListOnRampsResponse,
|
|
4655
|
+
ListOnRampsError,
|
|
4656
|
+
Credentials | HttpClient.HttpClient
|
|
4657
|
+
> & {
|
|
4658
|
+
pages: (
|
|
4659
|
+
input: ListOnRampsRequest,
|
|
4660
|
+
) => stream.Stream<
|
|
4661
|
+
ListOnRampsResponse,
|
|
4662
|
+
ListOnRampsError,
|
|
4663
|
+
Credentials | HttpClient.HttpClient
|
|
4664
|
+
>;
|
|
4665
|
+
items: (input: ListOnRampsRequest) => stream.Stream<
|
|
4666
|
+
{
|
|
4667
|
+
id: string;
|
|
4668
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE";
|
|
4669
|
+
dynamicRouting: boolean;
|
|
4670
|
+
installRoutesInCloud: boolean;
|
|
4671
|
+
installRoutesInMagicWan: boolean;
|
|
4672
|
+
name: string;
|
|
4673
|
+
type: "OnrampTypeSingle" | "OnrampTypeHub";
|
|
4674
|
+
updatedAt: string;
|
|
4675
|
+
attachedHubs?: string[] | null;
|
|
4676
|
+
attachedVpcs?: string[] | null;
|
|
4677
|
+
cloudAsn?: number | null;
|
|
4678
|
+
description?: string | null;
|
|
4679
|
+
hub?: string | null;
|
|
4680
|
+
lastAppliedAt?: string | null;
|
|
4681
|
+
lastExportedAt?: string | null;
|
|
4682
|
+
lastPlannedAt?: string | null;
|
|
4683
|
+
manageHubToHubAttachments?: boolean | null;
|
|
4684
|
+
manageVpcToHubAttachments?: boolean | null;
|
|
4685
|
+
plannedMonthlyCostEstimate?: {
|
|
4686
|
+
currency: string;
|
|
4687
|
+
currentMonthlyCost: number;
|
|
4688
|
+
diff: number;
|
|
4689
|
+
proposedMonthlyCost: number;
|
|
4690
|
+
} | null;
|
|
4691
|
+
plannedResources?:
|
|
4692
|
+
| {
|
|
4693
|
+
diff: {
|
|
4694
|
+
diff: string;
|
|
4695
|
+
leftDescription: string;
|
|
4696
|
+
leftYaml: string;
|
|
4697
|
+
rightDescription: string;
|
|
4698
|
+
rightYaml: string;
|
|
4699
|
+
};
|
|
4700
|
+
keysRequireReplace: string[];
|
|
4701
|
+
monthlyCostEstimateDiff: {
|
|
4702
|
+
currency: string;
|
|
4703
|
+
currentMonthlyCost: number;
|
|
4704
|
+
diff: number;
|
|
4705
|
+
proposedMonthlyCost: number;
|
|
4706
|
+
};
|
|
4707
|
+
plannedAction:
|
|
4708
|
+
| "no_op"
|
|
4709
|
+
| "create"
|
|
4710
|
+
| "update"
|
|
4711
|
+
| "replace"
|
|
4712
|
+
| "destroy";
|
|
4713
|
+
resource: {
|
|
4714
|
+
id: string;
|
|
4715
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
4716
|
+
detail: string;
|
|
4717
|
+
name: string;
|
|
4718
|
+
resourceType:
|
|
4719
|
+
| "aws_customer_gateway"
|
|
4720
|
+
| "aws_egress_only_internet_gateway"
|
|
4721
|
+
| "aws_internet_gateway"
|
|
4722
|
+
| "aws_instance"
|
|
4723
|
+
| "aws_network_interface"
|
|
4724
|
+
| "aws_route"
|
|
4725
|
+
| "aws_route_table"
|
|
4726
|
+
| "aws_route_table_association"
|
|
4727
|
+
| "aws_subnet"
|
|
4728
|
+
| "aws_vpc"
|
|
4729
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
4730
|
+
| "aws_vpn_connection"
|
|
4731
|
+
| "aws_vpn_connection_route"
|
|
4732
|
+
| "aws_vpn_gateway"
|
|
4733
|
+
| "aws_security_group"
|
|
4734
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
4735
|
+
| "aws_vpc_security_group_egress_rule"
|
|
4736
|
+
| "aws_ec2_managed_prefix_list"
|
|
4737
|
+
| "aws_ec2_transit_gateway"
|
|
4738
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
4739
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
4740
|
+
| "azurerm_application_security_group"
|
|
4741
|
+
| "azurerm_lb"
|
|
4742
|
+
| "azurerm_lb_backend_address_pool"
|
|
4743
|
+
| "azurerm_lb_nat_pool"
|
|
4744
|
+
| "azurerm_lb_nat_rule"
|
|
4745
|
+
| "azurerm_lb_rule"
|
|
4746
|
+
| "azurerm_local_network_gateway"
|
|
4747
|
+
| "azurerm_network_interface"
|
|
4748
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
4749
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
4750
|
+
| "azurerm_network_interface_security_group_association"
|
|
4751
|
+
| "azurerm_network_security_group"
|
|
4752
|
+
| "azurerm_public_ip"
|
|
4753
|
+
| "azurerm_route"
|
|
4754
|
+
| "azurerm_route_table"
|
|
4755
|
+
| "azurerm_subnet"
|
|
4756
|
+
| "azurerm_subnet_route_table_association"
|
|
4757
|
+
| "azurerm_virtual_machine"
|
|
4758
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
4759
|
+
| "azurerm_virtual_network"
|
|
4760
|
+
| "azurerm_virtual_network_gateway"
|
|
4761
|
+
| "google_compute_network"
|
|
4762
|
+
| "google_compute_subnetwork"
|
|
4763
|
+
| "google_compute_vpn_gateway"
|
|
4764
|
+
| "google_compute_vpn_tunnel"
|
|
4765
|
+
| "google_compute_route"
|
|
4766
|
+
| "google_compute_address"
|
|
4767
|
+
| "google_compute_global_address"
|
|
4768
|
+
| "google_compute_router"
|
|
4769
|
+
| "google_compute_interconnect_attachment"
|
|
4770
|
+
| "google_compute_ha_vpn_gateway"
|
|
4771
|
+
| "google_compute_forwarding_rule"
|
|
4772
|
+
| "google_compute_network_firewall_policy"
|
|
4773
|
+
| "google_compute_network_firewall_policy_rule"
|
|
4774
|
+
| "cloudflare_static_route"
|
|
4775
|
+
| "cloudflare_ipsec_tunnel";
|
|
4776
|
+
title: string;
|
|
4777
|
+
};
|
|
4778
|
+
}[]
|
|
4779
|
+
| null;
|
|
4780
|
+
plannedResourcesUnavailable?: boolean | null;
|
|
4781
|
+
postApplyMonthlyCostEstimate?: {
|
|
4782
|
+
currency: string;
|
|
4783
|
+
monthlyCost: number;
|
|
4784
|
+
} | null;
|
|
4785
|
+
postApplyResources?: Record<string, unknown> | null;
|
|
4786
|
+
postApplyResourcesUnavailable?: boolean | null;
|
|
4787
|
+
region?: string | null;
|
|
4788
|
+
status?: {
|
|
4789
|
+
applyProgress: { done: number; total: number };
|
|
4790
|
+
lifecycleState:
|
|
4791
|
+
| "OnrampNeedsApply"
|
|
4792
|
+
| "OnrampPendingPlan"
|
|
4793
|
+
| "OnrampPlanning"
|
|
4794
|
+
| "OnrampPlanFailed"
|
|
4795
|
+
| "OnrampPendingApproval"
|
|
4796
|
+
| "OnrampPendingApply"
|
|
4797
|
+
| "OnrampApplying"
|
|
4798
|
+
| "OnrampApplyFailed"
|
|
4799
|
+
| "OnrampActive"
|
|
4800
|
+
| "OnrampPendingDestroy"
|
|
4801
|
+
| "OnrampDestroying"
|
|
4802
|
+
| "OnrampDestroyFailed";
|
|
4803
|
+
planProgress: { done: number; total: number };
|
|
4804
|
+
routes: string[];
|
|
4805
|
+
tunnels: string[];
|
|
4806
|
+
lifecycleErrors?: Record<string, unknown> | null;
|
|
4807
|
+
} | null;
|
|
4808
|
+
vpc?: string | null;
|
|
4809
|
+
vpcsById?: Record<string, unknown> | null;
|
|
4810
|
+
vpcsByIdUnavailable?: string[] | null;
|
|
4811
|
+
},
|
|
4812
|
+
ListOnRampsError,
|
|
4813
|
+
Credentials | HttpClient.HttpClient
|
|
4814
|
+
>;
|
|
4815
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
4816
|
+
input: ListOnRampsRequest,
|
|
4817
|
+
output: ListOnRampsResponse,
|
|
4818
|
+
errors: [],
|
|
4819
|
+
pagination: {
|
|
4820
|
+
mode: "single",
|
|
4821
|
+
items: "result",
|
|
4822
|
+
} as const,
|
|
4823
|
+
}));
|
|
4824
|
+
|
|
4825
|
+
export interface CreateOnRampRequest {
|
|
4477
4826
|
/** Path param: */
|
|
4478
4827
|
accountId: string;
|
|
4479
4828
|
/** Header param: */
|
|
@@ -4949,39 +5298,43 @@ export const CreateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4949
5298
|
vpcsByIdUnavailable: Schema.optional(
|
|
4950
5299
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4951
5300
|
),
|
|
4952
|
-
})
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
)
|
|
5301
|
+
})
|
|
5302
|
+
.pipe(
|
|
5303
|
+
Schema.encodeKeys({
|
|
5304
|
+
id: "id",
|
|
5305
|
+
cloudType: "cloud_type",
|
|
5306
|
+
dynamicRouting: "dynamic_routing",
|
|
5307
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
5308
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
5309
|
+
name: "name",
|
|
5310
|
+
type: "type",
|
|
5311
|
+
updatedAt: "updated_at",
|
|
5312
|
+
attachedHubs: "attached_hubs",
|
|
5313
|
+
attachedVpcs: "attached_vpcs",
|
|
5314
|
+
cloudAsn: "cloud_asn",
|
|
5315
|
+
description: "description",
|
|
5316
|
+
hub: "hub",
|
|
5317
|
+
lastAppliedAt: "last_applied_at",
|
|
5318
|
+
lastExportedAt: "last_exported_at",
|
|
5319
|
+
lastPlannedAt: "last_planned_at",
|
|
5320
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
5321
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
5322
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
5323
|
+
plannedResources: "planned_resources",
|
|
5324
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5325
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5326
|
+
postApplyResources: "post_apply_resources",
|
|
5327
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5328
|
+
region: "region",
|
|
5329
|
+
status: "status",
|
|
5330
|
+
vpc: "vpc",
|
|
5331
|
+
vpcsById: "vpcs_by_id",
|
|
5332
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5333
|
+
}),
|
|
5334
|
+
)
|
|
5335
|
+
.pipe(
|
|
5336
|
+
T.ResponsePath("result"),
|
|
5337
|
+
) as unknown as Schema.Schema<CreateOnRampResponse>;
|
|
4985
5338
|
|
|
4986
5339
|
export type CreateOnRampError = DefaultErrors;
|
|
4987
5340
|
|
|
@@ -5443,39 +5796,43 @@ export const UpdateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5443
5796
|
vpcsByIdUnavailable: Schema.optional(
|
|
5444
5797
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5445
5798
|
),
|
|
5446
|
-
})
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
)
|
|
5799
|
+
})
|
|
5800
|
+
.pipe(
|
|
5801
|
+
Schema.encodeKeys({
|
|
5802
|
+
id: "id",
|
|
5803
|
+
cloudType: "cloud_type",
|
|
5804
|
+
dynamicRouting: "dynamic_routing",
|
|
5805
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
5806
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
5807
|
+
name: "name",
|
|
5808
|
+
type: "type",
|
|
5809
|
+
updatedAt: "updated_at",
|
|
5810
|
+
attachedHubs: "attached_hubs",
|
|
5811
|
+
attachedVpcs: "attached_vpcs",
|
|
5812
|
+
cloudAsn: "cloud_asn",
|
|
5813
|
+
description: "description",
|
|
5814
|
+
hub: "hub",
|
|
5815
|
+
lastAppliedAt: "last_applied_at",
|
|
5816
|
+
lastExportedAt: "last_exported_at",
|
|
5817
|
+
lastPlannedAt: "last_planned_at",
|
|
5818
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
5819
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
5820
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
5821
|
+
plannedResources: "planned_resources",
|
|
5822
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5823
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5824
|
+
postApplyResources: "post_apply_resources",
|
|
5825
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5826
|
+
region: "region",
|
|
5827
|
+
status: "status",
|
|
5828
|
+
vpc: "vpc",
|
|
5829
|
+
vpcsById: "vpcs_by_id",
|
|
5830
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5831
|
+
}),
|
|
5832
|
+
)
|
|
5833
|
+
.pipe(
|
|
5834
|
+
T.ResponsePath("result"),
|
|
5835
|
+
) as unknown as Schema.Schema<UpdateOnRampResponse>;
|
|
5479
5836
|
|
|
5480
5837
|
export type UpdateOnRampError = DefaultErrors;
|
|
5481
5838
|
|
|
@@ -5937,39 +6294,43 @@ export const PatchOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5937
6294
|
vpcsByIdUnavailable: Schema.optional(
|
|
5938
6295
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5939
6296
|
),
|
|
5940
|
-
})
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
)
|
|
6297
|
+
})
|
|
6298
|
+
.pipe(
|
|
6299
|
+
Schema.encodeKeys({
|
|
6300
|
+
id: "id",
|
|
6301
|
+
cloudType: "cloud_type",
|
|
6302
|
+
dynamicRouting: "dynamic_routing",
|
|
6303
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
6304
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
6305
|
+
name: "name",
|
|
6306
|
+
type: "type",
|
|
6307
|
+
updatedAt: "updated_at",
|
|
6308
|
+
attachedHubs: "attached_hubs",
|
|
6309
|
+
attachedVpcs: "attached_vpcs",
|
|
6310
|
+
cloudAsn: "cloud_asn",
|
|
6311
|
+
description: "description",
|
|
6312
|
+
hub: "hub",
|
|
6313
|
+
lastAppliedAt: "last_applied_at",
|
|
6314
|
+
lastExportedAt: "last_exported_at",
|
|
6315
|
+
lastPlannedAt: "last_planned_at",
|
|
6316
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
6317
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
6318
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
6319
|
+
plannedResources: "planned_resources",
|
|
6320
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
6321
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
6322
|
+
postApplyResources: "post_apply_resources",
|
|
6323
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
6324
|
+
region: "region",
|
|
6325
|
+
status: "status",
|
|
6326
|
+
vpc: "vpc",
|
|
6327
|
+
vpcsById: "vpcs_by_id",
|
|
6328
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
6329
|
+
}),
|
|
6330
|
+
)
|
|
6331
|
+
.pipe(
|
|
6332
|
+
T.ResponsePath("result"),
|
|
6333
|
+
) as unknown as Schema.Schema<PatchOnRampResponse>;
|
|
5973
6334
|
|
|
5974
6335
|
export type PatchOnRampError = DefaultErrors;
|
|
5975
6336
|
|
|
@@ -6012,7 +6373,9 @@ export interface DeleteOnRampResponse {
|
|
|
6012
6373
|
|
|
6013
6374
|
export const DeleteOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6014
6375
|
id: Schema.String,
|
|
6015
|
-
})
|
|
6376
|
+
}).pipe(
|
|
6377
|
+
T.ResponsePath("result"),
|
|
6378
|
+
) as unknown as Schema.Schema<DeleteOnRampResponse>;
|
|
6016
6379
|
|
|
6017
6380
|
export type DeleteOnRampError = DefaultErrors;
|
|
6018
6381
|
|
|
@@ -7725,7 +8088,9 @@ export interface ListOnRampAddressSpacesResponse {
|
|
|
7725
8088
|
export const ListOnRampAddressSpacesResponse =
|
|
7726
8089
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7727
8090
|
prefixes: Schema.Array(Schema.String),
|
|
7728
|
-
})
|
|
8091
|
+
}).pipe(
|
|
8092
|
+
T.ResponsePath("result"),
|
|
8093
|
+
) as unknown as Schema.Schema<ListOnRampAddressSpacesResponse>;
|
|
7729
8094
|
|
|
7730
8095
|
export type ListOnRampAddressSpacesError = DefaultErrors;
|
|
7731
8096
|
|
|
@@ -7765,7 +8130,9 @@ export interface PutOnRampAddressSpaceResponse {
|
|
|
7765
8130
|
export const PutOnRampAddressSpaceResponse =
|
|
7766
8131
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7767
8132
|
prefixes: Schema.Array(Schema.String),
|
|
7768
|
-
})
|
|
8133
|
+
}).pipe(
|
|
8134
|
+
T.ResponsePath("result"),
|
|
8135
|
+
) as unknown as Schema.Schema<PutOnRampAddressSpaceResponse>;
|
|
7769
8136
|
|
|
7770
8137
|
export type PutOnRampAddressSpaceError = DefaultErrors;
|
|
7771
8138
|
|
|
@@ -7805,7 +8172,9 @@ export interface PatchOnRampAddressSpaceResponse {
|
|
|
7805
8172
|
export const PatchOnRampAddressSpaceResponse =
|
|
7806
8173
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7807
8174
|
prefixes: Schema.Array(Schema.String),
|
|
7808
|
-
})
|
|
8175
|
+
}).pipe(
|
|
8176
|
+
T.ResponsePath("result"),
|
|
8177
|
+
) as unknown as Schema.Schema<PatchOnRampAddressSpaceResponse>;
|
|
7809
8178
|
|
|
7810
8179
|
export type PatchOnRampAddressSpaceError = DefaultErrors;
|
|
7811
8180
|
|
|
@@ -7845,7 +8214,9 @@ export const PolicyPreviewResourceRequest =
|
|
|
7845
8214
|
export type PolicyPreviewResourceResponse = string;
|
|
7846
8215
|
|
|
7847
8216
|
export const PolicyPreviewResourceResponse =
|
|
7848
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String
|
|
8217
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String.pipe(
|
|
8218
|
+
T.ResponsePath("result"),
|
|
8219
|
+
) as unknown as Schema.Schema<PolicyPreviewResourceResponse>;
|
|
7849
8220
|
|
|
7850
8221
|
export type PolicyPreviewResourceError = DefaultErrors;
|
|
7851
8222
|
|
|
@@ -8779,31 +9150,35 @@ export const GetResourceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8779
9150
|
Schema.Null,
|
|
8780
9151
|
]),
|
|
8781
9152
|
),
|
|
8782
|
-
})
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
)
|
|
9153
|
+
})
|
|
9154
|
+
.pipe(
|
|
9155
|
+
Schema.encodeKeys({
|
|
9156
|
+
id: "id",
|
|
9157
|
+
accountId: "account_id",
|
|
9158
|
+
cloudType: "cloud_type",
|
|
9159
|
+
config: "config",
|
|
9160
|
+
deploymentProvider: "deployment_provider",
|
|
9161
|
+
managed: "managed",
|
|
9162
|
+
monthlyCostEstimate: "monthly_cost_estimate",
|
|
9163
|
+
name: "name",
|
|
9164
|
+
nativeId: "native_id",
|
|
9165
|
+
observations: "observations",
|
|
9166
|
+
providerIds: "provider_ids",
|
|
9167
|
+
providerNamesById: "provider_names_by_id",
|
|
9168
|
+
region: "region",
|
|
9169
|
+
resourceGroup: "resource_group",
|
|
9170
|
+
resourceType: "resource_type",
|
|
9171
|
+
sections: "sections",
|
|
9172
|
+
state: "state",
|
|
9173
|
+
tags: "tags",
|
|
9174
|
+
updatedAt: "updated_at",
|
|
9175
|
+
url: "url",
|
|
9176
|
+
managedBy: "managed_by",
|
|
9177
|
+
}),
|
|
9178
|
+
)
|
|
9179
|
+
.pipe(
|
|
9180
|
+
T.ResponsePath("result"),
|
|
9181
|
+
) as unknown as Schema.Schema<GetResourceResponse>;
|
|
8807
9182
|
|
|
8808
9183
|
export type GetResourceError = DefaultErrors;
|
|
8809
9184
|
|
|
@@ -8991,767 +9366,1117 @@ export const ListResourcesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8991
9366
|
}),
|
|
8992
9367
|
) as unknown as Schema.Schema<ListResourcesRequest>;
|
|
8993
9368
|
|
|
8994
|
-
export
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9369
|
+
export interface ListResourcesResponse {
|
|
9370
|
+
result: {
|
|
9371
|
+
id: string;
|
|
9372
|
+
accountId: string;
|
|
9373
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
9374
|
+
config: Record<string, unknown>;
|
|
9375
|
+
deploymentProvider: string;
|
|
9376
|
+
managed: boolean;
|
|
9377
|
+
monthlyCostEstimate: { currency: string; monthlyCost: number };
|
|
9378
|
+
name: string;
|
|
9379
|
+
nativeId: string;
|
|
9380
|
+
observations: Record<string, unknown>;
|
|
9381
|
+
providerIds: string[];
|
|
9382
|
+
providerNamesById: Record<string, unknown>;
|
|
9383
|
+
region: string;
|
|
9384
|
+
resourceGroup: string;
|
|
9385
|
+
resourceType:
|
|
9386
|
+
| "aws_customer_gateway"
|
|
9387
|
+
| "aws_egress_only_internet_gateway"
|
|
9388
|
+
| "aws_internet_gateway"
|
|
9389
|
+
| "aws_instance"
|
|
9390
|
+
| "aws_network_interface"
|
|
9391
|
+
| "aws_route"
|
|
9392
|
+
| "aws_route_table"
|
|
9393
|
+
| "aws_route_table_association"
|
|
9394
|
+
| "aws_subnet"
|
|
9395
|
+
| "aws_vpc"
|
|
9396
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
9397
|
+
| "aws_vpn_connection"
|
|
9398
|
+
| "aws_vpn_connection_route"
|
|
9399
|
+
| "aws_vpn_gateway"
|
|
9400
|
+
| "aws_security_group"
|
|
9401
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
9402
|
+
| "aws_vpc_security_group_egress_rule"
|
|
9403
|
+
| "aws_ec2_managed_prefix_list"
|
|
9404
|
+
| "aws_ec2_transit_gateway"
|
|
9405
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
9406
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
9407
|
+
| "azurerm_application_security_group"
|
|
9408
|
+
| "azurerm_lb"
|
|
9409
|
+
| "azurerm_lb_backend_address_pool"
|
|
9410
|
+
| "azurerm_lb_nat_pool"
|
|
9411
|
+
| "azurerm_lb_nat_rule"
|
|
9412
|
+
| "azurerm_lb_rule"
|
|
9413
|
+
| "azurerm_local_network_gateway"
|
|
9414
|
+
| "azurerm_network_interface"
|
|
9415
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
9416
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
9417
|
+
| "azurerm_network_interface_security_group_association"
|
|
9418
|
+
| "azurerm_network_security_group"
|
|
9419
|
+
| "azurerm_public_ip"
|
|
9420
|
+
| "azurerm_route"
|
|
9421
|
+
| "azurerm_route_table"
|
|
9422
|
+
| "azurerm_subnet"
|
|
9423
|
+
| "azurerm_subnet_route_table_association"
|
|
9424
|
+
| "azurerm_virtual_machine"
|
|
9425
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
9426
|
+
| "azurerm_virtual_network"
|
|
9427
|
+
| "azurerm_virtual_network_gateway"
|
|
9428
|
+
| "google_compute_network"
|
|
9429
|
+
| "google_compute_subnetwork"
|
|
9430
|
+
| "google_compute_vpn_gateway"
|
|
9431
|
+
| "google_compute_vpn_tunnel"
|
|
9432
|
+
| "google_compute_route"
|
|
9433
|
+
| "google_compute_address"
|
|
9434
|
+
| "google_compute_global_address"
|
|
9435
|
+
| "google_compute_router"
|
|
9436
|
+
| "google_compute_interconnect_attachment"
|
|
9437
|
+
| "google_compute_ha_vpn_gateway"
|
|
9438
|
+
| "google_compute_forwarding_rule"
|
|
9439
|
+
| "google_compute_network_firewall_policy"
|
|
9440
|
+
| "google_compute_network_firewall_policy_rule"
|
|
9441
|
+
| "cloudflare_static_route"
|
|
9442
|
+
| "cloudflare_ipsec_tunnel";
|
|
9443
|
+
sections: {
|
|
9444
|
+
hiddenItems: {
|
|
9445
|
+
helpText?: string | null;
|
|
9446
|
+
name?: string | null;
|
|
9447
|
+
value?:
|
|
9448
|
+
| { itemType: string; string: string }
|
|
9449
|
+
| { itemType: string; yaml: string }
|
|
9450
|
+
| {
|
|
9451
|
+
itemType: string;
|
|
9452
|
+
yamlDiff: {
|
|
9453
|
+
diff: string;
|
|
9454
|
+
leftDescription: string;
|
|
9455
|
+
leftYaml: string;
|
|
9456
|
+
rightDescription: string;
|
|
9457
|
+
rightYaml: string;
|
|
9458
|
+
};
|
|
9459
|
+
}
|
|
9460
|
+
| {
|
|
9461
|
+
itemType: string;
|
|
9462
|
+
resourcePreview: {
|
|
9463
|
+
id: string;
|
|
9464
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
9465
|
+
detail: string;
|
|
9466
|
+
name: string;
|
|
9467
|
+
resourceType:
|
|
9468
|
+
| "aws_customer_gateway"
|
|
9469
|
+
| "aws_egress_only_internet_gateway"
|
|
9470
|
+
| "aws_internet_gateway"
|
|
9471
|
+
| "aws_instance"
|
|
9472
|
+
| "aws_network_interface"
|
|
9473
|
+
| "aws_route"
|
|
9474
|
+
| "aws_route_table"
|
|
9475
|
+
| "aws_route_table_association"
|
|
9476
|
+
| "aws_subnet"
|
|
9477
|
+
| "aws_vpc"
|
|
9478
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
9479
|
+
| "aws_vpn_connection"
|
|
9480
|
+
| "aws_vpn_connection_route"
|
|
9481
|
+
| "aws_vpn_gateway"
|
|
9482
|
+
| "aws_security_group"
|
|
9483
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
9484
|
+
| "aws_vpc_security_group_egress_rule"
|
|
9485
|
+
| "aws_ec2_managed_prefix_list"
|
|
9486
|
+
| "aws_ec2_transit_gateway"
|
|
9487
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
9488
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
9489
|
+
| "azurerm_application_security_group"
|
|
9490
|
+
| "azurerm_lb"
|
|
9491
|
+
| "azurerm_lb_backend_address_pool"
|
|
9492
|
+
| "azurerm_lb_nat_pool"
|
|
9493
|
+
| "azurerm_lb_nat_rule"
|
|
9494
|
+
| "azurerm_lb_rule"
|
|
9495
|
+
| "azurerm_local_network_gateway"
|
|
9496
|
+
| "azurerm_network_interface"
|
|
9497
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
9498
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
9499
|
+
| "azurerm_network_interface_security_group_association"
|
|
9500
|
+
| "azurerm_network_security_group"
|
|
9501
|
+
| "azurerm_public_ip"
|
|
9502
|
+
| "azurerm_route"
|
|
9503
|
+
| "azurerm_route_table"
|
|
9504
|
+
| "azurerm_subnet"
|
|
9505
|
+
| "azurerm_subnet_route_table_association"
|
|
9506
|
+
| "azurerm_virtual_machine"
|
|
9507
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
9508
|
+
| "azurerm_virtual_network"
|
|
9509
|
+
| "azurerm_virtual_network_gateway"
|
|
9510
|
+
| "google_compute_network"
|
|
9511
|
+
| "google_compute_subnetwork"
|
|
9512
|
+
| "google_compute_vpn_gateway"
|
|
9513
|
+
| "google_compute_vpn_tunnel"
|
|
9514
|
+
| "google_compute_route"
|
|
9515
|
+
| "google_compute_address"
|
|
9516
|
+
| "google_compute_global_address"
|
|
9517
|
+
| "google_compute_router"
|
|
9518
|
+
| "google_compute_interconnect_attachment"
|
|
9519
|
+
| "google_compute_ha_vpn_gateway"
|
|
9520
|
+
| "google_compute_forwarding_rule"
|
|
9521
|
+
| "google_compute_network_firewall_policy"
|
|
9522
|
+
| "google_compute_network_firewall_policy_rule"
|
|
9523
|
+
| "cloudflare_static_route"
|
|
9524
|
+
| "cloudflare_ipsec_tunnel";
|
|
9525
|
+
title: string;
|
|
9526
|
+
};
|
|
9527
|
+
}
|
|
9528
|
+
| {
|
|
9529
|
+
itemType: string;
|
|
9530
|
+
list: (
|
|
9531
|
+
| { itemType: unknown; string: unknown }
|
|
9532
|
+
| { itemType: unknown; resourcePreview: unknown }
|
|
9533
|
+
)[];
|
|
9534
|
+
}
|
|
9535
|
+
| null;
|
|
9536
|
+
}[];
|
|
9537
|
+
name: string;
|
|
9538
|
+
visibleItems: {
|
|
9539
|
+
helpText?: string | null;
|
|
9540
|
+
name?: string | null;
|
|
9541
|
+
value?:
|
|
9542
|
+
| { itemType: string; string: string }
|
|
9543
|
+
| { itemType: string; yaml: string }
|
|
9544
|
+
| {
|
|
9545
|
+
itemType: string;
|
|
9546
|
+
yamlDiff: {
|
|
9547
|
+
diff: string;
|
|
9548
|
+
leftDescription: string;
|
|
9549
|
+
leftYaml: string;
|
|
9550
|
+
rightDescription: string;
|
|
9551
|
+
rightYaml: string;
|
|
9552
|
+
};
|
|
9553
|
+
}
|
|
9554
|
+
| {
|
|
9555
|
+
itemType: string;
|
|
9556
|
+
resourcePreview: {
|
|
9557
|
+
id: string;
|
|
9558
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
9559
|
+
detail: string;
|
|
9560
|
+
name: string;
|
|
9561
|
+
resourceType:
|
|
9562
|
+
| "aws_customer_gateway"
|
|
9563
|
+
| "aws_egress_only_internet_gateway"
|
|
9564
|
+
| "aws_internet_gateway"
|
|
9565
|
+
| "aws_instance"
|
|
9566
|
+
| "aws_network_interface"
|
|
9567
|
+
| "aws_route"
|
|
9568
|
+
| "aws_route_table"
|
|
9569
|
+
| "aws_route_table_association"
|
|
9570
|
+
| "aws_subnet"
|
|
9571
|
+
| "aws_vpc"
|
|
9572
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
9573
|
+
| "aws_vpn_connection"
|
|
9574
|
+
| "aws_vpn_connection_route"
|
|
9575
|
+
| "aws_vpn_gateway"
|
|
9576
|
+
| "aws_security_group"
|
|
9577
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
9578
|
+
| "aws_vpc_security_group_egress_rule"
|
|
9579
|
+
| "aws_ec2_managed_prefix_list"
|
|
9580
|
+
| "aws_ec2_transit_gateway"
|
|
9581
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
9582
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
9583
|
+
| "azurerm_application_security_group"
|
|
9584
|
+
| "azurerm_lb"
|
|
9585
|
+
| "azurerm_lb_backend_address_pool"
|
|
9586
|
+
| "azurerm_lb_nat_pool"
|
|
9587
|
+
| "azurerm_lb_nat_rule"
|
|
9588
|
+
| "azurerm_lb_rule"
|
|
9589
|
+
| "azurerm_local_network_gateway"
|
|
9590
|
+
| "azurerm_network_interface"
|
|
9591
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
9592
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
9593
|
+
| "azurerm_network_interface_security_group_association"
|
|
9594
|
+
| "azurerm_network_security_group"
|
|
9595
|
+
| "azurerm_public_ip"
|
|
9596
|
+
| "azurerm_route"
|
|
9597
|
+
| "azurerm_route_table"
|
|
9598
|
+
| "azurerm_subnet"
|
|
9599
|
+
| "azurerm_subnet_route_table_association"
|
|
9600
|
+
| "azurerm_virtual_machine"
|
|
9601
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
9602
|
+
| "azurerm_virtual_network"
|
|
9603
|
+
| "azurerm_virtual_network_gateway"
|
|
9604
|
+
| "google_compute_network"
|
|
9605
|
+
| "google_compute_subnetwork"
|
|
9606
|
+
| "google_compute_vpn_gateway"
|
|
9607
|
+
| "google_compute_vpn_tunnel"
|
|
9608
|
+
| "google_compute_route"
|
|
9609
|
+
| "google_compute_address"
|
|
9610
|
+
| "google_compute_global_address"
|
|
9611
|
+
| "google_compute_router"
|
|
9612
|
+
| "google_compute_interconnect_attachment"
|
|
9613
|
+
| "google_compute_ha_vpn_gateway"
|
|
9614
|
+
| "google_compute_forwarding_rule"
|
|
9615
|
+
| "google_compute_network_firewall_policy"
|
|
9616
|
+
| "google_compute_network_firewall_policy_rule"
|
|
9617
|
+
| "cloudflare_static_route"
|
|
9618
|
+
| "cloudflare_ipsec_tunnel";
|
|
9619
|
+
title: string;
|
|
9620
|
+
};
|
|
9621
|
+
}
|
|
9622
|
+
| {
|
|
9623
|
+
itemType: string;
|
|
9624
|
+
list: (
|
|
9625
|
+
| { itemType: unknown; string: unknown }
|
|
9626
|
+
| { itemType: unknown; resourcePreview: unknown }
|
|
9627
|
+
)[];
|
|
9628
|
+
}
|
|
9629
|
+
| null;
|
|
9630
|
+
}[];
|
|
9069
9631
|
helpText?: string | null;
|
|
9070
|
-
name?: string | null;
|
|
9071
|
-
value?:
|
|
9072
|
-
| { itemType: string; string: string }
|
|
9073
|
-
| { itemType: string; yaml: string }
|
|
9074
|
-
| {
|
|
9075
|
-
itemType: string;
|
|
9076
|
-
yamlDiff: {
|
|
9077
|
-
diff: string;
|
|
9078
|
-
leftDescription: string;
|
|
9079
|
-
leftYaml: string;
|
|
9080
|
-
rightDescription: string;
|
|
9081
|
-
rightYaml: string;
|
|
9082
|
-
};
|
|
9083
|
-
}
|
|
9084
|
-
| {
|
|
9085
|
-
itemType: string;
|
|
9086
|
-
resourcePreview: {
|
|
9087
|
-
id: string;
|
|
9088
|
-
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
9089
|
-
detail: string;
|
|
9090
|
-
name: string;
|
|
9091
|
-
resourceType:
|
|
9092
|
-
| "aws_customer_gateway"
|
|
9093
|
-
| "aws_egress_only_internet_gateway"
|
|
9094
|
-
| "aws_internet_gateway"
|
|
9095
|
-
| "aws_instance"
|
|
9096
|
-
| "aws_network_interface"
|
|
9097
|
-
| "aws_route"
|
|
9098
|
-
| "aws_route_table"
|
|
9099
|
-
| "aws_route_table_association"
|
|
9100
|
-
| "aws_subnet"
|
|
9101
|
-
| "aws_vpc"
|
|
9102
|
-
| "aws_vpc_ipv4_cidr_block_association"
|
|
9103
|
-
| "aws_vpn_connection"
|
|
9104
|
-
| "aws_vpn_connection_route"
|
|
9105
|
-
| "aws_vpn_gateway"
|
|
9106
|
-
| "aws_security_group"
|
|
9107
|
-
| "aws_vpc_security_group_ingress_rule"
|
|
9108
|
-
| "aws_vpc_security_group_egress_rule"
|
|
9109
|
-
| "aws_ec2_managed_prefix_list"
|
|
9110
|
-
| "aws_ec2_transit_gateway"
|
|
9111
|
-
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
9112
|
-
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
9113
|
-
| "azurerm_application_security_group"
|
|
9114
|
-
| "azurerm_lb"
|
|
9115
|
-
| "azurerm_lb_backend_address_pool"
|
|
9116
|
-
| "azurerm_lb_nat_pool"
|
|
9117
|
-
| "azurerm_lb_nat_rule"
|
|
9118
|
-
| "azurerm_lb_rule"
|
|
9119
|
-
| "azurerm_local_network_gateway"
|
|
9120
|
-
| "azurerm_network_interface"
|
|
9121
|
-
| "azurerm_network_interface_application_security_group_association"
|
|
9122
|
-
| "azurerm_network_interface_backend_address_pool_association"
|
|
9123
|
-
| "azurerm_network_interface_security_group_association"
|
|
9124
|
-
| "azurerm_network_security_group"
|
|
9125
|
-
| "azurerm_public_ip"
|
|
9126
|
-
| "azurerm_route"
|
|
9127
|
-
| "azurerm_route_table"
|
|
9128
|
-
| "azurerm_subnet"
|
|
9129
|
-
| "azurerm_subnet_route_table_association"
|
|
9130
|
-
| "azurerm_virtual_machine"
|
|
9131
|
-
| "azurerm_virtual_network_gateway_connection"
|
|
9132
|
-
| "azurerm_virtual_network"
|
|
9133
|
-
| "azurerm_virtual_network_gateway"
|
|
9134
|
-
| "google_compute_network"
|
|
9135
|
-
| "google_compute_subnetwork"
|
|
9136
|
-
| "google_compute_vpn_gateway"
|
|
9137
|
-
| "google_compute_vpn_tunnel"
|
|
9138
|
-
| "google_compute_route"
|
|
9139
|
-
| "google_compute_address"
|
|
9140
|
-
| "google_compute_global_address"
|
|
9141
|
-
| "google_compute_router"
|
|
9142
|
-
| "google_compute_interconnect_attachment"
|
|
9143
|
-
| "google_compute_ha_vpn_gateway"
|
|
9144
|
-
| "google_compute_forwarding_rule"
|
|
9145
|
-
| "google_compute_network_firewall_policy"
|
|
9146
|
-
| "google_compute_network_firewall_policy_rule"
|
|
9147
|
-
| "cloudflare_static_route"
|
|
9148
|
-
| "cloudflare_ipsec_tunnel";
|
|
9149
|
-
title: string;
|
|
9150
|
-
};
|
|
9151
|
-
}
|
|
9152
|
-
| {
|
|
9153
|
-
itemType: string;
|
|
9154
|
-
list: (
|
|
9155
|
-
| { itemType: unknown; string: unknown }
|
|
9156
|
-
| { itemType: unknown; resourcePreview: unknown }
|
|
9157
|
-
)[];
|
|
9158
|
-
}
|
|
9159
|
-
| null;
|
|
9160
9632
|
}[];
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
| {
|
|
9169
|
-
itemType: string;
|
|
9170
|
-
yamlDiff: {
|
|
9171
|
-
diff: string;
|
|
9172
|
-
leftDescription: string;
|
|
9173
|
-
leftYaml: string;
|
|
9174
|
-
rightDescription: string;
|
|
9175
|
-
rightYaml: string;
|
|
9176
|
-
};
|
|
9177
|
-
}
|
|
9178
|
-
| {
|
|
9179
|
-
itemType: string;
|
|
9180
|
-
resourcePreview: {
|
|
9181
|
-
id: string;
|
|
9182
|
-
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
9183
|
-
detail: string;
|
|
9184
|
-
name: string;
|
|
9185
|
-
resourceType:
|
|
9186
|
-
| "aws_customer_gateway"
|
|
9187
|
-
| "aws_egress_only_internet_gateway"
|
|
9188
|
-
| "aws_internet_gateway"
|
|
9189
|
-
| "aws_instance"
|
|
9190
|
-
| "aws_network_interface"
|
|
9191
|
-
| "aws_route"
|
|
9192
|
-
| "aws_route_table"
|
|
9193
|
-
| "aws_route_table_association"
|
|
9194
|
-
| "aws_subnet"
|
|
9195
|
-
| "aws_vpc"
|
|
9196
|
-
| "aws_vpc_ipv4_cidr_block_association"
|
|
9197
|
-
| "aws_vpn_connection"
|
|
9198
|
-
| "aws_vpn_connection_route"
|
|
9199
|
-
| "aws_vpn_gateway"
|
|
9200
|
-
| "aws_security_group"
|
|
9201
|
-
| "aws_vpc_security_group_ingress_rule"
|
|
9202
|
-
| "aws_vpc_security_group_egress_rule"
|
|
9203
|
-
| "aws_ec2_managed_prefix_list"
|
|
9204
|
-
| "aws_ec2_transit_gateway"
|
|
9205
|
-
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
9206
|
-
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
9207
|
-
| "azurerm_application_security_group"
|
|
9208
|
-
| "azurerm_lb"
|
|
9209
|
-
| "azurerm_lb_backend_address_pool"
|
|
9210
|
-
| "azurerm_lb_nat_pool"
|
|
9211
|
-
| "azurerm_lb_nat_rule"
|
|
9212
|
-
| "azurerm_lb_rule"
|
|
9213
|
-
| "azurerm_local_network_gateway"
|
|
9214
|
-
| "azurerm_network_interface"
|
|
9215
|
-
| "azurerm_network_interface_application_security_group_association"
|
|
9216
|
-
| "azurerm_network_interface_backend_address_pool_association"
|
|
9217
|
-
| "azurerm_network_interface_security_group_association"
|
|
9218
|
-
| "azurerm_network_security_group"
|
|
9219
|
-
| "azurerm_public_ip"
|
|
9220
|
-
| "azurerm_route"
|
|
9221
|
-
| "azurerm_route_table"
|
|
9222
|
-
| "azurerm_subnet"
|
|
9223
|
-
| "azurerm_subnet_route_table_association"
|
|
9224
|
-
| "azurerm_virtual_machine"
|
|
9225
|
-
| "azurerm_virtual_network_gateway_connection"
|
|
9226
|
-
| "azurerm_virtual_network"
|
|
9227
|
-
| "azurerm_virtual_network_gateway"
|
|
9228
|
-
| "google_compute_network"
|
|
9229
|
-
| "google_compute_subnetwork"
|
|
9230
|
-
| "google_compute_vpn_gateway"
|
|
9231
|
-
| "google_compute_vpn_tunnel"
|
|
9232
|
-
| "google_compute_route"
|
|
9233
|
-
| "google_compute_address"
|
|
9234
|
-
| "google_compute_global_address"
|
|
9235
|
-
| "google_compute_router"
|
|
9236
|
-
| "google_compute_interconnect_attachment"
|
|
9237
|
-
| "google_compute_ha_vpn_gateway"
|
|
9238
|
-
| "google_compute_forwarding_rule"
|
|
9239
|
-
| "google_compute_network_firewall_policy"
|
|
9240
|
-
| "google_compute_network_firewall_policy_rule"
|
|
9241
|
-
| "cloudflare_static_route"
|
|
9242
|
-
| "cloudflare_ipsec_tunnel";
|
|
9243
|
-
title: string;
|
|
9244
|
-
};
|
|
9245
|
-
}
|
|
9246
|
-
| {
|
|
9247
|
-
itemType: string;
|
|
9248
|
-
list: (
|
|
9249
|
-
| { itemType: unknown; string: unknown }
|
|
9250
|
-
| { itemType: unknown; resourcePreview: unknown }
|
|
9251
|
-
)[];
|
|
9252
|
-
}
|
|
9253
|
-
| null;
|
|
9254
|
-
}[];
|
|
9255
|
-
helpText?: string | null;
|
|
9633
|
+
state: Record<string, unknown>;
|
|
9634
|
+
tags: Record<string, unknown>;
|
|
9635
|
+
updatedAt: string;
|
|
9636
|
+
url: string;
|
|
9637
|
+
managedBy?:
|
|
9638
|
+
| { id: string; clientType: "MAGIC_WAN_CLOUD_ONRAMP"; name: string }[]
|
|
9639
|
+
| null;
|
|
9256
9640
|
}[];
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
}[];
|
|
9641
|
+
resultInfo: {
|
|
9642
|
+
count?: number | null;
|
|
9643
|
+
page?: number | null;
|
|
9644
|
+
perPage?: number | null;
|
|
9645
|
+
totalCount?: number | null;
|
|
9646
|
+
};
|
|
9647
|
+
}
|
|
9265
9648
|
|
|
9266
|
-
export const ListResourcesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
9267
|
-
Schema.
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9649
|
+
export const ListResourcesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9650
|
+
result: Schema.Array(
|
|
9651
|
+
Schema.Struct({
|
|
9652
|
+
id: Schema.String,
|
|
9653
|
+
accountId: Schema.String,
|
|
9654
|
+
cloudType: Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
|
|
9655
|
+
config: Schema.Struct({}),
|
|
9656
|
+
deploymentProvider: Schema.String,
|
|
9657
|
+
managed: Schema.Boolean,
|
|
9658
|
+
monthlyCostEstimate: Schema.Struct({
|
|
9659
|
+
currency: Schema.String,
|
|
9660
|
+
monthlyCost: Schema.Number,
|
|
9661
|
+
}).pipe(
|
|
9662
|
+
Schema.encodeKeys({
|
|
9663
|
+
currency: "currency",
|
|
9664
|
+
monthlyCost: "monthly_cost",
|
|
9665
|
+
}),
|
|
9666
|
+
),
|
|
9667
|
+
name: Schema.String,
|
|
9668
|
+
nativeId: Schema.String,
|
|
9669
|
+
observations: Schema.Struct({}),
|
|
9670
|
+
providerIds: Schema.Array(Schema.String),
|
|
9671
|
+
providerNamesById: Schema.Struct({}),
|
|
9672
|
+
region: Schema.String,
|
|
9673
|
+
resourceGroup: Schema.String,
|
|
9674
|
+
resourceType: Schema.Literals([
|
|
9675
|
+
"aws_customer_gateway",
|
|
9676
|
+
"aws_egress_only_internet_gateway",
|
|
9677
|
+
"aws_internet_gateway",
|
|
9678
|
+
"aws_instance",
|
|
9679
|
+
"aws_network_interface",
|
|
9680
|
+
"aws_route",
|
|
9681
|
+
"aws_route_table",
|
|
9682
|
+
"aws_route_table_association",
|
|
9683
|
+
"aws_subnet",
|
|
9684
|
+
"aws_vpc",
|
|
9685
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
9686
|
+
"aws_vpn_connection",
|
|
9687
|
+
"aws_vpn_connection_route",
|
|
9688
|
+
"aws_vpn_gateway",
|
|
9689
|
+
"aws_security_group",
|
|
9690
|
+
"aws_vpc_security_group_ingress_rule",
|
|
9691
|
+
"aws_vpc_security_group_egress_rule",
|
|
9692
|
+
"aws_ec2_managed_prefix_list",
|
|
9693
|
+
"aws_ec2_transit_gateway",
|
|
9694
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
9695
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
9696
|
+
"azurerm_application_security_group",
|
|
9697
|
+
"azurerm_lb",
|
|
9698
|
+
"azurerm_lb_backend_address_pool",
|
|
9699
|
+
"azurerm_lb_nat_pool",
|
|
9700
|
+
"azurerm_lb_nat_rule",
|
|
9701
|
+
"azurerm_lb_rule",
|
|
9702
|
+
"azurerm_local_network_gateway",
|
|
9703
|
+
"azurerm_network_interface",
|
|
9704
|
+
"azurerm_network_interface_application_security_group_association",
|
|
9705
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
9706
|
+
"azurerm_network_interface_security_group_association",
|
|
9707
|
+
"azurerm_network_security_group",
|
|
9708
|
+
"azurerm_public_ip",
|
|
9709
|
+
"azurerm_route",
|
|
9710
|
+
"azurerm_route_table",
|
|
9711
|
+
"azurerm_subnet",
|
|
9712
|
+
"azurerm_subnet_route_table_association",
|
|
9713
|
+
"azurerm_virtual_machine",
|
|
9714
|
+
"azurerm_virtual_network_gateway_connection",
|
|
9715
|
+
"azurerm_virtual_network",
|
|
9716
|
+
"azurerm_virtual_network_gateway",
|
|
9717
|
+
"google_compute_network",
|
|
9718
|
+
"google_compute_subnetwork",
|
|
9719
|
+
"google_compute_vpn_gateway",
|
|
9720
|
+
"google_compute_vpn_tunnel",
|
|
9721
|
+
"google_compute_route",
|
|
9722
|
+
"google_compute_address",
|
|
9723
|
+
"google_compute_global_address",
|
|
9724
|
+
"google_compute_router",
|
|
9725
|
+
"google_compute_interconnect_attachment",
|
|
9726
|
+
"google_compute_ha_vpn_gateway",
|
|
9727
|
+
"google_compute_forwarding_rule",
|
|
9728
|
+
"google_compute_network_firewall_policy",
|
|
9729
|
+
"google_compute_network_firewall_policy_rule",
|
|
9730
|
+
"cloudflare_static_route",
|
|
9731
|
+
"cloudflare_ipsec_tunnel",
|
|
9732
|
+
]),
|
|
9733
|
+
sections: Schema.Array(
|
|
9734
|
+
Schema.Struct({
|
|
9735
|
+
hiddenItems: Schema.Array(
|
|
9736
|
+
Schema.Struct({
|
|
9737
|
+
helpText: Schema.optional(
|
|
9738
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
9739
|
+
),
|
|
9740
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9741
|
+
value: Schema.optional(
|
|
9356
9742
|
Schema.Union([
|
|
9357
|
-
Schema.
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
Schema.encodeKeys({
|
|
9362
|
-
itemType: "item_type",
|
|
9363
|
-
string: "string",
|
|
9364
|
-
}),
|
|
9365
|
-
),
|
|
9366
|
-
Schema.Struct({
|
|
9367
|
-
itemType: Schema.String,
|
|
9368
|
-
yaml: Schema.String,
|
|
9369
|
-
}).pipe(
|
|
9370
|
-
Schema.encodeKeys({ itemType: "item_type", yaml: "yaml" }),
|
|
9371
|
-
),
|
|
9372
|
-
Schema.Struct({
|
|
9373
|
-
itemType: Schema.String,
|
|
9374
|
-
yamlDiff: Schema.Struct({
|
|
9375
|
-
diff: Schema.String,
|
|
9376
|
-
leftDescription: Schema.String,
|
|
9377
|
-
leftYaml: Schema.String,
|
|
9378
|
-
rightDescription: Schema.String,
|
|
9379
|
-
rightYaml: Schema.String,
|
|
9743
|
+
Schema.Union([
|
|
9744
|
+
Schema.Struct({
|
|
9745
|
+
itemType: Schema.String,
|
|
9746
|
+
string: Schema.String,
|
|
9380
9747
|
}).pipe(
|
|
9381
9748
|
Schema.encodeKeys({
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
leftYaml: "left_yaml",
|
|
9385
|
-
rightDescription: "right_description",
|
|
9386
|
-
rightYaml: "right_yaml",
|
|
9749
|
+
itemType: "item_type",
|
|
9750
|
+
string: "string",
|
|
9387
9751
|
}),
|
|
9388
9752
|
),
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
yamlDiff: "yaml_diff",
|
|
9393
|
-
}),
|
|
9394
|
-
),
|
|
9395
|
-
Schema.Struct({
|
|
9396
|
-
itemType: Schema.String,
|
|
9397
|
-
resourcePreview: Schema.Struct({
|
|
9398
|
-
id: Schema.String,
|
|
9399
|
-
cloudType: Schema.Literals([
|
|
9400
|
-
"AWS",
|
|
9401
|
-
"AZURE",
|
|
9402
|
-
"GOOGLE",
|
|
9403
|
-
"CLOUDFLARE",
|
|
9404
|
-
]),
|
|
9405
|
-
detail: Schema.String,
|
|
9406
|
-
name: Schema.String,
|
|
9407
|
-
resourceType: Schema.Literals([
|
|
9408
|
-
"aws_customer_gateway",
|
|
9409
|
-
"aws_egress_only_internet_gateway",
|
|
9410
|
-
"aws_internet_gateway",
|
|
9411
|
-
"aws_instance",
|
|
9412
|
-
"aws_network_interface",
|
|
9413
|
-
"aws_route",
|
|
9414
|
-
"aws_route_table",
|
|
9415
|
-
"aws_route_table_association",
|
|
9416
|
-
"aws_subnet",
|
|
9417
|
-
"aws_vpc",
|
|
9418
|
-
"aws_vpc_ipv4_cidr_block_association",
|
|
9419
|
-
"aws_vpn_connection",
|
|
9420
|
-
"aws_vpn_connection_route",
|
|
9421
|
-
"aws_vpn_gateway",
|
|
9422
|
-
"aws_security_group",
|
|
9423
|
-
"aws_vpc_security_group_ingress_rule",
|
|
9424
|
-
"aws_vpc_security_group_egress_rule",
|
|
9425
|
-
"aws_ec2_managed_prefix_list",
|
|
9426
|
-
"aws_ec2_transit_gateway",
|
|
9427
|
-
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
9428
|
-
"aws_ec2_transit_gateway_vpc_attachment",
|
|
9429
|
-
"azurerm_application_security_group",
|
|
9430
|
-
"azurerm_lb",
|
|
9431
|
-
"azurerm_lb_backend_address_pool",
|
|
9432
|
-
"azurerm_lb_nat_pool",
|
|
9433
|
-
"azurerm_lb_nat_rule",
|
|
9434
|
-
"azurerm_lb_rule",
|
|
9435
|
-
"azurerm_local_network_gateway",
|
|
9436
|
-
"azurerm_network_interface",
|
|
9437
|
-
"azurerm_network_interface_application_security_group_association",
|
|
9438
|
-
"azurerm_network_interface_backend_address_pool_association",
|
|
9439
|
-
"azurerm_network_interface_security_group_association",
|
|
9440
|
-
"azurerm_network_security_group",
|
|
9441
|
-
"azurerm_public_ip",
|
|
9442
|
-
"azurerm_route",
|
|
9443
|
-
"azurerm_route_table",
|
|
9444
|
-
"azurerm_subnet",
|
|
9445
|
-
"azurerm_subnet_route_table_association",
|
|
9446
|
-
"azurerm_virtual_machine",
|
|
9447
|
-
"azurerm_virtual_network_gateway_connection",
|
|
9448
|
-
"azurerm_virtual_network",
|
|
9449
|
-
"azurerm_virtual_network_gateway",
|
|
9450
|
-
"google_compute_network",
|
|
9451
|
-
"google_compute_subnetwork",
|
|
9452
|
-
"google_compute_vpn_gateway",
|
|
9453
|
-
"google_compute_vpn_tunnel",
|
|
9454
|
-
"google_compute_route",
|
|
9455
|
-
"google_compute_address",
|
|
9456
|
-
"google_compute_global_address",
|
|
9457
|
-
"google_compute_router",
|
|
9458
|
-
"google_compute_interconnect_attachment",
|
|
9459
|
-
"google_compute_ha_vpn_gateway",
|
|
9460
|
-
"google_compute_forwarding_rule",
|
|
9461
|
-
"google_compute_network_firewall_policy",
|
|
9462
|
-
"google_compute_network_firewall_policy_rule",
|
|
9463
|
-
"cloudflare_static_route",
|
|
9464
|
-
"cloudflare_ipsec_tunnel",
|
|
9465
|
-
]),
|
|
9466
|
-
title: Schema.String,
|
|
9753
|
+
Schema.Struct({
|
|
9754
|
+
itemType: Schema.String,
|
|
9755
|
+
yaml: Schema.String,
|
|
9467
9756
|
}).pipe(
|
|
9468
9757
|
Schema.encodeKeys({
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
detail: "detail",
|
|
9472
|
-
name: "name",
|
|
9473
|
-
resourceType: "resource_type",
|
|
9474
|
-
title: "title",
|
|
9758
|
+
itemType: "item_type",
|
|
9759
|
+
yaml: "yaml",
|
|
9475
9760
|
}),
|
|
9476
9761
|
),
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
}).pipe(
|
|
9500
|
-
Schema.encodeKeys({
|
|
9501
|
-
itemType: "item_type",
|
|
9502
|
-
resourcePreview: "resource_preview",
|
|
9503
|
-
}),
|
|
9504
|
-
),
|
|
9505
|
-
]),
|
|
9762
|
+
Schema.Struct({
|
|
9763
|
+
itemType: Schema.String,
|
|
9764
|
+
yamlDiff: Schema.Struct({
|
|
9765
|
+
diff: Schema.String,
|
|
9766
|
+
leftDescription: Schema.String,
|
|
9767
|
+
leftYaml: Schema.String,
|
|
9768
|
+
rightDescription: Schema.String,
|
|
9769
|
+
rightYaml: Schema.String,
|
|
9770
|
+
}).pipe(
|
|
9771
|
+
Schema.encodeKeys({
|
|
9772
|
+
diff: "diff",
|
|
9773
|
+
leftDescription: "left_description",
|
|
9774
|
+
leftYaml: "left_yaml",
|
|
9775
|
+
rightDescription: "right_description",
|
|
9776
|
+
rightYaml: "right_yaml",
|
|
9777
|
+
}),
|
|
9778
|
+
),
|
|
9779
|
+
}).pipe(
|
|
9780
|
+
Schema.encodeKeys({
|
|
9781
|
+
itemType: "item_type",
|
|
9782
|
+
yamlDiff: "yaml_diff",
|
|
9783
|
+
}),
|
|
9506
9784
|
),
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9785
|
+
Schema.Struct({
|
|
9786
|
+
itemType: Schema.String,
|
|
9787
|
+
resourcePreview: Schema.Struct({
|
|
9788
|
+
id: Schema.String,
|
|
9789
|
+
cloudType: Schema.Literals([
|
|
9790
|
+
"AWS",
|
|
9791
|
+
"AZURE",
|
|
9792
|
+
"GOOGLE",
|
|
9793
|
+
"CLOUDFLARE",
|
|
9794
|
+
]),
|
|
9795
|
+
detail: Schema.String,
|
|
9796
|
+
name: Schema.String,
|
|
9797
|
+
resourceType: Schema.Literals([
|
|
9798
|
+
"aws_customer_gateway",
|
|
9799
|
+
"aws_egress_only_internet_gateway",
|
|
9800
|
+
"aws_internet_gateway",
|
|
9801
|
+
"aws_instance",
|
|
9802
|
+
"aws_network_interface",
|
|
9803
|
+
"aws_route",
|
|
9804
|
+
"aws_route_table",
|
|
9805
|
+
"aws_route_table_association",
|
|
9806
|
+
"aws_subnet",
|
|
9807
|
+
"aws_vpc",
|
|
9808
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
9809
|
+
"aws_vpn_connection",
|
|
9810
|
+
"aws_vpn_connection_route",
|
|
9811
|
+
"aws_vpn_gateway",
|
|
9812
|
+
"aws_security_group",
|
|
9813
|
+
"aws_vpc_security_group_ingress_rule",
|
|
9814
|
+
"aws_vpc_security_group_egress_rule",
|
|
9815
|
+
"aws_ec2_managed_prefix_list",
|
|
9816
|
+
"aws_ec2_transit_gateway",
|
|
9817
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
9818
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
9819
|
+
"azurerm_application_security_group",
|
|
9820
|
+
"azurerm_lb",
|
|
9821
|
+
"azurerm_lb_backend_address_pool",
|
|
9822
|
+
"azurerm_lb_nat_pool",
|
|
9823
|
+
"azurerm_lb_nat_rule",
|
|
9824
|
+
"azurerm_lb_rule",
|
|
9825
|
+
"azurerm_local_network_gateway",
|
|
9826
|
+
"azurerm_network_interface",
|
|
9827
|
+
"azurerm_network_interface_application_security_group_association",
|
|
9828
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
9829
|
+
"azurerm_network_interface_security_group_association",
|
|
9830
|
+
"azurerm_network_security_group",
|
|
9831
|
+
"azurerm_public_ip",
|
|
9832
|
+
"azurerm_route",
|
|
9833
|
+
"azurerm_route_table",
|
|
9834
|
+
"azurerm_subnet",
|
|
9835
|
+
"azurerm_subnet_route_table_association",
|
|
9836
|
+
"azurerm_virtual_machine",
|
|
9837
|
+
"azurerm_virtual_network_gateway_connection",
|
|
9838
|
+
"azurerm_virtual_network",
|
|
9839
|
+
"azurerm_virtual_network_gateway",
|
|
9840
|
+
"google_compute_network",
|
|
9841
|
+
"google_compute_subnetwork",
|
|
9842
|
+
"google_compute_vpn_gateway",
|
|
9843
|
+
"google_compute_vpn_tunnel",
|
|
9844
|
+
"google_compute_route",
|
|
9845
|
+
"google_compute_address",
|
|
9846
|
+
"google_compute_global_address",
|
|
9847
|
+
"google_compute_router",
|
|
9848
|
+
"google_compute_interconnect_attachment",
|
|
9849
|
+
"google_compute_ha_vpn_gateway",
|
|
9850
|
+
"google_compute_forwarding_rule",
|
|
9851
|
+
"google_compute_network_firewall_policy",
|
|
9852
|
+
"google_compute_network_firewall_policy_rule",
|
|
9853
|
+
"cloudflare_static_route",
|
|
9854
|
+
"cloudflare_ipsec_tunnel",
|
|
9855
|
+
]),
|
|
9856
|
+
title: Schema.String,
|
|
9857
|
+
}).pipe(
|
|
9858
|
+
Schema.encodeKeys({
|
|
9859
|
+
id: "id",
|
|
9860
|
+
cloudType: "cloud_type",
|
|
9861
|
+
detail: "detail",
|
|
9862
|
+
name: "name",
|
|
9863
|
+
resourceType: "resource_type",
|
|
9864
|
+
title: "title",
|
|
9865
|
+
}),
|
|
9866
|
+
),
|
|
9867
|
+
}).pipe(
|
|
9868
|
+
Schema.encodeKeys({
|
|
9869
|
+
itemType: "item_type",
|
|
9870
|
+
resourcePreview: "resource_preview",
|
|
9871
|
+
}),
|
|
9872
|
+
),
|
|
9873
|
+
Schema.Struct({
|
|
9874
|
+
itemType: Schema.String,
|
|
9875
|
+
list: Schema.Array(
|
|
9876
|
+
Schema.Union([
|
|
9877
|
+
Schema.Struct({
|
|
9878
|
+
itemType: Schema.Unknown,
|
|
9879
|
+
string: Schema.Unknown,
|
|
9880
|
+
}).pipe(
|
|
9881
|
+
Schema.encodeKeys({
|
|
9882
|
+
itemType: "item_type",
|
|
9883
|
+
string: "string",
|
|
9884
|
+
}),
|
|
9885
|
+
),
|
|
9886
|
+
Schema.Struct({
|
|
9887
|
+
itemType: Schema.Unknown,
|
|
9888
|
+
resourcePreview: Schema.Unknown,
|
|
9889
|
+
}).pipe(
|
|
9890
|
+
Schema.encodeKeys({
|
|
9891
|
+
itemType: "item_type",
|
|
9892
|
+
resourcePreview: "resource_preview",
|
|
9893
|
+
}),
|
|
9894
|
+
),
|
|
9895
|
+
]),
|
|
9896
|
+
),
|
|
9897
|
+
}).pipe(
|
|
9898
|
+
Schema.encodeKeys({
|
|
9899
|
+
itemType: "item_type",
|
|
9900
|
+
list: "list",
|
|
9901
|
+
}),
|
|
9902
|
+
),
|
|
9903
|
+
]),
|
|
9904
|
+
Schema.Null,
|
|
9510
9905
|
]),
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
9521
|
-
|
|
9522
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9523
|
-
value: Schema.optional(
|
|
9524
|
-
Schema.Union([
|
|
9906
|
+
),
|
|
9907
|
+
}),
|
|
9908
|
+
),
|
|
9909
|
+
name: Schema.String,
|
|
9910
|
+
visibleItems: Schema.Array(
|
|
9911
|
+
Schema.Struct({
|
|
9912
|
+
helpText: Schema.optional(
|
|
9913
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
9914
|
+
),
|
|
9915
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9916
|
+
value: Schema.optional(
|
|
9525
9917
|
Schema.Union([
|
|
9526
|
-
Schema.
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
Schema.encodeKeys({
|
|
9531
|
-
itemType: "item_type",
|
|
9532
|
-
string: "string",
|
|
9533
|
-
}),
|
|
9534
|
-
),
|
|
9535
|
-
Schema.Struct({
|
|
9536
|
-
itemType: Schema.String,
|
|
9537
|
-
yaml: Schema.String,
|
|
9538
|
-
}).pipe(
|
|
9539
|
-
Schema.encodeKeys({ itemType: "item_type", yaml: "yaml" }),
|
|
9540
|
-
),
|
|
9541
|
-
Schema.Struct({
|
|
9542
|
-
itemType: Schema.String,
|
|
9543
|
-
yamlDiff: Schema.Struct({
|
|
9544
|
-
diff: Schema.String,
|
|
9545
|
-
leftDescription: Schema.String,
|
|
9546
|
-
leftYaml: Schema.String,
|
|
9547
|
-
rightDescription: Schema.String,
|
|
9548
|
-
rightYaml: Schema.String,
|
|
9918
|
+
Schema.Union([
|
|
9919
|
+
Schema.Struct({
|
|
9920
|
+
itemType: Schema.String,
|
|
9921
|
+
string: Schema.String,
|
|
9549
9922
|
}).pipe(
|
|
9550
9923
|
Schema.encodeKeys({
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
leftYaml: "left_yaml",
|
|
9554
|
-
rightDescription: "right_description",
|
|
9555
|
-
rightYaml: "right_yaml",
|
|
9924
|
+
itemType: "item_type",
|
|
9925
|
+
string: "string",
|
|
9556
9926
|
}),
|
|
9557
9927
|
),
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
yamlDiff: "yaml_diff",
|
|
9562
|
-
}),
|
|
9563
|
-
),
|
|
9564
|
-
Schema.Struct({
|
|
9565
|
-
itemType: Schema.String,
|
|
9566
|
-
resourcePreview: Schema.Struct({
|
|
9567
|
-
id: Schema.String,
|
|
9568
|
-
cloudType: Schema.Literals([
|
|
9569
|
-
"AWS",
|
|
9570
|
-
"AZURE",
|
|
9571
|
-
"GOOGLE",
|
|
9572
|
-
"CLOUDFLARE",
|
|
9573
|
-
]),
|
|
9574
|
-
detail: Schema.String,
|
|
9575
|
-
name: Schema.String,
|
|
9576
|
-
resourceType: Schema.Literals([
|
|
9577
|
-
"aws_customer_gateway",
|
|
9578
|
-
"aws_egress_only_internet_gateway",
|
|
9579
|
-
"aws_internet_gateway",
|
|
9580
|
-
"aws_instance",
|
|
9581
|
-
"aws_network_interface",
|
|
9582
|
-
"aws_route",
|
|
9583
|
-
"aws_route_table",
|
|
9584
|
-
"aws_route_table_association",
|
|
9585
|
-
"aws_subnet",
|
|
9586
|
-
"aws_vpc",
|
|
9587
|
-
"aws_vpc_ipv4_cidr_block_association",
|
|
9588
|
-
"aws_vpn_connection",
|
|
9589
|
-
"aws_vpn_connection_route",
|
|
9590
|
-
"aws_vpn_gateway",
|
|
9591
|
-
"aws_security_group",
|
|
9592
|
-
"aws_vpc_security_group_ingress_rule",
|
|
9593
|
-
"aws_vpc_security_group_egress_rule",
|
|
9594
|
-
"aws_ec2_managed_prefix_list",
|
|
9595
|
-
"aws_ec2_transit_gateway",
|
|
9596
|
-
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
9597
|
-
"aws_ec2_transit_gateway_vpc_attachment",
|
|
9598
|
-
"azurerm_application_security_group",
|
|
9599
|
-
"azurerm_lb",
|
|
9600
|
-
"azurerm_lb_backend_address_pool",
|
|
9601
|
-
"azurerm_lb_nat_pool",
|
|
9602
|
-
"azurerm_lb_nat_rule",
|
|
9603
|
-
"azurerm_lb_rule",
|
|
9604
|
-
"azurerm_local_network_gateway",
|
|
9605
|
-
"azurerm_network_interface",
|
|
9606
|
-
"azurerm_network_interface_application_security_group_association",
|
|
9607
|
-
"azurerm_network_interface_backend_address_pool_association",
|
|
9608
|
-
"azurerm_network_interface_security_group_association",
|
|
9609
|
-
"azurerm_network_security_group",
|
|
9610
|
-
"azurerm_public_ip",
|
|
9611
|
-
"azurerm_route",
|
|
9612
|
-
"azurerm_route_table",
|
|
9613
|
-
"azurerm_subnet",
|
|
9614
|
-
"azurerm_subnet_route_table_association",
|
|
9615
|
-
"azurerm_virtual_machine",
|
|
9616
|
-
"azurerm_virtual_network_gateway_connection",
|
|
9617
|
-
"azurerm_virtual_network",
|
|
9618
|
-
"azurerm_virtual_network_gateway",
|
|
9619
|
-
"google_compute_network",
|
|
9620
|
-
"google_compute_subnetwork",
|
|
9621
|
-
"google_compute_vpn_gateway",
|
|
9622
|
-
"google_compute_vpn_tunnel",
|
|
9623
|
-
"google_compute_route",
|
|
9624
|
-
"google_compute_address",
|
|
9625
|
-
"google_compute_global_address",
|
|
9626
|
-
"google_compute_router",
|
|
9627
|
-
"google_compute_interconnect_attachment",
|
|
9628
|
-
"google_compute_ha_vpn_gateway",
|
|
9629
|
-
"google_compute_forwarding_rule",
|
|
9630
|
-
"google_compute_network_firewall_policy",
|
|
9631
|
-
"google_compute_network_firewall_policy_rule",
|
|
9632
|
-
"cloudflare_static_route",
|
|
9633
|
-
"cloudflare_ipsec_tunnel",
|
|
9634
|
-
]),
|
|
9635
|
-
title: Schema.String,
|
|
9928
|
+
Schema.Struct({
|
|
9929
|
+
itemType: Schema.String,
|
|
9930
|
+
yaml: Schema.String,
|
|
9636
9931
|
}).pipe(
|
|
9637
9932
|
Schema.encodeKeys({
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
detail: "detail",
|
|
9641
|
-
name: "name",
|
|
9642
|
-
resourceType: "resource_type",
|
|
9643
|
-
title: "title",
|
|
9933
|
+
itemType: "item_type",
|
|
9934
|
+
yaml: "yaml",
|
|
9644
9935
|
}),
|
|
9645
9936
|
),
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
}).pipe(
|
|
9669
|
-
Schema.encodeKeys({
|
|
9670
|
-
itemType: "item_type",
|
|
9671
|
-
resourcePreview: "resource_preview",
|
|
9672
|
-
}),
|
|
9673
|
-
),
|
|
9674
|
-
]),
|
|
9937
|
+
Schema.Struct({
|
|
9938
|
+
itemType: Schema.String,
|
|
9939
|
+
yamlDiff: Schema.Struct({
|
|
9940
|
+
diff: Schema.String,
|
|
9941
|
+
leftDescription: Schema.String,
|
|
9942
|
+
leftYaml: Schema.String,
|
|
9943
|
+
rightDescription: Schema.String,
|
|
9944
|
+
rightYaml: Schema.String,
|
|
9945
|
+
}).pipe(
|
|
9946
|
+
Schema.encodeKeys({
|
|
9947
|
+
diff: "diff",
|
|
9948
|
+
leftDescription: "left_description",
|
|
9949
|
+
leftYaml: "left_yaml",
|
|
9950
|
+
rightDescription: "right_description",
|
|
9951
|
+
rightYaml: "right_yaml",
|
|
9952
|
+
}),
|
|
9953
|
+
),
|
|
9954
|
+
}).pipe(
|
|
9955
|
+
Schema.encodeKeys({
|
|
9956
|
+
itemType: "item_type",
|
|
9957
|
+
yamlDiff: "yaml_diff",
|
|
9958
|
+
}),
|
|
9675
9959
|
),
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9960
|
+
Schema.Struct({
|
|
9961
|
+
itemType: Schema.String,
|
|
9962
|
+
resourcePreview: Schema.Struct({
|
|
9963
|
+
id: Schema.String,
|
|
9964
|
+
cloudType: Schema.Literals([
|
|
9965
|
+
"AWS",
|
|
9966
|
+
"AZURE",
|
|
9967
|
+
"GOOGLE",
|
|
9968
|
+
"CLOUDFLARE",
|
|
9969
|
+
]),
|
|
9970
|
+
detail: Schema.String,
|
|
9971
|
+
name: Schema.String,
|
|
9972
|
+
resourceType: Schema.Literals([
|
|
9973
|
+
"aws_customer_gateway",
|
|
9974
|
+
"aws_egress_only_internet_gateway",
|
|
9975
|
+
"aws_internet_gateway",
|
|
9976
|
+
"aws_instance",
|
|
9977
|
+
"aws_network_interface",
|
|
9978
|
+
"aws_route",
|
|
9979
|
+
"aws_route_table",
|
|
9980
|
+
"aws_route_table_association",
|
|
9981
|
+
"aws_subnet",
|
|
9982
|
+
"aws_vpc",
|
|
9983
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
9984
|
+
"aws_vpn_connection",
|
|
9985
|
+
"aws_vpn_connection_route",
|
|
9986
|
+
"aws_vpn_gateway",
|
|
9987
|
+
"aws_security_group",
|
|
9988
|
+
"aws_vpc_security_group_ingress_rule",
|
|
9989
|
+
"aws_vpc_security_group_egress_rule",
|
|
9990
|
+
"aws_ec2_managed_prefix_list",
|
|
9991
|
+
"aws_ec2_transit_gateway",
|
|
9992
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
9993
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
9994
|
+
"azurerm_application_security_group",
|
|
9995
|
+
"azurerm_lb",
|
|
9996
|
+
"azurerm_lb_backend_address_pool",
|
|
9997
|
+
"azurerm_lb_nat_pool",
|
|
9998
|
+
"azurerm_lb_nat_rule",
|
|
9999
|
+
"azurerm_lb_rule",
|
|
10000
|
+
"azurerm_local_network_gateway",
|
|
10001
|
+
"azurerm_network_interface",
|
|
10002
|
+
"azurerm_network_interface_application_security_group_association",
|
|
10003
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
10004
|
+
"azurerm_network_interface_security_group_association",
|
|
10005
|
+
"azurerm_network_security_group",
|
|
10006
|
+
"azurerm_public_ip",
|
|
10007
|
+
"azurerm_route",
|
|
10008
|
+
"azurerm_route_table",
|
|
10009
|
+
"azurerm_subnet",
|
|
10010
|
+
"azurerm_subnet_route_table_association",
|
|
10011
|
+
"azurerm_virtual_machine",
|
|
10012
|
+
"azurerm_virtual_network_gateway_connection",
|
|
10013
|
+
"azurerm_virtual_network",
|
|
10014
|
+
"azurerm_virtual_network_gateway",
|
|
10015
|
+
"google_compute_network",
|
|
10016
|
+
"google_compute_subnetwork",
|
|
10017
|
+
"google_compute_vpn_gateway",
|
|
10018
|
+
"google_compute_vpn_tunnel",
|
|
10019
|
+
"google_compute_route",
|
|
10020
|
+
"google_compute_address",
|
|
10021
|
+
"google_compute_global_address",
|
|
10022
|
+
"google_compute_router",
|
|
10023
|
+
"google_compute_interconnect_attachment",
|
|
10024
|
+
"google_compute_ha_vpn_gateway",
|
|
10025
|
+
"google_compute_forwarding_rule",
|
|
10026
|
+
"google_compute_network_firewall_policy",
|
|
10027
|
+
"google_compute_network_firewall_policy_rule",
|
|
10028
|
+
"cloudflare_static_route",
|
|
10029
|
+
"cloudflare_ipsec_tunnel",
|
|
10030
|
+
]),
|
|
10031
|
+
title: Schema.String,
|
|
10032
|
+
}).pipe(
|
|
10033
|
+
Schema.encodeKeys({
|
|
10034
|
+
id: "id",
|
|
10035
|
+
cloudType: "cloud_type",
|
|
10036
|
+
detail: "detail",
|
|
10037
|
+
name: "name",
|
|
10038
|
+
resourceType: "resource_type",
|
|
10039
|
+
title: "title",
|
|
10040
|
+
}),
|
|
10041
|
+
),
|
|
10042
|
+
}).pipe(
|
|
10043
|
+
Schema.encodeKeys({
|
|
10044
|
+
itemType: "item_type",
|
|
10045
|
+
resourcePreview: "resource_preview",
|
|
10046
|
+
}),
|
|
10047
|
+
),
|
|
10048
|
+
Schema.Struct({
|
|
10049
|
+
itemType: Schema.String,
|
|
10050
|
+
list: Schema.Array(
|
|
10051
|
+
Schema.Union([
|
|
10052
|
+
Schema.Struct({
|
|
10053
|
+
itemType: Schema.Unknown,
|
|
10054
|
+
string: Schema.Unknown,
|
|
10055
|
+
}).pipe(
|
|
10056
|
+
Schema.encodeKeys({
|
|
10057
|
+
itemType: "item_type",
|
|
10058
|
+
string: "string",
|
|
10059
|
+
}),
|
|
10060
|
+
),
|
|
10061
|
+
Schema.Struct({
|
|
10062
|
+
itemType: Schema.Unknown,
|
|
10063
|
+
resourcePreview: Schema.Unknown,
|
|
10064
|
+
}).pipe(
|
|
10065
|
+
Schema.encodeKeys({
|
|
10066
|
+
itemType: "item_type",
|
|
10067
|
+
resourcePreview: "resource_preview",
|
|
10068
|
+
}),
|
|
10069
|
+
),
|
|
10070
|
+
]),
|
|
10071
|
+
),
|
|
10072
|
+
}).pipe(
|
|
10073
|
+
Schema.encodeKeys({
|
|
10074
|
+
itemType: "item_type",
|
|
10075
|
+
list: "list",
|
|
10076
|
+
}),
|
|
10077
|
+
),
|
|
10078
|
+
]),
|
|
10079
|
+
Schema.Null,
|
|
9679
10080
|
]),
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
10081
|
+
),
|
|
10082
|
+
}),
|
|
10083
|
+
),
|
|
10084
|
+
helpText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
10085
|
+
}).pipe(
|
|
10086
|
+
Schema.encodeKeys({
|
|
10087
|
+
hiddenItems: "hidden_items",
|
|
10088
|
+
name: "name",
|
|
10089
|
+
visibleItems: "visible_items",
|
|
10090
|
+
helpText: "help_text",
|
|
9683
10091
|
}),
|
|
9684
10092
|
),
|
|
9685
|
-
helpText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9686
|
-
}).pipe(
|
|
9687
|
-
Schema.encodeKeys({
|
|
9688
|
-
hiddenItems: "hidden_items",
|
|
9689
|
-
name: "name",
|
|
9690
|
-
visibleItems: "visible_items",
|
|
9691
|
-
helpText: "help_text",
|
|
9692
|
-
}),
|
|
9693
10093
|
),
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
10094
|
+
state: Schema.Struct({}),
|
|
10095
|
+
tags: Schema.Struct({}),
|
|
10096
|
+
updatedAt: Schema.String,
|
|
10097
|
+
url: Schema.String,
|
|
10098
|
+
managedBy: Schema.optional(
|
|
10099
|
+
Schema.Union([
|
|
10100
|
+
Schema.Array(
|
|
10101
|
+
Schema.Struct({
|
|
10102
|
+
id: Schema.String,
|
|
10103
|
+
clientType: Schema.Literal("MAGIC_WAN_CLOUD_ONRAMP"),
|
|
10104
|
+
name: Schema.String,
|
|
10105
|
+
}).pipe(
|
|
10106
|
+
Schema.encodeKeys({
|
|
10107
|
+
id: "id",
|
|
10108
|
+
clientType: "client_type",
|
|
10109
|
+
name: "name",
|
|
10110
|
+
}),
|
|
10111
|
+
),
|
|
9712
10112
|
),
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
10113
|
+
Schema.Null,
|
|
10114
|
+
]),
|
|
10115
|
+
),
|
|
10116
|
+
}).pipe(
|
|
10117
|
+
Schema.encodeKeys({
|
|
10118
|
+
id: "id",
|
|
10119
|
+
accountId: "account_id",
|
|
10120
|
+
cloudType: "cloud_type",
|
|
10121
|
+
config: "config",
|
|
10122
|
+
deploymentProvider: "deployment_provider",
|
|
10123
|
+
managed: "managed",
|
|
10124
|
+
monthlyCostEstimate: "monthly_cost_estimate",
|
|
10125
|
+
name: "name",
|
|
10126
|
+
nativeId: "native_id",
|
|
10127
|
+
observations: "observations",
|
|
10128
|
+
providerIds: "provider_ids",
|
|
10129
|
+
providerNamesById: "provider_names_by_id",
|
|
10130
|
+
region: "region",
|
|
10131
|
+
resourceGroup: "resource_group",
|
|
10132
|
+
resourceType: "resource_type",
|
|
10133
|
+
sections: "sections",
|
|
10134
|
+
state: "state",
|
|
10135
|
+
tags: "tags",
|
|
10136
|
+
updatedAt: "updated_at",
|
|
10137
|
+
url: "url",
|
|
10138
|
+
managedBy: "managed_by",
|
|
10139
|
+
}),
|
|
9716
10140
|
),
|
|
10141
|
+
),
|
|
10142
|
+
resultInfo: Schema.Struct({
|
|
10143
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
10144
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
10145
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
10146
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9717
10147
|
}).pipe(
|
|
9718
10148
|
Schema.encodeKeys({
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
deploymentProvider: "deployment_provider",
|
|
9724
|
-
managed: "managed",
|
|
9725
|
-
monthlyCostEstimate: "monthly_cost_estimate",
|
|
9726
|
-
name: "name",
|
|
9727
|
-
nativeId: "native_id",
|
|
9728
|
-
observations: "observations",
|
|
9729
|
-
providerIds: "provider_ids",
|
|
9730
|
-
providerNamesById: "provider_names_by_id",
|
|
9731
|
-
region: "region",
|
|
9732
|
-
resourceGroup: "resource_group",
|
|
9733
|
-
resourceType: "resource_type",
|
|
9734
|
-
sections: "sections",
|
|
9735
|
-
state: "state",
|
|
9736
|
-
tags: "tags",
|
|
9737
|
-
updatedAt: "updated_at",
|
|
9738
|
-
url: "url",
|
|
9739
|
-
managedBy: "managed_by",
|
|
10149
|
+
count: "count",
|
|
10150
|
+
page: "page",
|
|
10151
|
+
perPage: "per_page",
|
|
10152
|
+
totalCount: "total_count",
|
|
9740
10153
|
}),
|
|
9741
10154
|
),
|
|
10155
|
+
}).pipe(
|
|
10156
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
9742
10157
|
) as unknown as Schema.Schema<ListResourcesResponse>;
|
|
9743
10158
|
|
|
9744
10159
|
export type ListResourcesError = DefaultErrors;
|
|
9745
10160
|
|
|
9746
|
-
export const listResources: API.
|
|
10161
|
+
export const listResources: API.PaginatedOperationMethod<
|
|
9747
10162
|
ListResourcesRequest,
|
|
9748
10163
|
ListResourcesResponse,
|
|
9749
10164
|
ListResourcesError,
|
|
9750
10165
|
Credentials | HttpClient.HttpClient
|
|
9751
|
-
>
|
|
10166
|
+
> & {
|
|
10167
|
+
pages: (
|
|
10168
|
+
input: ListResourcesRequest,
|
|
10169
|
+
) => stream.Stream<
|
|
10170
|
+
ListResourcesResponse,
|
|
10171
|
+
ListResourcesError,
|
|
10172
|
+
Credentials | HttpClient.HttpClient
|
|
10173
|
+
>;
|
|
10174
|
+
items: (input: ListResourcesRequest) => stream.Stream<
|
|
10175
|
+
{
|
|
10176
|
+
id: string;
|
|
10177
|
+
accountId: string;
|
|
10178
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
10179
|
+
config: Record<string, unknown>;
|
|
10180
|
+
deploymentProvider: string;
|
|
10181
|
+
managed: boolean;
|
|
10182
|
+
monthlyCostEstimate: { currency: string; monthlyCost: number };
|
|
10183
|
+
name: string;
|
|
10184
|
+
nativeId: string;
|
|
10185
|
+
observations: Record<string, unknown>;
|
|
10186
|
+
providerIds: string[];
|
|
10187
|
+
providerNamesById: Record<string, unknown>;
|
|
10188
|
+
region: string;
|
|
10189
|
+
resourceGroup: string;
|
|
10190
|
+
resourceType:
|
|
10191
|
+
| "aws_customer_gateway"
|
|
10192
|
+
| "aws_egress_only_internet_gateway"
|
|
10193
|
+
| "aws_internet_gateway"
|
|
10194
|
+
| "aws_instance"
|
|
10195
|
+
| "aws_network_interface"
|
|
10196
|
+
| "aws_route"
|
|
10197
|
+
| "aws_route_table"
|
|
10198
|
+
| "aws_route_table_association"
|
|
10199
|
+
| "aws_subnet"
|
|
10200
|
+
| "aws_vpc"
|
|
10201
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
10202
|
+
| "aws_vpn_connection"
|
|
10203
|
+
| "aws_vpn_connection_route"
|
|
10204
|
+
| "aws_vpn_gateway"
|
|
10205
|
+
| "aws_security_group"
|
|
10206
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
10207
|
+
| "aws_vpc_security_group_egress_rule"
|
|
10208
|
+
| "aws_ec2_managed_prefix_list"
|
|
10209
|
+
| "aws_ec2_transit_gateway"
|
|
10210
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
10211
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
10212
|
+
| "azurerm_application_security_group"
|
|
10213
|
+
| "azurerm_lb"
|
|
10214
|
+
| "azurerm_lb_backend_address_pool"
|
|
10215
|
+
| "azurerm_lb_nat_pool"
|
|
10216
|
+
| "azurerm_lb_nat_rule"
|
|
10217
|
+
| "azurerm_lb_rule"
|
|
10218
|
+
| "azurerm_local_network_gateway"
|
|
10219
|
+
| "azurerm_network_interface"
|
|
10220
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
10221
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
10222
|
+
| "azurerm_network_interface_security_group_association"
|
|
10223
|
+
| "azurerm_network_security_group"
|
|
10224
|
+
| "azurerm_public_ip"
|
|
10225
|
+
| "azurerm_route"
|
|
10226
|
+
| "azurerm_route_table"
|
|
10227
|
+
| "azurerm_subnet"
|
|
10228
|
+
| "azurerm_subnet_route_table_association"
|
|
10229
|
+
| "azurerm_virtual_machine"
|
|
10230
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
10231
|
+
| "azurerm_virtual_network"
|
|
10232
|
+
| "azurerm_virtual_network_gateway"
|
|
10233
|
+
| "google_compute_network"
|
|
10234
|
+
| "google_compute_subnetwork"
|
|
10235
|
+
| "google_compute_vpn_gateway"
|
|
10236
|
+
| "google_compute_vpn_tunnel"
|
|
10237
|
+
| "google_compute_route"
|
|
10238
|
+
| "google_compute_address"
|
|
10239
|
+
| "google_compute_global_address"
|
|
10240
|
+
| "google_compute_router"
|
|
10241
|
+
| "google_compute_interconnect_attachment"
|
|
10242
|
+
| "google_compute_ha_vpn_gateway"
|
|
10243
|
+
| "google_compute_forwarding_rule"
|
|
10244
|
+
| "google_compute_network_firewall_policy"
|
|
10245
|
+
| "google_compute_network_firewall_policy_rule"
|
|
10246
|
+
| "cloudflare_static_route"
|
|
10247
|
+
| "cloudflare_ipsec_tunnel";
|
|
10248
|
+
sections: {
|
|
10249
|
+
hiddenItems: {
|
|
10250
|
+
helpText?: string | null;
|
|
10251
|
+
name?: string | null;
|
|
10252
|
+
value?:
|
|
10253
|
+
| { itemType: string; string: string }
|
|
10254
|
+
| { itemType: string; yaml: string }
|
|
10255
|
+
| {
|
|
10256
|
+
itemType: string;
|
|
10257
|
+
yamlDiff: {
|
|
10258
|
+
diff: string;
|
|
10259
|
+
leftDescription: string;
|
|
10260
|
+
leftYaml: string;
|
|
10261
|
+
rightDescription: string;
|
|
10262
|
+
rightYaml: string;
|
|
10263
|
+
};
|
|
10264
|
+
}
|
|
10265
|
+
| {
|
|
10266
|
+
itemType: string;
|
|
10267
|
+
resourcePreview: {
|
|
10268
|
+
id: string;
|
|
10269
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
10270
|
+
detail: string;
|
|
10271
|
+
name: string;
|
|
10272
|
+
resourceType:
|
|
10273
|
+
| "aws_customer_gateway"
|
|
10274
|
+
| "aws_egress_only_internet_gateway"
|
|
10275
|
+
| "aws_internet_gateway"
|
|
10276
|
+
| "aws_instance"
|
|
10277
|
+
| "aws_network_interface"
|
|
10278
|
+
| "aws_route"
|
|
10279
|
+
| "aws_route_table"
|
|
10280
|
+
| "aws_route_table_association"
|
|
10281
|
+
| "aws_subnet"
|
|
10282
|
+
| "aws_vpc"
|
|
10283
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
10284
|
+
| "aws_vpn_connection"
|
|
10285
|
+
| "aws_vpn_connection_route"
|
|
10286
|
+
| "aws_vpn_gateway"
|
|
10287
|
+
| "aws_security_group"
|
|
10288
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
10289
|
+
| "aws_vpc_security_group_egress_rule"
|
|
10290
|
+
| "aws_ec2_managed_prefix_list"
|
|
10291
|
+
| "aws_ec2_transit_gateway"
|
|
10292
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
10293
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
10294
|
+
| "azurerm_application_security_group"
|
|
10295
|
+
| "azurerm_lb"
|
|
10296
|
+
| "azurerm_lb_backend_address_pool"
|
|
10297
|
+
| "azurerm_lb_nat_pool"
|
|
10298
|
+
| "azurerm_lb_nat_rule"
|
|
10299
|
+
| "azurerm_lb_rule"
|
|
10300
|
+
| "azurerm_local_network_gateway"
|
|
10301
|
+
| "azurerm_network_interface"
|
|
10302
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
10303
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
10304
|
+
| "azurerm_network_interface_security_group_association"
|
|
10305
|
+
| "azurerm_network_security_group"
|
|
10306
|
+
| "azurerm_public_ip"
|
|
10307
|
+
| "azurerm_route"
|
|
10308
|
+
| "azurerm_route_table"
|
|
10309
|
+
| "azurerm_subnet"
|
|
10310
|
+
| "azurerm_subnet_route_table_association"
|
|
10311
|
+
| "azurerm_virtual_machine"
|
|
10312
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
10313
|
+
| "azurerm_virtual_network"
|
|
10314
|
+
| "azurerm_virtual_network_gateway"
|
|
10315
|
+
| "google_compute_network"
|
|
10316
|
+
| "google_compute_subnetwork"
|
|
10317
|
+
| "google_compute_vpn_gateway"
|
|
10318
|
+
| "google_compute_vpn_tunnel"
|
|
10319
|
+
| "google_compute_route"
|
|
10320
|
+
| "google_compute_address"
|
|
10321
|
+
| "google_compute_global_address"
|
|
10322
|
+
| "google_compute_router"
|
|
10323
|
+
| "google_compute_interconnect_attachment"
|
|
10324
|
+
| "google_compute_ha_vpn_gateway"
|
|
10325
|
+
| "google_compute_forwarding_rule"
|
|
10326
|
+
| "google_compute_network_firewall_policy"
|
|
10327
|
+
| "google_compute_network_firewall_policy_rule"
|
|
10328
|
+
| "cloudflare_static_route"
|
|
10329
|
+
| "cloudflare_ipsec_tunnel";
|
|
10330
|
+
title: string;
|
|
10331
|
+
};
|
|
10332
|
+
}
|
|
10333
|
+
| {
|
|
10334
|
+
itemType: string;
|
|
10335
|
+
list: (
|
|
10336
|
+
| { itemType: string; string: string }
|
|
10337
|
+
| {
|
|
10338
|
+
itemType: string;
|
|
10339
|
+
resourcePreview: {
|
|
10340
|
+
id: unknown;
|
|
10341
|
+
cloudType: unknown;
|
|
10342
|
+
detail: unknown;
|
|
10343
|
+
name: unknown;
|
|
10344
|
+
resourceType: unknown;
|
|
10345
|
+
title: unknown;
|
|
10346
|
+
};
|
|
10347
|
+
}
|
|
10348
|
+
)[];
|
|
10349
|
+
}
|
|
10350
|
+
| null;
|
|
10351
|
+
}[];
|
|
10352
|
+
name: string;
|
|
10353
|
+
visibleItems: {
|
|
10354
|
+
helpText?: string | null;
|
|
10355
|
+
name?: string | null;
|
|
10356
|
+
value?:
|
|
10357
|
+
| { itemType: string; string: string }
|
|
10358
|
+
| { itemType: string; yaml: string }
|
|
10359
|
+
| {
|
|
10360
|
+
itemType: string;
|
|
10361
|
+
yamlDiff: {
|
|
10362
|
+
diff: string;
|
|
10363
|
+
leftDescription: string;
|
|
10364
|
+
leftYaml: string;
|
|
10365
|
+
rightDescription: string;
|
|
10366
|
+
rightYaml: string;
|
|
10367
|
+
};
|
|
10368
|
+
}
|
|
10369
|
+
| {
|
|
10370
|
+
itemType: string;
|
|
10371
|
+
resourcePreview: {
|
|
10372
|
+
id: string;
|
|
10373
|
+
cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
|
|
10374
|
+
detail: string;
|
|
10375
|
+
name: string;
|
|
10376
|
+
resourceType:
|
|
10377
|
+
| "aws_customer_gateway"
|
|
10378
|
+
| "aws_egress_only_internet_gateway"
|
|
10379
|
+
| "aws_internet_gateway"
|
|
10380
|
+
| "aws_instance"
|
|
10381
|
+
| "aws_network_interface"
|
|
10382
|
+
| "aws_route"
|
|
10383
|
+
| "aws_route_table"
|
|
10384
|
+
| "aws_route_table_association"
|
|
10385
|
+
| "aws_subnet"
|
|
10386
|
+
| "aws_vpc"
|
|
10387
|
+
| "aws_vpc_ipv4_cidr_block_association"
|
|
10388
|
+
| "aws_vpn_connection"
|
|
10389
|
+
| "aws_vpn_connection_route"
|
|
10390
|
+
| "aws_vpn_gateway"
|
|
10391
|
+
| "aws_security_group"
|
|
10392
|
+
| "aws_vpc_security_group_ingress_rule"
|
|
10393
|
+
| "aws_vpc_security_group_egress_rule"
|
|
10394
|
+
| "aws_ec2_managed_prefix_list"
|
|
10395
|
+
| "aws_ec2_transit_gateway"
|
|
10396
|
+
| "aws_ec2_transit_gateway_prefix_list_reference"
|
|
10397
|
+
| "aws_ec2_transit_gateway_vpc_attachment"
|
|
10398
|
+
| "azurerm_application_security_group"
|
|
10399
|
+
| "azurerm_lb"
|
|
10400
|
+
| "azurerm_lb_backend_address_pool"
|
|
10401
|
+
| "azurerm_lb_nat_pool"
|
|
10402
|
+
| "azurerm_lb_nat_rule"
|
|
10403
|
+
| "azurerm_lb_rule"
|
|
10404
|
+
| "azurerm_local_network_gateway"
|
|
10405
|
+
| "azurerm_network_interface"
|
|
10406
|
+
| "azurerm_network_interface_application_security_group_association"
|
|
10407
|
+
| "azurerm_network_interface_backend_address_pool_association"
|
|
10408
|
+
| "azurerm_network_interface_security_group_association"
|
|
10409
|
+
| "azurerm_network_security_group"
|
|
10410
|
+
| "azurerm_public_ip"
|
|
10411
|
+
| "azurerm_route"
|
|
10412
|
+
| "azurerm_route_table"
|
|
10413
|
+
| "azurerm_subnet"
|
|
10414
|
+
| "azurerm_subnet_route_table_association"
|
|
10415
|
+
| "azurerm_virtual_machine"
|
|
10416
|
+
| "azurerm_virtual_network_gateway_connection"
|
|
10417
|
+
| "azurerm_virtual_network"
|
|
10418
|
+
| "azurerm_virtual_network_gateway"
|
|
10419
|
+
| "google_compute_network"
|
|
10420
|
+
| "google_compute_subnetwork"
|
|
10421
|
+
| "google_compute_vpn_gateway"
|
|
10422
|
+
| "google_compute_vpn_tunnel"
|
|
10423
|
+
| "google_compute_route"
|
|
10424
|
+
| "google_compute_address"
|
|
10425
|
+
| "google_compute_global_address"
|
|
10426
|
+
| "google_compute_router"
|
|
10427
|
+
| "google_compute_interconnect_attachment"
|
|
10428
|
+
| "google_compute_ha_vpn_gateway"
|
|
10429
|
+
| "google_compute_forwarding_rule"
|
|
10430
|
+
| "google_compute_network_firewall_policy"
|
|
10431
|
+
| "google_compute_network_firewall_policy_rule"
|
|
10432
|
+
| "cloudflare_static_route"
|
|
10433
|
+
| "cloudflare_ipsec_tunnel";
|
|
10434
|
+
title: string;
|
|
10435
|
+
};
|
|
10436
|
+
}
|
|
10437
|
+
| {
|
|
10438
|
+
itemType: string;
|
|
10439
|
+
list: (
|
|
10440
|
+
| { itemType: string; string: string }
|
|
10441
|
+
| {
|
|
10442
|
+
itemType: string;
|
|
10443
|
+
resourcePreview: {
|
|
10444
|
+
id: unknown;
|
|
10445
|
+
cloudType: unknown;
|
|
10446
|
+
detail: unknown;
|
|
10447
|
+
name: unknown;
|
|
10448
|
+
resourceType: unknown;
|
|
10449
|
+
title: unknown;
|
|
10450
|
+
};
|
|
10451
|
+
}
|
|
10452
|
+
)[];
|
|
10453
|
+
}
|
|
10454
|
+
| null;
|
|
10455
|
+
}[];
|
|
10456
|
+
helpText?: string | null;
|
|
10457
|
+
}[];
|
|
10458
|
+
state: Record<string, unknown>;
|
|
10459
|
+
tags: Record<string, unknown>;
|
|
10460
|
+
updatedAt: string;
|
|
10461
|
+
url: string;
|
|
10462
|
+
managedBy?:
|
|
10463
|
+
| { id: string; clientType: "MAGIC_WAN_CLOUD_ONRAMP"; name: string }[]
|
|
10464
|
+
| null;
|
|
10465
|
+
},
|
|
10466
|
+
ListResourcesError,
|
|
10467
|
+
Credentials | HttpClient.HttpClient
|
|
10468
|
+
>;
|
|
10469
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
9752
10470
|
input: ListResourcesRequest,
|
|
9753
10471
|
output: ListResourcesResponse,
|
|
9754
10472
|
errors: [],
|
|
10473
|
+
pagination: {
|
|
10474
|
+
mode: "page",
|
|
10475
|
+
inputToken: "page",
|
|
10476
|
+
outputToken: "resultInfo.page",
|
|
10477
|
+
items: "result",
|
|
10478
|
+
pageSize: "perPage",
|
|
10479
|
+
} as const,
|
|
9755
10480
|
}));
|
|
9756
10481
|
|
|
9757
10482
|
export interface ExportResourceRequest {
|
|
@@ -10004,7 +10729,9 @@ export const InitialSetupCloudIntegrationResponse =
|
|
|
10004
10729
|
tagCliCommand: "tag_cli_command",
|
|
10005
10730
|
}),
|
|
10006
10731
|
),
|
|
10007
|
-
])
|
|
10732
|
+
]).pipe(
|
|
10733
|
+
T.ResponsePath("result"),
|
|
10734
|
+
) as unknown as Schema.Schema<InitialSetupCloudIntegrationResponse>;
|
|
10008
10735
|
|
|
10009
10736
|
export type InitialSetupCloudIntegrationError = DefaultErrors;
|
|
10010
10737
|
|