@byteplus/pulumi-bytepluscc 0.0.39 → 0.0.40

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 (44) hide show
  1. package/id/getOauth2CredentialProvider.d.ts +74 -0
  2. package/id/getOauth2CredentialProvider.d.ts.map +1 -0
  3. package/id/getOauth2CredentialProvider.js +51 -0
  4. package/id/getOauth2CredentialProvider.js.map +1 -0
  5. package/id/getOauth2CredentialProviders.d.ts +23 -0
  6. package/id/getOauth2CredentialProviders.d.ts.map +1 -0
  7. package/id/getOauth2CredentialProviders.js +47 -0
  8. package/id/getOauth2CredentialProviders.js.map +1 -0
  9. package/id/index.d.ts +9 -0
  10. package/id/index.d.ts.map +1 -1
  11. package/id/index.js +12 -1
  12. package/id/index.js.map +1 -1
  13. package/id/oauth2CredentialProvider.d.ts +191 -0
  14. package/id/oauth2CredentialProvider.d.ts.map +1 -0
  15. package/id/oauth2CredentialProvider.js +157 -0
  16. package/id/oauth2CredentialProvider.js.map +1 -0
  17. package/kms/getSecret.d.ts +29 -0
  18. package/kms/getSecret.d.ts.map +1 -1
  19. package/kms/getSecret.js.map +1 -1
  20. package/kms/secret.d.ts +80 -0
  21. package/kms/secret.d.ts.map +1 -1
  22. package/kms/secret.js +14 -0
  23. package/kms/secret.js.map +1 -1
  24. package/package.json +1 -1
  25. package/tls/alarmContentTemplateType.d.ts +263 -0
  26. package/tls/alarmContentTemplateType.d.ts.map +1 -0
  27. package/tls/alarmContentTemplateType.js +183 -0
  28. package/tls/alarmContentTemplateType.js.map +1 -0
  29. package/tls/getAlarmContentTemplateType.d.ts +90 -0
  30. package/tls/getAlarmContentTemplateType.d.ts.map +1 -0
  31. package/tls/getAlarmContentTemplateType.js +51 -0
  32. package/tls/getAlarmContentTemplateType.js.map +1 -0
  33. package/tls/getAlarmContentTemplateTypes.d.ts +23 -0
  34. package/tls/getAlarmContentTemplateTypes.d.ts.map +1 -0
  35. package/tls/getAlarmContentTemplateTypes.js +47 -0
  36. package/tls/getAlarmContentTemplateTypes.js.map +1 -0
  37. package/tls/index.d.ts +9 -0
  38. package/tls/index.d.ts.map +1 -1
  39. package/tls/index.js +13 -2
  40. package/tls/index.js.map +1 -1
  41. package/types/input.d.ts +237 -0
  42. package/types/input.d.ts.map +1 -1
  43. package/types/output.d.ts +473 -0
  44. package/types/output.d.ts.map +1 -1
package/types/output.d.ts CHANGED
@@ -15978,6 +15978,118 @@ export declare namespace id {
15978
15978
  */
15979
15979
  discoveryUrl: string;
15980
15980
  }
15981
+ interface GetOauth2CredentialProviderConfig {
15982
+ /**
15983
+ * OAuth2 Client ID。
15984
+ */
15985
+ clientId: string;
15986
+ /**
15987
+ * OAuth2 Client Secret。
15988
+ */
15989
+ clientSecret: string;
15990
+ /**
15991
+ * Default custom parameters in GetResourceOauth2Token request
15992
+ */
15993
+ customParameters: outputs.id.GetOauth2CredentialProviderConfigCustomParameters;
15994
+ /**
15995
+ * Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
15996
+ */
15997
+ flow: string;
15998
+ /**
15999
+ * Default ForceAuthentication in GetResourceOauth2Token request
16000
+ */
16001
+ forceAuthentication: boolean;
16002
+ /**
16003
+ * Maximum token validity (seconds)
16004
+ */
16005
+ maxExpires: number;
16006
+ /**
16007
+ * Custom metadata
16008
+ */
16009
+ metadata: string;
16010
+ /**
16011
+ * OAuth2 discovery information
16012
+ */
16013
+ oauth2Discovery: outputs.id.GetOauth2CredentialProviderConfigOauth2Discovery;
16014
+ /**
16015
+ * Default RedirectUrl in GetResourceOauth2Token request
16016
+ */
16017
+ redirectUrl: string;
16018
+ /**
16019
+ * Default Scopes in GetResourceOauth2Token request
16020
+ */
16021
+ scopes: string[];
16022
+ /**
16023
+ * Encrypted storage configuration
16024
+ */
16025
+ secretStorage: outputs.id.GetOauth2CredentialProviderConfigSecretStorage;
16026
+ }
16027
+ interface GetOauth2CredentialProviderConfigCustomParameters {
16028
+ /**
16029
+ * Custom parameter entry list
16030
+ */
16031
+ entries: outputs.id.GetOauth2CredentialProviderConfigCustomParametersEntry[];
16032
+ }
16033
+ interface GetOauth2CredentialProviderConfigCustomParametersEntry {
16034
+ /**
16035
+ * Parameter key
16036
+ */
16037
+ key: string;
16038
+ /**
16039
+ * Parameter value
16040
+ */
16041
+ value: string;
16042
+ }
16043
+ interface GetOauth2CredentialProviderConfigOauth2Discovery {
16044
+ /**
16045
+ * Authorization server metadata
16046
+ */
16047
+ authorizationServerMetadata: outputs.id.GetOauth2CredentialProviderConfigOauth2DiscoveryAuthorizationServerMetadata;
16048
+ /**
16049
+ * DiscoveryUrl field
16050
+ */
16051
+ discoveryUrl: string;
16052
+ }
16053
+ interface GetOauth2CredentialProviderConfigOauth2DiscoveryAuthorizationServerMetadata {
16054
+ /**
16055
+ * AuthorizationEndpoint field
16056
+ */
16057
+ authorizationEndpoint: string;
16058
+ /**
16059
+ * CodeChallengeMethodsSupported field
16060
+ */
16061
+ codeChallengeMethodsSupporteds: string[];
16062
+ /**
16063
+ * Issuer field
16064
+ */
16065
+ issuer: string;
16066
+ /**
16067
+ * RegistrationEndpoint field
16068
+ */
16069
+ registrationEndpoint: string;
16070
+ /**
16071
+ * ResponseTypes field
16072
+ */
16073
+ responseTypes: string[];
16074
+ /**
16075
+ * RevocationEndpoint field
16076
+ */
16077
+ revocationEndpoint: string;
16078
+ /**
16079
+ * TokenEndpoint field
16080
+ */
16081
+ tokenEndpoint: string;
16082
+ }
16083
+ interface GetOauth2CredentialProviderConfigSecretStorage {
16084
+ /**
16085
+ * KMS key TRN for encrypted credential value. If not specified, the default key is used
16086
+ */
16087
+ encryptionKey: string;
16088
+ /**
16089
+ * Encrypted storage type. 0: SecretManager, 1: KMS
16090
+ */
16091
+ storageType: number;
16092
+ }
15981
16093
  interface GetPermissionNamespaceTag {
15982
16094
  /**
15983
16095
  * Tag Key
@@ -16176,6 +16288,119 @@ export declare namespace id {
16176
16288
  */
16177
16289
  value: string;
16178
16290
  }
16291
+ interface Oauth2CredentialProviderConfig {
16292
+ /**
16293
+ * OAuth2 Client ID。
16294
+ */
16295
+ clientId: string;
16296
+ /**
16297
+ * OAuth2 Client Secret。
16298
+ */
16299
+ clientSecret: string;
16300
+ /**
16301
+ * Default custom parameters in GetResourceOauth2Token request
16302
+ */
16303
+ customParameters: outputs.id.Oauth2CredentialProviderConfigCustomParameters;
16304
+ /**
16305
+ * Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
16306
+ */
16307
+ flow: string;
16308
+ /**
16309
+ * Default ForceAuthentication in GetResourceOauth2Token request
16310
+ */
16311
+ forceAuthentication: boolean;
16312
+ /**
16313
+ * Maximum token validity (seconds)
16314
+ */
16315
+ maxExpires: number;
16316
+ /**
16317
+ * Custom metadata
16318
+ */
16319
+ metadata: string;
16320
+ /**
16321
+ * OAuth2 discovery information
16322
+ */
16323
+ oauth2Discovery: outputs.id.Oauth2CredentialProviderConfigOauth2Discovery;
16324
+ /**
16325
+ * Default RedirectUrl in GetResourceOauth2Token request
16326
+ */
16327
+ redirectUrl: string;
16328
+ /**
16329
+ * Default Scopes in GetResourceOauth2Token request
16330
+ */
16331
+ scopes: string[];
16332
+ /**
16333
+ * Encrypted storage configuration
16334
+ */
16335
+ secretStorage: outputs.id.Oauth2CredentialProviderConfigSecretStorage;
16336
+ }
16337
+ interface Oauth2CredentialProviderConfigCustomParameters {
16338
+ /**
16339
+ * Custom parameter entry list
16340
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
16341
+ */
16342
+ entries: outputs.id.Oauth2CredentialProviderConfigCustomParametersEntry[];
16343
+ }
16344
+ interface Oauth2CredentialProviderConfigCustomParametersEntry {
16345
+ /**
16346
+ * Parameter key
16347
+ */
16348
+ key: string;
16349
+ /**
16350
+ * Parameter value
16351
+ */
16352
+ value: string;
16353
+ }
16354
+ interface Oauth2CredentialProviderConfigOauth2Discovery {
16355
+ /**
16356
+ * Authorization server metadata
16357
+ */
16358
+ authorizationServerMetadata: outputs.id.Oauth2CredentialProviderConfigOauth2DiscoveryAuthorizationServerMetadata;
16359
+ /**
16360
+ * DiscoveryUrl field
16361
+ */
16362
+ discoveryUrl: string;
16363
+ }
16364
+ interface Oauth2CredentialProviderConfigOauth2DiscoveryAuthorizationServerMetadata {
16365
+ /**
16366
+ * AuthorizationEndpoint field
16367
+ */
16368
+ authorizationEndpoint: string;
16369
+ /**
16370
+ * CodeChallengeMethodsSupported field
16371
+ */
16372
+ codeChallengeMethodsSupporteds: string[];
16373
+ /**
16374
+ * Issuer field
16375
+ */
16376
+ issuer: string;
16377
+ /**
16378
+ * RegistrationEndpoint field
16379
+ */
16380
+ registrationEndpoint: string;
16381
+ /**
16382
+ * ResponseTypes field
16383
+ */
16384
+ responseTypes: string[];
16385
+ /**
16386
+ * RevocationEndpoint field
16387
+ */
16388
+ revocationEndpoint: string;
16389
+ /**
16390
+ * TokenEndpoint field
16391
+ */
16392
+ tokenEndpoint: string;
16393
+ }
16394
+ interface Oauth2CredentialProviderConfigSecretStorage {
16395
+ /**
16396
+ * KMS key TRN for encrypted credential value. If not specified, the default key is used
16397
+ */
16398
+ encryptionKey: string;
16399
+ /**
16400
+ * Encrypted storage type. 0: SecretManager, 1: KMS
16401
+ */
16402
+ storageType: number;
16403
+ }
16179
16404
  interface PermissionNamespaceTag {
16180
16405
  /**
16181
16406
  * Tag Key
@@ -16737,6 +16962,48 @@ export declare namespace kms {
16737
16962
  */
16738
16963
  value: string;
16739
16964
  }
16965
+ interface GetSecretSecretRestore {
16966
+ /**
16967
+ * Complete credential data returned by backup, in JSON format.
16968
+ */
16969
+ backupData: string;
16970
+ /**
16971
+ * Encrypted data key returned by backup, Base64 encoded.
16972
+ */
16973
+ secretDataKey: string;
16974
+ /**
16975
+ * Signature of the backup data, Base64 encoded.
16976
+ */
16977
+ signature: string;
16978
+ }
16979
+ interface GetSecretSecretRestoreRead {
16980
+ /**
16981
+ * Complete credential data returned by backup, in JSON format.
16982
+ */
16983
+ backupData: string;
16984
+ /**
16985
+ * Encrypted data key returned by backup, Base64 encoded.
16986
+ */
16987
+ secretDataKey: string;
16988
+ /**
16989
+ * Signature of the backup data, Base64 encoded.
16990
+ */
16991
+ signature: string;
16992
+ }
16993
+ interface GetSecretSecretVersion {
16994
+ /**
16995
+ * Credential version creation time.
16996
+ */
16997
+ creationDate: number;
16998
+ /**
16999
+ * Unique identifier for the credential version, in UUID format.
17000
+ */
17001
+ versionId: string;
17002
+ /**
17003
+ * Credential version tags.
17004
+ */
17005
+ versionStage: string;
17006
+ }
16740
17007
  interface KeyAsymmetricCiphertext {
16741
17008
  /**
16742
17009
  * Encryption algorithm. Optional values: RSAES*OAEP*SHA_256, SM2PKE.
@@ -16887,6 +17154,48 @@ export declare namespace kms {
16887
17154
  */
16888
17155
  value: string;
16889
17156
  }
17157
+ interface SecretSecretRestore {
17158
+ /**
17159
+ * Complete credential data returned by backup, in JSON format.
17160
+ */
17161
+ backupData: string;
17162
+ /**
17163
+ * Encrypted data key returned by backup, Base64 encoded.
17164
+ */
17165
+ secretDataKey: string;
17166
+ /**
17167
+ * Signature of the backup data, Base64 encoded.
17168
+ */
17169
+ signature: string;
17170
+ }
17171
+ interface SecretSecretRestoreRead {
17172
+ /**
17173
+ * Complete credential data returned by backup, in JSON format.
17174
+ */
17175
+ backupData: string;
17176
+ /**
17177
+ * Encrypted data key returned by backup, Base64 encoded.
17178
+ */
17179
+ secretDataKey: string;
17180
+ /**
17181
+ * Signature of the backup data, Base64 encoded.
17182
+ */
17183
+ signature: string;
17184
+ }
17185
+ interface SecretSecretVersion {
17186
+ /**
17187
+ * Credential version creation time.
17188
+ */
17189
+ creationDate: number;
17190
+ /**
17191
+ * Unique identifier for the credential version, in UUID format.
17192
+ */
17193
+ versionId: string;
17194
+ /**
17195
+ * Credential version tags.
17196
+ */
17197
+ versionStage: string;
17198
+ }
16890
17199
  }
16891
17200
  export declare namespace mongodb {
16892
17201
  interface AccountAccountPrivilege {
@@ -22273,6 +22582,88 @@ export declare namespace tls {
22273
22582
  */
22274
22583
  sms: number;
22275
22584
  }
22585
+ interface AlarmContentTemplateTypeDingTalk {
22586
+ /**
22587
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22588
+ */
22589
+ content: string;
22590
+ /**
22591
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22592
+ */
22593
+ locale: string;
22594
+ /**
22595
+ * Alert notification subject
22596
+ */
22597
+ title: string;
22598
+ }
22599
+ interface AlarmContentTemplateTypeEmail {
22600
+ /**
22601
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22602
+ */
22603
+ content: string;
22604
+ /**
22605
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22606
+ */
22607
+ locale: string;
22608
+ /**
22609
+ * Email notification subject
22610
+ */
22611
+ subject: string;
22612
+ }
22613
+ interface AlarmContentTemplateTypeLark {
22614
+ /**
22615
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22616
+ */
22617
+ content: string;
22618
+ /**
22619
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22620
+ */
22621
+ locale: string;
22622
+ /**
22623
+ * Alert notification subject
22624
+ */
22625
+ title: string;
22626
+ }
22627
+ interface AlarmContentTemplateTypeSms {
22628
+ /**
22629
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22630
+ */
22631
+ content: string;
22632
+ /**
22633
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22634
+ */
22635
+ locale: string;
22636
+ }
22637
+ interface AlarmContentTemplateTypeVms {
22638
+ /**
22639
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22640
+ */
22641
+ content: string;
22642
+ /**
22643
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22644
+ */
22645
+ locale: string;
22646
+ }
22647
+ interface AlarmContentTemplateTypeWeChat {
22648
+ /**
22649
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22650
+ */
22651
+ content: string;
22652
+ /**
22653
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
22654
+ */
22655
+ locale: string;
22656
+ /**
22657
+ * Alert notification subject
22658
+ */
22659
+ title: string;
22660
+ }
22661
+ interface AlarmContentTemplateTypeWebhook {
22662
+ /**
22663
+ * Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
22664
+ */
22665
+ content: string;
22666
+ }
22276
22667
  interface AlarmJoinConfiguration {
22277
22668
  /**
22278
22669
  * Expression used for left join or right join.
@@ -22764,6 +23155,88 @@ export declare namespace tls {
22764
23155
  */
22765
23156
  sms: number;
22766
23157
  }
23158
+ interface GetAlarmContentTemplateTypeDingTalk {
23159
+ /**
23160
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23161
+ */
23162
+ content: string;
23163
+ /**
23164
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23165
+ */
23166
+ locale: string;
23167
+ /**
23168
+ * Alert notification subject
23169
+ */
23170
+ title: string;
23171
+ }
23172
+ interface GetAlarmContentTemplateTypeEmail {
23173
+ /**
23174
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23175
+ */
23176
+ content: string;
23177
+ /**
23178
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23179
+ */
23180
+ locale: string;
23181
+ /**
23182
+ * Email notification subject
23183
+ */
23184
+ subject: string;
23185
+ }
23186
+ interface GetAlarmContentTemplateTypeLark {
23187
+ /**
23188
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23189
+ */
23190
+ content: string;
23191
+ /**
23192
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23193
+ */
23194
+ locale: string;
23195
+ /**
23196
+ * Alert notification subject
23197
+ */
23198
+ title: string;
23199
+ }
23200
+ interface GetAlarmContentTemplateTypeSms {
23201
+ /**
23202
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23203
+ */
23204
+ content: string;
23205
+ /**
23206
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23207
+ */
23208
+ locale: string;
23209
+ }
23210
+ interface GetAlarmContentTemplateTypeVms {
23211
+ /**
23212
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23213
+ */
23214
+ content: string;
23215
+ /**
23216
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23217
+ */
23218
+ locale: string;
23219
+ }
23220
+ interface GetAlarmContentTemplateTypeWeChat {
23221
+ /**
23222
+ * Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23223
+ */
23224
+ content: string;
23225
+ /**
23226
+ * The language for fixed content in alert notifications. Available values: zh-CN, en-US.
23227
+ */
23228
+ locale: string;
23229
+ /**
23230
+ * Alert notification subject
23231
+ */
23232
+ title: string;
23233
+ }
23234
+ interface GetAlarmContentTemplateTypeWebhook {
23235
+ /**
23236
+ * Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
23237
+ */
23238
+ content: string;
23239
+ }
22767
23240
  interface GetAlarmJoinConfiguration {
22768
23241
  /**
22769
23242
  * Expression used for left join or right join.