@odigos/vmagent-api-apollo-client 0.24.0 → 0.25.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.
@@ -94,6 +94,40 @@ export type AwsManagedCollectorDetails = ManagedCollectorDetails & {
94
94
  /** ECS service ARN. */
95
95
  workloadRef?: Maybe<Scalars['String']['output']>;
96
96
  };
97
+ /** AWS placement and network policy settings. */
98
+ export type AwsManagedCollectorProviderOverrides = ManagedCollectorProviderOverrides & {
99
+ __typename?: 'AwsManagedCollectorProviderOverrides';
100
+ /** Additional security groups admitted to the Collector's OTLP ports. */
101
+ additionalSecurityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
102
+ /** Whether to fall back to the selected network's CIDR when no sender security group resolves. */
103
+ allowNetworkCidrFallback: Scalars['Boolean']['output'];
104
+ assignPublicIp: Scalars['Boolean']['output'];
105
+ /** AWS cluster reference used for the Collector service. */
106
+ clusterRef?: Maybe<Scalars['String']['output']>;
107
+ /** Customer-provisioned ECS task execution role passed to the Collector task definition. */
108
+ executionRoleArn?: Maybe<Scalars['String']['output']>;
109
+ /** Minimum prefix length for CIDR fallback; larger values allow narrower ranges. */
110
+ minFallbackPrefixLength?: Maybe<Scalars['Int']['output']>;
111
+ provider: Scalars['String']['output'];
112
+ /** Security groups attached to the Collector's network interfaces. */
113
+ securityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
114
+ /** Subnets to place the Collector in. Omit to let Odigos select eligible subnets. */
115
+ subnetIds?: Maybe<Array<Scalars['String']['output']>>;
116
+ /** Whether to use AWS Fargate Spot capacity. */
117
+ useFargateSpot: Scalars['Boolean']['output'];
118
+ };
119
+ export type AwsManagedCollectorProviderOverridesInput = {
120
+ additionalSecurityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
121
+ allowNetworkCidrFallback?: InputMaybe<Scalars['Boolean']['input']>;
122
+ assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
123
+ clusterRef?: InputMaybe<Scalars['String']['input']>;
124
+ /** Placement references supplied by the customer are never mutated or deleted by Odigos. */
125
+ executionRoleArn?: InputMaybe<Scalars['String']['input']>;
126
+ minFallbackPrefixLength?: InputMaybe<Scalars['Int']['input']>;
127
+ securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
128
+ subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
129
+ useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
130
+ };
97
131
  export type CodeAttributesConfig = {
98
132
  __typename?: 'CodeAttributesConfig';
99
133
  collectColumn?: Maybe<Scalars['Boolean']['output']>;
@@ -252,35 +286,33 @@ export type CreateManagedCollectorDestinationInput = {
252
286
  type: Scalars['String']['input'];
253
287
  };
254
288
  /**
255
- * Settings for one region's Collector. Every field except the region is optional: an omitted field
256
- * inherits `collector.defaults`, which is what makes a bare `{ region }` a valid, fully-defaulted create.
289
+ * Settings for one region's Collector. The region and customer-provisioned deployment identity are
290
+ * required; other omitted fields inherit `collector.defaults`.
257
291
  *
258
292
  * An explicitly empty list means "none" and is NOT the same as omitting the field — omitting inherits the
259
293
  * default's list, and clearing it is the only way to say this region wants none of them.
260
294
  */
261
295
  export type CreateManagedCollectorInput = {
262
296
  arch?: InputMaybe<Scalars['String']['input']>;
263
- assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
264
- clusterRef?: InputMaybe<Scalars['String']['input']>;
265
297
  cpu?: InputMaybe<Scalars['String']['input']>;
298
+ /** Customer-provisioned deployment identity. AWS expects an IAM role ARN. */
299
+ deploymentRoleRef: Scalars['String']['input'];
266
300
  endpointOverride?: InputMaybe<Scalars['String']['input']>;
267
- /**
268
- * Pin the Collector to one network. Omit to let Odigos select the region's only eligible network;
269
- * it refuses to guess when several are eligible and reports the candidates.
270
- */
271
- hostNetworkId?: InputMaybe<Scalars['String']['input']>;
272
301
  imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
273
302
  ingress?: InputMaybe<ManagedCollectorIngressInput>;
274
303
  logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
275
304
  memory?: InputMaybe<Scalars['String']['input']>;
305
+ /**
306
+ * Pin the Collector to one network. Omit to let Odigos select the region's only eligible network;
307
+ * it refuses to guess when several are eligible and reports the candidates.
308
+ */
309
+ networkId?: InputMaybe<Scalars['String']['input']>;
310
+ providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
276
311
  region: Scalars['String']['input'];
277
312
  /** How many workloads one cutover pass may re-point at this Collector. 0 uses the connector default. */
278
313
  rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
279
314
  scaling?: InputMaybe<ManagedCollectorScalingInput>;
280
- securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
281
- subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
282
315
  transport?: InputMaybe<ManagedCollectorTransportInput>;
283
- useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
284
316
  };
285
317
  export type CreateSourceInput = {
286
318
  config?: InputMaybe<SourceConfigInput>;
@@ -695,6 +727,40 @@ export type InstrumentationRuleTypeOption = {
695
727
  supportedLanguages: Array<Scalars['String']['output']>;
696
728
  type: Scalars['String']['output'];
697
729
  };
730
+ /**
731
+ * Parameters for issuing the OpAMP credential that a customer-managed Collector uses to connect to
732
+ * Odigos.
733
+ *
734
+ * This operation is available only for a Collector deployed in manual mode. `networkId` is the network
735
+ * where the customer will deploy the Collector, and `secretRef` identifies the customer-owned secret
736
+ * where they will store the returned authorization header.
737
+ */
738
+ export type IssueManagedCollectorCredentialInput = {
739
+ networkId: Scalars['String']['input'];
740
+ region: Scalars['String']['input'];
741
+ /**
742
+ * Replace an existing active credential. Use this when the prior one was not received or must be
743
+ * rotated; the previous credential remains valid until its replacement connects.
744
+ */
745
+ rotate?: InputMaybe<Scalars['Boolean']['input']>;
746
+ /** A customer-owned secret reference. Odigos records the reference but never writes this secret. */
747
+ secretRef: Scalars['String']['input'];
748
+ };
749
+ /**
750
+ * The one-time OpAMP credential for a customer-managed Collector.
751
+ *
752
+ * `authorizationHeader` is revealed only by the successful issuance response and is never retained by
753
+ * Odigos. Store it immediately in `secretRef` and redeploy the Collector. If this response is lost, issue
754
+ * a replacement credential; the value cannot be retrieved again.
755
+ */
756
+ export type IssueManagedCollectorCredentialPayload = {
757
+ __typename?: 'IssueManagedCollectorCredentialPayload';
758
+ /** The complete HTTP Authorization header value, including the Bearer scheme. */
759
+ authorizationHeader: Scalars['String']['output'];
760
+ collectorId: Scalars['String']['output'];
761
+ credentialId: Scalars['String']['output'];
762
+ secretRef: Scalars['String']['output'];
763
+ };
698
764
  export type JavaProbe = {
699
765
  __typename?: 'JavaProbe';
700
766
  className: Scalars['String']['output'];
@@ -761,8 +827,8 @@ export type ManagedCollectorConfigIssueDetails = ManagedCollectorIssueDetails &
761
827
  validationError?: Maybe<Scalars['String']['output']>;
762
828
  };
763
829
  /**
764
- * A condition fixed by setting something under `collector.regions.<region>` — no usable subnets, no
765
- * egress route, no security group resolving, a refused TLS or ingress value, several eligible host
830
+ * A condition fixed by setting something under `collector.regions.<region>` — no usable network segments,
831
+ * no egress route, no network access policy resolving, a refused TLS or ingress value, or several eligible
766
832
  * networks with none pinned.
767
833
  *
768
834
  * Carries the region and the key so a client can send someone straight to the setting instead of asking
@@ -772,7 +838,7 @@ export type ManagedCollectorConfigurationIssueDetails = ManagedCollectorIssueDet
772
838
  __typename?: 'ManagedCollectorConfigurationIssueDetails';
773
839
  /**
774
840
  * The candidates a refusal was choosing between, when the refusal was an ambiguity — e.g. the eligible
775
- * host networks found in this region when none was pinned. Empty for every other condition.
841
+ * networks found in this region when none was pinned. Empty for every other condition.
776
842
  *
777
843
  * Present because "Odigos refused to guess" is only actionable if the reader is told what it was
778
844
  * choosing between.
@@ -782,7 +848,7 @@ export type ManagedCollectorConfigurationIssueDetails = ManagedCollectorIssueDet
782
848
  /** The value that was refused, when there was one. Null when the setting is simply absent. */
783
849
  refusedValue?: Maybe<Scalars['String']['output']>;
784
850
  region: Scalars['String']['output'];
785
- /** The setting to change, relative to the region, e.g. "hostNetworkId", "tls.hostname". */
851
+ /** The setting to change, relative to the region, e.g. "networkId", "tls.hostname". */
786
852
  settingKey: Scalars['String']['output'];
787
853
  };
788
854
  /**
@@ -825,9 +891,9 @@ export type ManagedCollectorCurrent = {
825
891
  export type ManagedCollectorDesired = {
826
892
  __typename?: 'ManagedCollectorDesired';
827
893
  arch: Scalars['String']['output'];
828
- assignPublicIp: Scalars['Boolean']['output'];
829
- clusterRef?: Maybe<Scalars['String']['output']>;
830
894
  cpu: Scalars['String']['output'];
895
+ /** Customer-provisioned identity used for Collector operations in this region. */
896
+ deploymentRoleRef?: Maybe<Scalars['String']['output']>;
831
897
  /**
832
898
  * Whether this region gets a Collector at all. Resolved: an unset region inherits the feature
833
899
  * switch, and an explicit false wins over it.
@@ -835,11 +901,6 @@ export type ManagedCollectorDesired = {
835
901
  enabled: Scalars['Boolean']['output'];
836
902
  /** When set, Odigos creates no load balancer and publishes this address instead. */
837
903
  endpointOverride?: Maybe<Scalars['String']['output']>;
838
- /**
839
- * The network the customer pinned the Collector to. Empty means Odigos selects the region's only
840
- * eligible network, and refuses to guess when several are eligible.
841
- */
842
- hostNetworkId?: Maybe<Scalars['String']['output']>;
843
904
  imageRepositoryOverride?: Maybe<Scalars['String']['output']>;
844
905
  ingress: ManagedCollectorIngress;
845
906
  logRetentionDays: Scalars['Int']['output'];
@@ -848,15 +909,14 @@ export type ManagedCollectorDesired = {
848
909
  * well as a workload change.
849
910
  */
850
911
  memory: Scalars['String']['output'];
851
- scaling: ManagedCollectorScalingTarget;
852
- securityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
853
912
  /**
854
- * Placement the customer pinned. Empty means Odigos chooses.
855
- *
856
- * A value here means the customer pointed Odigos at their OWN object, which is never mutated or deleted
857
- * whatever its tags say — see ManagedCollectorAuthority.
913
+ * The network the customer pinned the Collector to. Empty means Odigos selects the region's only
914
+ * eligible network, and refuses to guess when several are eligible.
858
915
  */
859
- subnetIds?: Maybe<Array<Scalars['String']['output']>>;
916
+ networkId?: Maybe<Scalars['String']['output']>;
917
+ /** Provider-specific desired deployment settings. */
918
+ providerOverrides: ManagedCollectorProviderOverrides;
919
+ scaling: ManagedCollectorScalingTarget;
860
920
  transport: ManagedCollectorTransport;
861
921
  };
862
922
  /** Provider-specific infrastructure references, discriminated by `provider`. */
@@ -892,26 +952,11 @@ export type ManagedCollectorImage = {
892
952
  /** Which senders are admitted to the Collector's OTLP ports. */
893
953
  export type ManagedCollectorIngress = {
894
954
  __typename?: 'ManagedCollectorIngress';
895
- /**
896
- * Explicit ranges for senders with no security group, such as workloads in a peered network.
897
- * Validated, never widened.
898
- */
955
+ /** Explicit IP ranges for senders, validated and never widened. */
899
956
  additionalCidrs?: Maybe<Array<Scalars['String']['output']>>;
900
- /** Groups admitted beyond the ones discovery found — senders Odigos does not instrument. */
901
- additionalSecurityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
902
- /**
903
- * Whether the host network's CIDR fallback may be used when no sender security group resolves. False
904
- * skips the deploy with a message rather than widening the rule.
905
- */
906
- allowNetworkCidrFallback: Scalars['Boolean']['output'];
907
- /** Floor on how wide that fallback may go; 0 means the default. Larger number = narrower block. */
908
- minFallbackPrefixLength?: Maybe<Scalars['Int']['output']>;
909
957
  };
910
958
  export type ManagedCollectorIngressInput = {
911
959
  additionalCidrs?: InputMaybe<Array<Scalars['String']['input']>>;
912
- additionalSecurityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
913
- allowNetworkCidrFallback?: InputMaybe<Scalars['Boolean']['input']>;
914
- minFallbackPrefixLength?: InputMaybe<Scalars['Int']['input']>;
915
960
  };
916
961
  /**
917
962
  * How to deploy this region's Collector by hand or by IaC.
@@ -922,6 +967,8 @@ export type ManagedCollectorIngressInput = {
922
967
  */
923
968
  export type ManagedCollectorInstructions = {
924
969
  __typename?: 'ManagedCollectorInstructions';
970
+ /** Customer-provisioned identity used to inspect or deploy the Collector. */
971
+ deploymentRoleRef?: Maybe<Scalars['String']['output']>;
925
972
  /**
926
973
  * The deployment rendered per delivery tool, in the connector's preferred order. Never empty.
927
974
  *
@@ -929,10 +976,10 @@ export type ManagedCollectorInstructions = {
929
976
  * content, unresolved) carries nothing workload-specific and needs no Collector-specific twin.
930
977
  */
931
978
  documents: Array<InstructionDocument>;
932
- /** The network the instructions place the Collector in; empty when placement has not resolved one. */
933
- hostNetworkId: Scalars['String']['output'];
934
979
  /** automatic | manual — why the customer is being shown this. */
935
980
  mode: Scalars['String']['output'];
981
+ /** The network the instructions place the Collector in; empty when placement has not resolved one. */
982
+ networkId: Scalars['String']['output'];
936
983
  /**
937
984
  * Caveats that belong with the instructions whichever tool is used — a platform limit, a value the
938
985
  * customer must supply, a step that completes without telemetry actually flowing.
@@ -978,10 +1025,9 @@ export type ManagedCollectorIssueDetails = {
978
1025
  /**
979
1026
  * Throughput and resource counters for one region's Collector.
980
1027
  *
981
- * Two possible sources, and `live` says which one answered: the snapshot the Collector last reported over
982
- * its OpAMP session (cached by the connector, always available), or a round trip to the running Collector
983
- * made for this query. A cached answer is not a degraded one — it is the normal path, and `observedAt`
984
- * says how old it is.
1028
+ * Two possible answers, and `live` says which one answered: the last cached snapshot, or a new periodic
1029
+ * own-metrics report received while this query waited. The Collector exports these metrics by OTLP/HTTP
1030
+ * to the endpoint offered during its OpAMP session. `observedAt` says when the Collector sampled them.
985
1031
  *
986
1032
  * Every counter is nullable because a Collector that has never connected has reported none of them, and a
987
1033
  * zero would be a lie about a Collector nobody has heard from.
@@ -998,10 +1044,7 @@ export type ManagedCollectorMetrics = {
998
1044
  failedMetricPoints?: Maybe<Scalars['Int']['output']>;
999
1045
  /** Failed to send and dropped after retries. The number that means telemetry was LOST. */
1000
1046
  failedSpans?: Maybe<Scalars['Int']['output']>;
1001
- /**
1002
- * True when this came from a round trip to the running Collector; false when it is the cached
1003
- * snapshot from its last periodic report.
1004
- */
1047
+ /** True when a new report arrived while this query waited; false for a cached snapshot. */
1005
1048
  live: Scalars['Boolean']['output'];
1006
1049
  memoryBytes?: Maybe<Scalars['Int']['output']>;
1007
1050
  /** RFC3339 timestamp the snapshot was TAKEN by the Collector, not when it was read here. */
@@ -1021,11 +1064,19 @@ export type ManagedCollectorMetrics = {
1021
1064
  /** Seconds since the Collector process started. */
1022
1065
  uptimeSeconds?: Maybe<Scalars['Int']['output']>;
1023
1066
  };
1067
+ /** Provider-specific settings for the desired Collector deployment. */
1068
+ export type ManagedCollectorProviderOverrides = {
1069
+ provider: Scalars['String']['output'];
1070
+ };
1071
+ export type ManagedCollectorProviderOverridesInput = {
1072
+ /** Provider-specific deployment settings. Supply only the block matching this connector's provider. */
1073
+ aws?: InputMaybe<AwsManagedCollectorProviderOverridesInput>;
1074
+ };
1024
1075
  /**
1025
1076
  * One managed Collector: identity, computed status, and the desired/current split that makes drift
1026
1077
  * visible rather than implicit in a stale message.
1027
1078
  *
1028
- * Identity is `region`. Never the host network (a Collector can be moved between networks in its region)
1079
+ * Identity is `region`. Never the network (a Collector can be moved between networks in its region)
1029
1080
  * and never the OpAMP instance uid (that rotates every time the underlying task is replaced).
1030
1081
  */
1031
1082
  export type ManagedCollectorReport = {
@@ -1041,12 +1092,6 @@ export type ManagedCollectorReport = {
1041
1092
  * ignore this entirely.
1042
1093
  */
1043
1094
  details?: Maybe<ManagedCollectorDetails>;
1044
- /**
1045
- * Provider network the Collector RUNS IN: VPC id on AWS, VNet on Azure, VPC network on GCP.
1046
- *
1047
- * Placement metadata, not identity — see the schema header. Empty before placement has resolved a host.
1048
- */
1049
- hostNetworkId: Scalars['String']['output'];
1050
1095
  /**
1051
1096
  * OpAMP instance uid of the current connection; null when never-connected. Useful for correlating
1052
1097
  * this report with the Collector's own Supervisor logs. Not an identity — see the type doc.
@@ -1058,7 +1103,7 @@ export type ManagedCollectorReport = {
1058
1103
  * on `code`, not parse a sentence back apart.
1059
1104
  */
1060
1105
  issues: Array<ManagedCollectorIssue>;
1061
- /** Collector type, e.g. "aws.fargate-collector". Informational; identity is `region`. */
1106
+ /** Provider-defined Collector implementation kind. Informational; identity is `region`. */
1062
1107
  kind: Scalars['String']['output'];
1063
1108
  /**
1064
1109
  * never-connected | live | stale.
@@ -1075,6 +1120,12 @@ export type ManagedCollectorReport = {
1075
1120
  * because a status a client's version does not recognize still has to render as something.
1076
1121
  */
1077
1122
  message: Scalars['String']['output'];
1123
+ /**
1124
+ * Provider network the Collector runs in. Provider-specific placement settings are in `desired.providerOverrides`.
1125
+ *
1126
+ * Placement metadata, not identity — see the schema header. Empty before placement has resolved a host.
1127
+ */
1128
+ networkId: Scalars['String']['output'];
1078
1129
  region: Scalars['String']['output'];
1079
1130
  /** Pending | Deploying | Ready | Degraded | Error | AwaitingCustomer. */
1080
1131
  status: Scalars['String']['output'];
@@ -1119,7 +1170,7 @@ export type ManagedCollectorScalingTarget = {
1119
1170
  */
1120
1171
  export type ManagedCollectorTransport = {
1121
1172
  __typename?: 'ManagedCollectorTransport';
1122
- /** Reference to the certificate: an ACM ARN, or a secret ref. Never a certificate or key value. */
1173
+ /** Reference to a certificate or secret containing it. Never a certificate or key value. */
1123
1174
  certificateRef?: Maybe<Scalars['String']['output']>;
1124
1175
  /**
1125
1176
  * A hostname the customer owns, required by every mode that presents a certificate.
@@ -1133,7 +1184,7 @@ export type ManagedCollectorTransport = {
1133
1184
  mode?: Maybe<Scalars['String']['output']>;
1134
1185
  };
1135
1186
  export type ManagedCollectorTransportInput = {
1136
- /** An ACM ARN or a secret ref. Never a certificate or key value. */
1187
+ /** A provider certificate identifier or a secret reference. Never a certificate or key value. */
1137
1188
  certificateRef?: InputMaybe<Scalars['String']['input']>;
1138
1189
  hostname?: InputMaybe<Scalars['String']['input']>;
1139
1190
  /** off | platform | loadBalancer | collector. */
@@ -1175,6 +1226,14 @@ export type Mutation = {
1175
1226
  enableSourceProfiling: SlotResult;
1176
1227
  generateDiagnoseBundle: DiagnoseBundle;
1177
1228
  generateProfileBundle: ProfileBundle;
1229
+ /**
1230
+ * Issue the one-time OpAMP authorization header for a manually deployed Collector.
1231
+ *
1232
+ * Odigos does not create or update the referenced secret, or any other cloud resource. Persist the
1233
+ * returned header in `secretRef` and deploy or redeploy the Collector with it. Set `rotate` to replace
1234
+ * an existing credential, including when a prior one-time response was lost.
1235
+ */
1236
+ issueManagedCollectorCredential: IssueManagedCollectorCredentialPayload;
1178
1237
  /** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
1179
1238
  refreshDiscovery: Scalars['Boolean']['output'];
1180
1239
  /** Request bounded cleanup of connector-created resources. Not implemented in the discovery-only phase. */
@@ -1268,6 +1327,9 @@ export type MutationGenerateProfileBundleArgs = {
1268
1327
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
1269
1328
  service?: InputMaybe<Scalars['String']['input']>;
1270
1329
  };
1330
+ export type MutationIssueManagedCollectorCredentialArgs = {
1331
+ input: IssueManagedCollectorCredentialInput;
1332
+ };
1271
1333
  export type MutationRequestCleanupArgs = {
1272
1334
  id: Scalars['String']['input'];
1273
1335
  };
@@ -1453,9 +1515,9 @@ export type Query = {
1453
1515
  /**
1454
1516
  * Counters for one region's Collector; null when none is recorded there or it has never reported.
1455
1517
  *
1456
- * Cached by default. `refresh: true` asks the running Collector for a fresh snapshot and falls back to
1457
- * the cached one (with `live: false`) when it is not connected or does not answer promptly — a slow
1458
- * Collector degrades this query's freshness, never its availability.
1518
+ * Cached by default. `refresh: true` waits briefly for the next periodic own-metrics report and falls
1519
+ * back to the cached one (with `live: false`) if no report arrives. OpAMP does not provide a synchronous
1520
+ * metrics request, so this argument cannot force a Collector to report immediately.
1459
1521
  */
1460
1522
  managedCollectorMetrics?: Maybe<ManagedCollectorMetrics>;
1461
1523
  /** One Collector by region; null when this connector has none there. */
@@ -1836,31 +1898,29 @@ export type UpdateManagedCollectorDestinationInput = {
1836
1898
  */
1837
1899
  export type UpdateManagedCollectorInput = {
1838
1900
  arch?: InputMaybe<Scalars['String']['input']>;
1839
- assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
1840
- clusterRef?: InputMaybe<Scalars['String']['input']>;
1841
1901
  cpu?: InputMaybe<Scalars['String']['input']>;
1902
+ /** Replace the customer-provisioned deployment identity for this region. */
1903
+ deploymentRoleRef?: InputMaybe<Scalars['String']['input']>;
1842
1904
  /**
1843
1905
  * Setting this to false stops convergence and leaves everything running — it does NOT remove the
1844
1906
  * Collector. Use teardownManagedCollector to destroy it.
1845
1907
  */
1846
1908
  enabled?: InputMaybe<Scalars['Boolean']['input']>;
1847
1909
  endpointOverride?: InputMaybe<Scalars['String']['input']>;
1848
- /**
1849
- * Moving the Collector to another network is a REDEPLOYMENT of the same logical Collector: its
1850
- * credential is replaced and its infrastructure rebuilt in the new network.
1851
- */
1852
- hostNetworkId?: InputMaybe<Scalars['String']['input']>;
1853
1910
  imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
1854
1911
  ingress?: InputMaybe<ManagedCollectorIngressInput>;
1855
1912
  logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
1856
1913
  memory?: InputMaybe<Scalars['String']['input']>;
1914
+ /**
1915
+ * Moving the Collector to another network is a REDEPLOYMENT of the same logical Collector: its
1916
+ * credential is replaced and its infrastructure rebuilt in the new network.
1917
+ */
1918
+ networkId?: InputMaybe<Scalars['String']['input']>;
1919
+ providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
1857
1920
  region: Scalars['String']['input'];
1858
1921
  rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
1859
1922
  scaling?: InputMaybe<ManagedCollectorScalingInput>;
1860
- securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
1861
- subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
1862
1923
  transport?: InputMaybe<ManagedCollectorTransportInput>;
1863
- useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
1864
1924
  };
1865
1925
  export type UpdateSourceInput = {
1866
1926
  config?: InputMaybe<SourceConfigInput>;
@@ -3255,7 +3315,7 @@ export type GetManagedCollectorReportsQuery = {
3255
3315
  managedCollectorReports: Array<{
3256
3316
  __typename?: 'ManagedCollectorReport';
3257
3317
  region: string;
3258
- hostNetworkId: string;
3318
+ networkId: string;
3259
3319
  kind: string;
3260
3320
  status: string;
3261
3321
  message: string;
@@ -3265,11 +3325,8 @@ export type GetManagedCollectorReportsQuery = {
3265
3325
  desired: {
3266
3326
  __typename?: 'ManagedCollectorDesired';
3267
3327
  enabled: boolean;
3268
- hostNetworkId?: string | null;
3269
- subnetIds?: Array<string> | null;
3270
- securityGroupIds?: Array<string> | null;
3271
- clusterRef?: string | null;
3272
- assignPublicIp: boolean;
3328
+ networkId?: string | null;
3329
+ deploymentRoleRef?: string | null;
3273
3330
  cpu: string;
3274
3331
  memory: string;
3275
3332
  logRetentionDays: number;
@@ -3293,10 +3350,20 @@ export type GetManagedCollectorReportsQuery = {
3293
3350
  };
3294
3351
  ingress: {
3295
3352
  __typename?: 'ManagedCollectorIngress';
3296
- additionalSecurityGroupIds?: Array<string> | null;
3297
3353
  additionalCidrs?: Array<string> | null;
3354
+ };
3355
+ providerOverrides: {
3356
+ __typename?: 'AwsManagedCollectorProviderOverrides';
3357
+ executionRoleArn?: string | null;
3358
+ subnetIds?: Array<string> | null;
3359
+ securityGroupIds?: Array<string> | null;
3360
+ clusterRef?: string | null;
3361
+ assignPublicIp: boolean;
3362
+ useFargateSpot: boolean;
3363
+ additionalSecurityGroupIds?: Array<string> | null;
3298
3364
  allowNetworkCidrFallback: boolean;
3299
3365
  minFallbackPrefixLength?: number | null;
3366
+ provider: string;
3300
3367
  };
3301
3368
  };
3302
3369
  current: {
@@ -3380,7 +3447,7 @@ export type GetManagedCollectorReportQuery = {
3380
3447
  managedCollectorReport?: {
3381
3448
  __typename?: 'ManagedCollectorReport';
3382
3449
  region: string;
3383
- hostNetworkId: string;
3450
+ networkId: string;
3384
3451
  kind: string;
3385
3452
  status: string;
3386
3453
  message: string;
@@ -3390,11 +3457,8 @@ export type GetManagedCollectorReportQuery = {
3390
3457
  desired: {
3391
3458
  __typename?: 'ManagedCollectorDesired';
3392
3459
  enabled: boolean;
3393
- hostNetworkId?: string | null;
3394
- subnetIds?: Array<string> | null;
3395
- securityGroupIds?: Array<string> | null;
3396
- clusterRef?: string | null;
3397
- assignPublicIp: boolean;
3460
+ networkId?: string | null;
3461
+ deploymentRoleRef?: string | null;
3398
3462
  cpu: string;
3399
3463
  memory: string;
3400
3464
  logRetentionDays: number;
@@ -3418,10 +3482,20 @@ export type GetManagedCollectorReportQuery = {
3418
3482
  };
3419
3483
  ingress: {
3420
3484
  __typename?: 'ManagedCollectorIngress';
3421
- additionalSecurityGroupIds?: Array<string> | null;
3422
3485
  additionalCidrs?: Array<string> | null;
3486
+ };
3487
+ providerOverrides: {
3488
+ __typename?: 'AwsManagedCollectorProviderOverrides';
3489
+ executionRoleArn?: string | null;
3490
+ subnetIds?: Array<string> | null;
3491
+ securityGroupIds?: Array<string> | null;
3492
+ clusterRef?: string | null;
3493
+ assignPublicIp: boolean;
3494
+ useFargateSpot: boolean;
3495
+ additionalSecurityGroupIds?: Array<string> | null;
3423
3496
  allowNetworkCidrFallback: boolean;
3424
3497
  minFallbackPrefixLength?: number | null;
3498
+ provider: string;
3425
3499
  };
3426
3500
  };
3427
3501
  current: {
@@ -3505,7 +3579,8 @@ export type GetManagedCollectorInstructionsQuery = {
3505
3579
  managedCollectorInstructions?: {
3506
3580
  __typename?: 'ManagedCollectorInstructions';
3507
3581
  region: string;
3508
- hostNetworkId: string;
3582
+ deploymentRoleRef?: string | null;
3583
+ networkId: string;
3509
3584
  mode: string;
3510
3585
  notes: Array<string>;
3511
3586
  updatedAt: string;
@@ -3565,7 +3640,7 @@ export type CreateManagedCollectorMutation = {
3565
3640
  createManagedCollector: {
3566
3641
  __typename?: 'ManagedCollectorReport';
3567
3642
  region: string;
3568
- hostNetworkId: string;
3643
+ networkId: string;
3569
3644
  kind: string;
3570
3645
  status: string;
3571
3646
  message: string;
@@ -3575,11 +3650,8 @@ export type CreateManagedCollectorMutation = {
3575
3650
  desired: {
3576
3651
  __typename?: 'ManagedCollectorDesired';
3577
3652
  enabled: boolean;
3578
- hostNetworkId?: string | null;
3579
- subnetIds?: Array<string> | null;
3580
- securityGroupIds?: Array<string> | null;
3581
- clusterRef?: string | null;
3582
- assignPublicIp: boolean;
3653
+ networkId?: string | null;
3654
+ deploymentRoleRef?: string | null;
3583
3655
  cpu: string;
3584
3656
  memory: string;
3585
3657
  logRetentionDays: number;
@@ -3603,10 +3675,20 @@ export type CreateManagedCollectorMutation = {
3603
3675
  };
3604
3676
  ingress: {
3605
3677
  __typename?: 'ManagedCollectorIngress';
3606
- additionalSecurityGroupIds?: Array<string> | null;
3607
3678
  additionalCidrs?: Array<string> | null;
3679
+ };
3680
+ providerOverrides: {
3681
+ __typename?: 'AwsManagedCollectorProviderOverrides';
3682
+ executionRoleArn?: string | null;
3683
+ subnetIds?: Array<string> | null;
3684
+ securityGroupIds?: Array<string> | null;
3685
+ clusterRef?: string | null;
3686
+ assignPublicIp: boolean;
3687
+ useFargateSpot: boolean;
3688
+ additionalSecurityGroupIds?: Array<string> | null;
3608
3689
  allowNetworkCidrFallback: boolean;
3609
3690
  minFallbackPrefixLength?: number | null;
3691
+ provider: string;
3610
3692
  };
3611
3693
  };
3612
3694
  current: {
@@ -3690,7 +3772,7 @@ export type UpdateManagedCollectorMutation = {
3690
3772
  updateManagedCollector: {
3691
3773
  __typename?: 'ManagedCollectorReport';
3692
3774
  region: string;
3693
- hostNetworkId: string;
3775
+ networkId: string;
3694
3776
  kind: string;
3695
3777
  status: string;
3696
3778
  message: string;
@@ -3700,11 +3782,8 @@ export type UpdateManagedCollectorMutation = {
3700
3782
  desired: {
3701
3783
  __typename?: 'ManagedCollectorDesired';
3702
3784
  enabled: boolean;
3703
- hostNetworkId?: string | null;
3704
- subnetIds?: Array<string> | null;
3705
- securityGroupIds?: Array<string> | null;
3706
- clusterRef?: string | null;
3707
- assignPublicIp: boolean;
3785
+ networkId?: string | null;
3786
+ deploymentRoleRef?: string | null;
3708
3787
  cpu: string;
3709
3788
  memory: string;
3710
3789
  logRetentionDays: number;
@@ -3728,10 +3807,20 @@ export type UpdateManagedCollectorMutation = {
3728
3807
  };
3729
3808
  ingress: {
3730
3809
  __typename?: 'ManagedCollectorIngress';
3731
- additionalSecurityGroupIds?: Array<string> | null;
3732
3810
  additionalCidrs?: Array<string> | null;
3811
+ };
3812
+ providerOverrides: {
3813
+ __typename?: 'AwsManagedCollectorProviderOverrides';
3814
+ executionRoleArn?: string | null;
3815
+ subnetIds?: Array<string> | null;
3816
+ securityGroupIds?: Array<string> | null;
3817
+ clusterRef?: string | null;
3818
+ assignPublicIp: boolean;
3819
+ useFargateSpot: boolean;
3820
+ additionalSecurityGroupIds?: Array<string> | null;
3733
3821
  allowNetworkCidrFallback: boolean;
3734
3822
  minFallbackPrefixLength?: number | null;
3823
+ provider: string;
3735
3824
  };
3736
3825
  };
3737
3826
  current: {
@@ -3820,10 +3909,23 @@ export type TeardownManagedCollectorMutation = {
3820
3909
  retained: Array<string>;
3821
3910
  };
3822
3911
  };
3912
+ export type IssueManagedCollectorCredentialMutationVariables = Exact<{
3913
+ input: IssueManagedCollectorCredentialInput;
3914
+ }>;
3915
+ export type IssueManagedCollectorCredentialMutation = {
3916
+ __typename?: 'Mutation';
3917
+ issueManagedCollectorCredential: {
3918
+ __typename?: 'IssueManagedCollectorCredentialPayload';
3919
+ collectorId: string;
3920
+ credentialId: string;
3921
+ authorizationHeader: string;
3922
+ secretRef: string;
3923
+ };
3924
+ };
3823
3925
  export type ManagedCollectorReportFieldsFragment = {
3824
3926
  __typename?: 'ManagedCollectorReport';
3825
3927
  region: string;
3826
- hostNetworkId: string;
3928
+ networkId: string;
3827
3929
  kind: string;
3828
3930
  status: string;
3829
3931
  message: string;
@@ -3833,11 +3935,8 @@ export type ManagedCollectorReportFieldsFragment = {
3833
3935
  desired: {
3834
3936
  __typename?: 'ManagedCollectorDesired';
3835
3937
  enabled: boolean;
3836
- hostNetworkId?: string | null;
3837
- subnetIds?: Array<string> | null;
3838
- securityGroupIds?: Array<string> | null;
3839
- clusterRef?: string | null;
3840
- assignPublicIp: boolean;
3938
+ networkId?: string | null;
3939
+ deploymentRoleRef?: string | null;
3841
3940
  cpu: string;
3842
3941
  memory: string;
3843
3942
  logRetentionDays: number;
@@ -3861,10 +3960,20 @@ export type ManagedCollectorReportFieldsFragment = {
3861
3960
  };
3862
3961
  ingress: {
3863
3962
  __typename?: 'ManagedCollectorIngress';
3864
- additionalSecurityGroupIds?: Array<string> | null;
3865
3963
  additionalCidrs?: Array<string> | null;
3964
+ };
3965
+ providerOverrides: {
3966
+ __typename?: 'AwsManagedCollectorProviderOverrides';
3967
+ executionRoleArn?: string | null;
3968
+ subnetIds?: Array<string> | null;
3969
+ securityGroupIds?: Array<string> | null;
3970
+ clusterRef?: string | null;
3971
+ assignPublicIp: boolean;
3972
+ useFargateSpot: boolean;
3973
+ additionalSecurityGroupIds?: Array<string> | null;
3866
3974
  allowNetworkCidrFallback: boolean;
3867
3975
  minFallbackPrefixLength?: number | null;
3976
+ provider: string;
3868
3977
  };
3869
3978
  };
3870
3979
  current: {
@@ -5715,6 +5824,7 @@ export declare const GetManagedCollectorMetricsDocument: DocumentNode<GetManaged
5715
5824
  export declare const CreateManagedCollectorDocument: DocumentNode<CreateManagedCollectorMutation, CreateManagedCollectorMutationVariables>;
5716
5825
  export declare const UpdateManagedCollectorDocument: DocumentNode<UpdateManagedCollectorMutation, UpdateManagedCollectorMutationVariables>;
5717
5826
  export declare const TeardownManagedCollectorDocument: DocumentNode<TeardownManagedCollectorMutation, TeardownManagedCollectorMutationVariables>;
5827
+ export declare const IssueManagedCollectorCredentialDocument: DocumentNode<IssueManagedCollectorCredentialMutation, IssueManagedCollectorCredentialMutationVariables>;
5718
5828
  export declare const GetManagedCollectorDestinationTypesDocument: DocumentNode<GetManagedCollectorDestinationTypesQuery, GetManagedCollectorDestinationTypesQueryVariables>;
5719
5829
  export declare const ListManagedCollectorDestinationsDocument: DocumentNode<ListManagedCollectorDestinationsQuery, ListManagedCollectorDestinationsQueryVariables>;
5720
5830
  export declare const GetManagedCollectorDestinationDocument: DocumentNode<GetManagedCollectorDestinationQuery, GetManagedCollectorDestinationQueryVariables>;