@pulumi/harness 0.17.0 → 0.17.1

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.
Files changed (58) hide show
  1. package/autostopping/getRuleEcs.d.ts +82 -56
  2. package/autostopping/getRuleEcs.d.ts.map +1 -1
  3. package/autostopping/getRuleEcs.js +70 -12
  4. package/autostopping/getRuleEcs.js.map +1 -1
  5. package/autostopping/getRuleK8s.d.ts +82 -77
  6. package/autostopping/getRuleK8s.d.ts.map +1 -1
  7. package/autostopping/getRuleK8s.js +70 -14
  8. package/autostopping/getRuleK8s.js.map +1 -1
  9. package/autostopping/getRuleRds.d.ts +84 -46
  10. package/autostopping/getRuleRds.d.ts.map +1 -1
  11. package/autostopping/getRuleRds.js +70 -10
  12. package/autostopping/getRuleRds.js.map +1 -1
  13. package/autostopping/getRuleScaleGroup.d.ts +82 -77
  14. package/autostopping/getRuleScaleGroup.d.ts.map +1 -1
  15. package/autostopping/getRuleScaleGroup.js +70 -14
  16. package/autostopping/getRuleScaleGroup.js.map +1 -1
  17. package/autostopping/getRuleVm.d.ts +82 -86
  18. package/autostopping/getRuleVm.d.ts.map +1 -1
  19. package/autostopping/getRuleVm.js +70 -16
  20. package/autostopping/getRuleVm.js.map +1 -1
  21. package/autostopping/getRules.d.ts +14 -0
  22. package/autostopping/getRules.d.ts.map +1 -1
  23. package/autostopping/getRules.js +14 -0
  24. package/autostopping/getRules.js.map +1 -1
  25. package/package.json +2 -2
  26. package/platform/connectorAnthropicModel.d.ts +314 -0
  27. package/platform/connectorAnthropicModel.d.ts.map +1 -0
  28. package/platform/connectorAnthropicModel.js +237 -0
  29. package/platform/connectorAnthropicModel.js.map +1 -0
  30. package/platform/connectorOpenaiModel.d.ts +257 -0
  31. package/platform/connectorOpenaiModel.d.ts.map +1 -0
  32. package/platform/connectorOpenaiModel.js +180 -0
  33. package/platform/connectorOpenaiModel.js.map +1 -0
  34. package/platform/getConnectorAnthropicModel.d.ts +132 -0
  35. package/platform/getConnectorAnthropicModel.d.ts.map +1 -0
  36. package/platform/getConnectorAnthropicModel.js +79 -0
  37. package/platform/getConnectorAnthropicModel.js.map +1 -0
  38. package/platform/getConnectorOpenaiModel.d.ts +132 -0
  39. package/platform/getConnectorOpenaiModel.d.ts.map +1 -0
  40. package/platform/getConnectorOpenaiModel.js +79 -0
  41. package/platform/getConnectorOpenaiModel.js.map +1 -0
  42. package/platform/getHarRegistry.d.ts +3 -3
  43. package/platform/harRegistry.d.ts +60 -3
  44. package/platform/harRegistry.d.ts.map +1 -1
  45. package/platform/harRegistry.js +57 -0
  46. package/platform/harRegistry.js.map +1 -1
  47. package/platform/index.d.ts +15 -0
  48. package/platform/index.d.ts.map +1 -1
  49. package/platform/index.js +30 -9
  50. package/platform/index.js.map +1 -1
  51. package/platform/setting.d.ts +210 -0
  52. package/platform/setting.d.ts.map +1 -0
  53. package/platform/setting.js +163 -0
  54. package/platform/setting.js.map +1 -0
  55. package/types/input.d.ts +96 -696
  56. package/types/input.d.ts.map +1 -1
  57. package/types/output.d.ts +197 -303
  58. package/types/output.d.ts.map +1 -1
package/types/output.d.ts CHANGED
@@ -912,354 +912,56 @@ export declare namespace autostopping {
912
912
  */
913
913
  keySecretId: string;
914
914
  }
915
- interface GetRuleEcsContainer {
916
- /**
917
- * Name of cluster in which service belong to
918
- */
919
- cluster: string;
920
- /**
921
- * Region of cluster
922
- */
923
- region: string;
924
- /**
925
- * Name of service to be onboarded
926
- */
927
- service: string;
928
- /**
929
- * Desired number of tasks on warming up a rule
930
- */
931
- taskCount?: number;
932
- }
933
915
  interface GetRuleEcsDepend {
934
916
  /**
935
917
  * Number of seconds the rule should wait after warming up the dependent rule
936
918
  */
937
- delayInSec?: number;
919
+ delayInSec: number;
938
920
  /**
939
921
  * Rule id of the dependent rule
940
922
  */
941
923
  ruleId: number;
942
924
  }
943
- interface GetRuleEcsHttp {
944
- /**
945
- * Id of the proxy
946
- */
947
- proxyId: string;
948
- }
949
925
  interface GetRuleK8sDepend {
950
926
  /**
951
927
  * Number of seconds the rule should wait after warming up the dependent rule
952
928
  */
953
- delayInSec?: number;
929
+ delayInSec: number;
954
930
  /**
955
931
  * Rule id of the dependent rule
956
932
  */
957
933
  ruleId: number;
958
934
  }
959
- interface GetRuleRdsDatabase {
960
- /**
961
- * ID of the database
962
- */
963
- id: string;
964
- /**
965
- * Region to which database belong to
966
- */
967
- region: string;
968
- }
969
935
  interface GetRuleRdsDepend {
970
936
  /**
971
937
  * Number of seconds the rule should wait after warming up the dependent rule
972
938
  */
973
- delayInSec?: number;
939
+ delayInSec: number;
974
940
  /**
975
941
  * Rule id of the dependent rule
976
942
  */
977
943
  ruleId: number;
978
944
  }
979
- interface GetRuleRdsTcp {
980
- /**
981
- * Additional tcp forwarding rules
982
- */
983
- forwardRules?: outputs.autostopping.GetRuleRdsTcpForwardRule[];
984
- /**
985
- * Id of the Proxy
986
- */
987
- proxyId: string;
988
- }
989
- interface GetRuleRdsTcpForwardRule {
990
- /**
991
- * Port to listen on the proxy
992
- */
993
- connectOn?: number;
994
- /**
995
- * Port to listen on the vm
996
- */
997
- port: number;
998
- }
999
945
  interface GetRuleScaleGroupDepend {
1000
946
  /**
1001
947
  * Number of seconds the rule should wait after warming up the dependent rule
1002
948
  */
1003
- delayInSec?: number;
949
+ delayInSec: number;
1004
950
  /**
1005
951
  * Rule id of the dependent rule
1006
952
  */
1007
953
  ruleId: number;
1008
954
  }
1009
- interface GetRuleScaleGroupHttp {
1010
- /**
1011
- * Health Check Details
1012
- */
1013
- healths?: outputs.autostopping.GetRuleScaleGroupHttpHealth[];
1014
- /**
1015
- * Id of the proxy
1016
- */
1017
- proxyId: string;
1018
- /**
1019
- * Routing configuration used to access the scaling group
1020
- */
1021
- routings?: outputs.autostopping.GetRuleScaleGroupHttpRouting[];
1022
- }
1023
- interface GetRuleScaleGroupHttpHealth {
1024
- /**
1025
- * API path to use for health check
1026
- */
1027
- path?: string;
1028
- /**
1029
- * Health check port on the VM
1030
- */
1031
- port: number;
1032
- /**
1033
- * Protocol can be http or https
1034
- */
1035
- protocol: string;
1036
- /**
1037
- * Lower limit for acceptable status code
1038
- */
1039
- statusCodeFrom?: number;
1040
- /**
1041
- * Upper limit for acceptable status code
1042
- */
1043
- statusCodeTo?: number;
1044
- /**
1045
- * Health check timeout
1046
- */
1047
- timeout?: number;
1048
- }
1049
- interface GetRuleScaleGroupHttpRouting {
1050
- /**
1051
- * Action to take for the routing rule
1052
- */
1053
- action?: string;
1054
- /**
1055
- * Path to use for the proxy
1056
- */
1057
- path?: string;
1058
- /**
1059
- * Port on the proxy
1060
- */
1061
- sourcePort?: number;
1062
- /**
1063
- * Source protocol of the proxy can be http or https
1064
- */
1065
- sourceProtocol: string;
1066
- /**
1067
- * Port on the VM
1068
- */
1069
- targetPort?: number;
1070
- /**
1071
- * Target protocol of the instance can be http or https
1072
- */
1073
- targetProtocol: string;
1074
- }
1075
- interface GetRuleScaleGroupScaleGroup {
1076
- /**
1077
- * Desired capacity of the Scaling Group
1078
- */
1079
- desired: number;
1080
- /**
1081
- * ID of the Scaling Group
1082
- */
1083
- id: string;
1084
- /**
1085
- * Maximum capacity of the Scaling Group
1086
- */
1087
- max: number;
1088
- /**
1089
- * Minimum capacity of the Scaling Group
1090
- */
1091
- min: number;
1092
- /**
1093
- * Name of the Scaling Group
1094
- */
1095
- name: string;
1096
- /**
1097
- * On-demand capacity of the Scaling Group
1098
- */
1099
- onDemand: number;
1100
- /**
1101
- * Region of the Scaling Group
1102
- */
1103
- region?: string;
1104
- /**
1105
- * Zone of the Scaling Group. Needed for GCP only
1106
- */
1107
- zone?: string;
1108
- }
1109
955
  interface GetRuleVmDepend {
1110
956
  /**
1111
957
  * Number of seconds the rule should wait after warming up the dependent rule
1112
958
  */
1113
- delayInSec?: number;
959
+ delayInSec: number;
1114
960
  /**
1115
961
  * Rule id of the dependent rule
1116
962
  */
1117
963
  ruleId: number;
1118
964
  }
1119
- interface GetRuleVmFilter {
1120
- /**
1121
- * Regions of instances that needs to be managed using the AutoStopping rules
1122
- */
1123
- regions?: string[];
1124
- /**
1125
- * Tags of instances that needs to be managed using the AutoStopping rules
1126
- */
1127
- tags?: outputs.autostopping.GetRuleVmFilterTag[];
1128
- /**
1129
- * Ids of instances that needs to be managed using the AutoStopping rules
1130
- */
1131
- vmIds?: string[];
1132
- /**
1133
- * Zones of instances that needs to be managed using the AutoStopping rules
1134
- */
1135
- zones?: string[];
1136
- }
1137
- interface GetRuleVmFilterTag {
1138
- key: string;
1139
- value: string;
1140
- }
1141
- interface GetRuleVmHttp {
1142
- /**
1143
- * Health Check Details
1144
- */
1145
- healths?: outputs.autostopping.GetRuleVmHttpHealth[];
1146
- /**
1147
- * Id of the cloud connector for the proxy. Set when the proxy lives in a different cloud account than the target resource.
1148
- */
1149
- proxyCloudConnectorId: string;
1150
- /**
1151
- * Id of the proxy
1152
- */
1153
- proxyId: string;
1154
- /**
1155
- * Routing configuration used to access the instances
1156
- */
1157
- routings?: outputs.autostopping.GetRuleVmHttpRouting[];
1158
- }
1159
- interface GetRuleVmHttpHealth {
1160
- /**
1161
- * API path to use for health check
1162
- */
1163
- path?: string;
1164
- /**
1165
- * Health check port on the VM
1166
- */
1167
- port: number;
1168
- /**
1169
- * Protocol can be http or https
1170
- */
1171
- protocol: string;
1172
- /**
1173
- * Lower limit for acceptable status code
1174
- */
1175
- statusCodeFrom?: number;
1176
- /**
1177
- * Upper limit for acceptable status code
1178
- */
1179
- statusCodeTo?: number;
1180
- /**
1181
- * Health check timeout
1182
- */
1183
- timeout?: number;
1184
- }
1185
- interface GetRuleVmHttpRouting {
1186
- /**
1187
- * Action to take for the routing rule
1188
- */
1189
- action?: string;
1190
- /**
1191
- * Path to use for the proxy
1192
- */
1193
- path?: string;
1194
- /**
1195
- * Port on the proxy
1196
- */
1197
- sourcePort?: number;
1198
- /**
1199
- * Source protocol of the proxy can be http or https
1200
- */
1201
- sourceProtocol: string;
1202
- /**
1203
- * Port on the VM
1204
- */
1205
- targetPort?: number;
1206
- /**
1207
- * Target protocol of the instance can be http or https
1208
- */
1209
- targetProtocol: string;
1210
- }
1211
- interface GetRuleVmTcp {
1212
- /**
1213
- * Additional tcp forwarding rules
1214
- */
1215
- forwardRules?: outputs.autostopping.GetRuleVmTcpForwardRule[];
1216
- /**
1217
- * Id of the cloud connector for the proxy. Set when the proxy lives in a different cloud account than the target resource.
1218
- */
1219
- proxyCloudConnectorId: string;
1220
- /**
1221
- * Id of the Proxy
1222
- */
1223
- proxyId: string;
1224
- /**
1225
- * RDP configuration
1226
- */
1227
- rdps?: outputs.autostopping.GetRuleVmTcpRdp[];
1228
- /**
1229
- * SSH configuration
1230
- */
1231
- sshes?: outputs.autostopping.GetRuleVmTcpSsh[];
1232
- }
1233
- interface GetRuleVmTcpForwardRule {
1234
- /**
1235
- * Port to listen on the proxy
1236
- */
1237
- connectOn?: number;
1238
- /**
1239
- * Port to listen on the vm
1240
- */
1241
- port: number;
1242
- }
1243
- interface GetRuleVmTcpRdp {
1244
- /**
1245
- * Port to listen on the proxy
1246
- */
1247
- connectOn?: number;
1248
- /**
1249
- * Port to listen on the vm
1250
- */
1251
- port?: number;
1252
- }
1253
- interface GetRuleVmTcpSsh {
1254
- /**
1255
- * Port to listen on the proxy
1256
- */
1257
- connectOn?: number;
1258
- /**
1259
- * Port to listen on the vm
1260
- */
1261
- port?: number;
1262
- }
1263
965
  interface GetRulesRule {
1264
966
  /**
1265
967
  * Id of the cloud connector.
@@ -6258,6 +5960,68 @@ export declare namespace platform {
6258
5960
  [key: string]: string;
6259
5961
  };
6260
5962
  }
5963
+ interface ConnectorAnthropicModelAuth {
5964
+ /**
5965
+ * Authentication type for the Anthropic connector. Valid values: `Token`, `BedrockApiKey`, `Vertex`, `CloudProvider`.
5966
+ */
5967
+ authType: string;
5968
+ /**
5969
+ * Authenticate using an AWS Bedrock API key.
5970
+ */
5971
+ bedrockApiKey?: outputs.platform.ConnectorAnthropicModelAuthBedrockApiKey;
5972
+ /**
5973
+ * Authenticate using an existing cloud provider connector.
5974
+ */
5975
+ cloudProvider?: outputs.platform.ConnectorAnthropicModelAuthCloudProvider;
5976
+ /**
5977
+ * Authenticate using an Anthropic API token.
5978
+ */
5979
+ token?: outputs.platform.ConnectorAnthropicModelAuthToken;
5980
+ /**
5981
+ * Authenticate using Google Vertex AI credentials.
5982
+ */
5983
+ vertex?: outputs.platform.ConnectorAnthropicModelAuthVertex;
5984
+ }
5985
+ interface ConnectorAnthropicModelAuthBedrockApiKey {
5986
+ /**
5987
+ * Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
5988
+ */
5989
+ apiKeyRef: string;
5990
+ /**
5991
+ * AWS region for the Bedrock endpoint.
5992
+ */
5993
+ region: string;
5994
+ }
5995
+ interface ConnectorAnthropicModelAuthCloudProvider {
5996
+ /**
5997
+ * Reference to an existing cloud provider connector.
5998
+ */
5999
+ connectorRef: string;
6000
+ /**
6001
+ * Cloud provider type. Valid values: `AWS`, `GCP`, `Azure`.
6002
+ */
6003
+ type: string;
6004
+ }
6005
+ interface ConnectorAnthropicModelAuthToken {
6006
+ /**
6007
+ * Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
6008
+ */
6009
+ tokenRef: string;
6010
+ }
6011
+ interface ConnectorAnthropicModelAuthVertex {
6012
+ /**
6013
+ * GCP project ID.
6014
+ */
6015
+ projectId: string;
6016
+ /**
6017
+ * GCP region for the Vertex AI endpoint.
6018
+ */
6019
+ region: string;
6020
+ /**
6021
+ * Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
6022
+ */
6023
+ serviceAccountKeyRef: string;
6024
+ }
6261
6025
  interface ConnectorAzureArtifactsCredentials {
6262
6026
  /**
6263
6027
  * Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
@@ -6491,6 +6255,40 @@ export declare namespace platform {
6491
6255
  */
6492
6256
  usernameRef?: string;
6493
6257
  }
6258
+ interface ConnectorOpenaiModelAuth {
6259
+ /**
6260
+ * Authentication type for the OpenAI connector. Valid values: `Token`, `Vertex`.
6261
+ */
6262
+ authType: string;
6263
+ /**
6264
+ * Authenticate using an OpenAI API token.
6265
+ */
6266
+ token?: outputs.platform.ConnectorOpenaiModelAuthToken;
6267
+ /**
6268
+ * Authenticate using Google Vertex AI credentials.
6269
+ */
6270
+ vertex?: outputs.platform.ConnectorOpenaiModelAuthVertex;
6271
+ }
6272
+ interface ConnectorOpenaiModelAuthToken {
6273
+ /**
6274
+ * Reference to a secret containing the OpenAI API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
6275
+ */
6276
+ tokenRef: string;
6277
+ }
6278
+ interface ConnectorOpenaiModelAuthVertex {
6279
+ /**
6280
+ * GCP project ID.
6281
+ */
6282
+ projectId: string;
6283
+ /**
6284
+ * GCP region for the Vertex AI endpoint.
6285
+ */
6286
+ region: string;
6287
+ /**
6288
+ * Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
6289
+ */
6290
+ serviceAccountKeyRef: string;
6291
+ }
6494
6292
  interface ConnectorPdcHost {
6495
6293
  /**
6496
6294
  * attributes for current host
@@ -7454,6 +7252,68 @@ export declare namespace platform {
7454
7252
  [key: string]: string;
7455
7253
  };
7456
7254
  }
7255
+ interface GetConnectorAnthropicModelAuth {
7256
+ /**
7257
+ * Authentication type for the Anthropic connector.
7258
+ */
7259
+ authType: string;
7260
+ /**
7261
+ * Authenticate using an AWS Bedrock API key.
7262
+ */
7263
+ bedrockApiKeys: outputs.platform.GetConnectorAnthropicModelAuthBedrockApiKey[];
7264
+ /**
7265
+ * Authenticate using an existing cloud provider connector.
7266
+ */
7267
+ cloudProviders: outputs.platform.GetConnectorAnthropicModelAuthCloudProvider[];
7268
+ /**
7269
+ * Authenticate using an Anthropic API token.
7270
+ */
7271
+ tokens: outputs.platform.GetConnectorAnthropicModelAuthToken[];
7272
+ /**
7273
+ * Authenticate using Google Vertex AI credentials.
7274
+ */
7275
+ vertices: outputs.platform.GetConnectorAnthropicModelAuthVertex[];
7276
+ }
7277
+ interface GetConnectorAnthropicModelAuthBedrockApiKey {
7278
+ /**
7279
+ * Reference to a secret containing the Bedrock API key.
7280
+ */
7281
+ apiKeyRef: string;
7282
+ /**
7283
+ * AWS region for the Bedrock endpoint.
7284
+ */
7285
+ region: string;
7286
+ }
7287
+ interface GetConnectorAnthropicModelAuthCloudProvider {
7288
+ /**
7289
+ * Reference to an existing cloud provider connector.
7290
+ */
7291
+ connectorRef: string;
7292
+ /**
7293
+ * Cloud provider type.
7294
+ */
7295
+ type: string;
7296
+ }
7297
+ interface GetConnectorAnthropicModelAuthToken {
7298
+ /**
7299
+ * Reference to a secret containing the Anthropic API token.
7300
+ */
7301
+ tokenRef: string;
7302
+ }
7303
+ interface GetConnectorAnthropicModelAuthVertex {
7304
+ /**
7305
+ * GCP project ID.
7306
+ */
7307
+ projectId: string;
7308
+ /**
7309
+ * GCP region for the Vertex AI endpoint.
7310
+ */
7311
+ region: string;
7312
+ /**
7313
+ * Reference to a secret containing the GCP service account key.
7314
+ */
7315
+ serviceAccountKeyRef: string;
7316
+ }
7457
7317
  interface GetConnectorAzureRepoApiAuthentication {
7458
7318
  /**
7459
7319
  * Personal access token for interacting with the azure repo api. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
@@ -7681,6 +7541,40 @@ export declare namespace platform {
7681
7541
  */
7682
7542
  usernameRef: string;
7683
7543
  }
7544
+ interface GetConnectorOpenaiModelAuth {
7545
+ /**
7546
+ * Authentication type for the OpenAI connector.
7547
+ */
7548
+ authType: string;
7549
+ /**
7550
+ * Authenticate using an OpenAI API token.
7551
+ */
7552
+ tokens: outputs.platform.GetConnectorOpenaiModelAuthToken[];
7553
+ /**
7554
+ * Authenticate using Google Vertex AI credentials.
7555
+ */
7556
+ vertices: outputs.platform.GetConnectorOpenaiModelAuthVertex[];
7557
+ }
7558
+ interface GetConnectorOpenaiModelAuthToken {
7559
+ /**
7560
+ * Reference to a secret containing the OpenAI API token.
7561
+ */
7562
+ tokenRef: string;
7563
+ }
7564
+ interface GetConnectorOpenaiModelAuthVertex {
7565
+ /**
7566
+ * GCP project ID.
7567
+ */
7568
+ projectId: string;
7569
+ /**
7570
+ * GCP region for the Vertex AI endpoint.
7571
+ */
7572
+ region: string;
7573
+ /**
7574
+ * Reference to a secret containing the GCP service account key.
7575
+ */
7576
+ serviceAccountKeyRef: string;
7577
+ }
7684
7578
  interface GetConnectorPdcHost {
7685
7579
  /**
7686
7580
  * attributes for current host