oci-loadbalancer 2.142.0 → 2.142.2

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.
@@ -257,28 +257,6 @@ Oracle created the following predefined cipher suites that you can specify when
257
257
  *
258
258
  */
259
259
  export interface CreateSSLCipherSuiteDetails {
260
- /**
261
- * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
262
- * <p>
263
- **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
264
- * reserved SSL cipher suite names:
265
- * <p>
266
- * oci-default-ssl-cipher-suite-v1
267
- * * oci-modern-ssl-cipher-suite-v1
268
- * * oci-compatible-ssl-cipher-suite-v1
269
- * * oci-wider-compatible-ssl-cipher-suite-v1
270
- * * oci-customized-ssl-cipher-suite
271
- * * oci-default-http2-ssl-cipher-suite-v1
272
- * * oci-default-http2-tls-13-ssl-cipher-suite-v1
273
- * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
274
- * * oci-tls-13-recommended-ssl-cipher-suite-v1
275
- * * oci-tls-12-13-wider-ssl-cipher-suite-v1
276
- * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
277
- * <p>
278
- example: {@code example_cipher_suite}
279
- *
280
- */
281
- "name": string;
282
260
  /**
283
261
  * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.
284
262
  * <p>
@@ -397,6 +375,28 @@ export interface CreateSSLCipherSuiteDetails {
397
375
  *
398
376
  */
399
377
  "ciphers": Array<string>;
378
+ /**
379
+ * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
380
+ * <p>
381
+ **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
382
+ * reserved SSL cipher suite names:
383
+ * <p>
384
+ * oci-default-ssl-cipher-suite-v1
385
+ * * oci-modern-ssl-cipher-suite-v1
386
+ * * oci-compatible-ssl-cipher-suite-v1
387
+ * * oci-wider-compatible-ssl-cipher-suite-v1
388
+ * * oci-customized-ssl-cipher-suite
389
+ * * oci-default-http2-ssl-cipher-suite-v1
390
+ * * oci-default-http2-tls-13-ssl-cipher-suite-v1
391
+ * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
392
+ * * oci-tls-13-recommended-ssl-cipher-suite-v1
393
+ * * oci-tls-12-13-wider-ssl-cipher-suite-v1
394
+ * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
395
+ * <p>
396
+ example: {@code example_cipher_suite}
397
+ *
398
+ */
399
+ "name": string;
400
400
  }
401
401
  export declare namespace CreateSSLCipherSuiteDetails {
402
402
  function getJsonObj(obj: CreateSSLCipherSuiteDetails): object;
@@ -257,28 +257,6 @@ Oracle created the following predefined cipher suites that you can specify when
257
257
  *
258
258
  */
259
259
  export interface SSLCipherSuiteDetails {
260
- /**
261
- * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
262
- * <p>
263
- **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
264
- * reserved SSL cipher suite names:
265
- * <p>
266
- * oci-default-ssl-cipher-suite-v1
267
- * * oci-modern-ssl-cipher-suite-v1
268
- * * oci-compatible-ssl-cipher-suite-v1
269
- * * oci-wider-compatible-ssl-cipher-suite-v1
270
- * * oci-customized-ssl-cipher-suite
271
- * * oci-default-http2-ssl-cipher-suite-v1
272
- * * oci-default-http2-tls-13-ssl-cipher-suite-v1
273
- * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
274
- * * oci-tls-13-recommended-ssl-cipher-suite-v1
275
- * * oci-tls-12-13-wider-ssl-cipher-suite-v1
276
- * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
277
- * <p>
278
- example: {@code example_cipher_suite}
279
- *
280
- */
281
- "name": string;
282
260
  /**
283
261
  * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.
284
262
  * <p>
@@ -397,6 +375,28 @@ export interface SSLCipherSuiteDetails {
397
375
  *
398
376
  */
399
377
  "ciphers": Array<string>;
378
+ /**
379
+ * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
380
+ * <p>
381
+ **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
382
+ * reserved SSL cipher suite names:
383
+ * <p>
384
+ * oci-default-ssl-cipher-suite-v1
385
+ * * oci-modern-ssl-cipher-suite-v1
386
+ * * oci-compatible-ssl-cipher-suite-v1
387
+ * * oci-wider-compatible-ssl-cipher-suite-v1
388
+ * * oci-customized-ssl-cipher-suite
389
+ * * oci-default-http2-ssl-cipher-suite-v1
390
+ * * oci-default-http2-tls-13-ssl-cipher-suite-v1
391
+ * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
392
+ * * oci-tls-13-recommended-ssl-cipher-suite-v1
393
+ * * oci-tls-12-13-wider-ssl-cipher-suite-v1
394
+ * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
395
+ * <p>
396
+ example: {@code example_cipher_suite}
397
+ *
398
+ */
399
+ "name": string;
400
400
  }
401
401
  export declare namespace SSLCipherSuiteDetails {
402
402
  function getJsonObj(obj: SSLCipherSuiteDetails): object;
@@ -257,28 +257,6 @@ Oracle created the following predefined cipher suites that you can specify when
257
257
  *
258
258
  */
259
259
  export interface SSLCipherSuite {
260
- /**
261
- * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
262
- * <p>
263
- **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
264
- * reserved SSL cipher suite names:
265
- * <p>
266
- * oci-default-ssl-cipher-suite-v1
267
- * * oci-modern-ssl-cipher-suite-v1
268
- * * oci-compatible-ssl-cipher-suite-v1
269
- * * oci-wider-compatible-ssl-cipher-suite-v1
270
- * * oci-customized-ssl-cipher-suite
271
- * * oci-default-http2-ssl-cipher-suite-v1
272
- * * oci-default-http2-tls-13-ssl-cipher-suite-v1
273
- * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
274
- * * oci-tls-13-recommended-ssl-cipher-suite-v1
275
- * * oci-tls-12-13-wider-ssl-cipher-suite-v1
276
- * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
277
- * <p>
278
- example: {@code example_cipher_suite}
279
- *
280
- */
281
- "name": string;
282
260
  /**
283
261
  * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.
284
262
  * <p>
@@ -397,6 +375,28 @@ export interface SSLCipherSuite {
397
375
  *
398
376
  */
399
377
  "ciphers": Array<string>;
378
+ /**
379
+ * A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
380
+ * <p>
381
+ **Note:** The name of your user-defined cipher suite must not be the same as any of Oracle's predefined or
382
+ * reserved SSL cipher suite names:
383
+ * <p>
384
+ * oci-default-ssl-cipher-suite-v1
385
+ * * oci-modern-ssl-cipher-suite-v1
386
+ * * oci-compatible-ssl-cipher-suite-v1
387
+ * * oci-wider-compatible-ssl-cipher-suite-v1
388
+ * * oci-customized-ssl-cipher-suite
389
+ * * oci-default-http2-ssl-cipher-suite-v1
390
+ * * oci-default-http2-tls-13-ssl-cipher-suite-v1
391
+ * * oci-default-http2-tls-12-13-ssl-cipher-suite-v1
392
+ * * oci-tls-13-recommended-ssl-cipher-suite-v1
393
+ * * oci-tls-12-13-wider-ssl-cipher-suite-v1
394
+ * * oci-tls-11-12-13-wider-ssl-cipher-suite-v1
395
+ * <p>
396
+ example: {@code example_cipher_suite}
397
+ *
398
+ */
399
+ "name": string;
400
400
  }
401
401
  export declare namespace SSLCipherSuite {
402
402
  function getJsonObj(obj: SSLCipherSuite): object;
@@ -19,53 +19,6 @@ information, see [Overview of Load Balancing](https://docs.oracle.com/iaas/Conte
19
19
  *
20
20
  */
21
21
  export interface SSLConfigurationDetails {
22
- /**
23
- * The maximum depth for peer certificate chain verification.
24
- * <p>
25
- Example: {@code 3}
26
- * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
- */
28
- "verifyDepth"?: number;
29
- /**
30
- * Whether the load balancer listener should verify peer certificates.
31
- * <p>
32
- Example: {@code true}
33
- *
34
- */
35
- "verifyPeerCertificate"?: boolean;
36
- /**
37
- * Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
38
- * If \"true\", the service resumes the previous TLS encrypted session.
39
- * If \"false\", the service starts a new TLS encrypted session.
40
- * Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
41
- * <p>
42
- Example: {@code true}
43
- *
44
- */
45
- "hasSessionResumption"?: boolean;
46
- /**
47
- * Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
48
- * <p>
49
- Example: {@code [ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]}
50
- *
51
- */
52
- "trustedCertificateAuthorityIds"?: Array<string>;
53
- /**
54
- * Ids for OCI certificates service certificates. Currently only a single Id may be passed.
55
- * <p>
56
- Example: {@code [ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]}
57
- *
58
- */
59
- "certificateIds"?: Array<string>;
60
- /**
61
- * A friendly name for the certificate bundle. It must be unique and it cannot be changed.
62
- * Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
63
- * Certificate bundle names cannot contain spaces. Avoid entering confidential information.
64
- * <p>
65
- Example: {@code example_certificate_bundle}
66
- *
67
- */
68
- "certificateName"?: string;
69
22
  /**
70
23
  * A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
71
24
  * <p>
@@ -133,6 +86,53 @@ export interface SSLConfigurationDetails {
133
86
  *
134
87
  */
135
88
  "serverOrderPreference"?: SSLConfigurationDetails.ServerOrderPreference;
89
+ /**
90
+ * A friendly name for the certificate bundle. It must be unique and it cannot be changed.
91
+ * Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
92
+ * Certificate bundle names cannot contain spaces. Avoid entering confidential information.
93
+ * <p>
94
+ Example: {@code example_certificate_bundle}
95
+ *
96
+ */
97
+ "certificateName"?: string;
98
+ /**
99
+ * Ids for OCI certificates service certificates. Currently only a single Id may be passed.
100
+ * <p>
101
+ Example: {@code [ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]}
102
+ *
103
+ */
104
+ "certificateIds"?: Array<string>;
105
+ /**
106
+ * Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
107
+ * <p>
108
+ Example: {@code [ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]}
109
+ *
110
+ */
111
+ "trustedCertificateAuthorityIds"?: Array<string>;
112
+ /**
113
+ * Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
114
+ * If \"true\", the service resumes the previous TLS encrypted session.
115
+ * If \"false\", the service starts a new TLS encrypted session.
116
+ * Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
117
+ * <p>
118
+ Example: {@code true}
119
+ *
120
+ */
121
+ "hasSessionResumption"?: boolean;
122
+ /**
123
+ * Whether the load balancer listener should verify peer certificates.
124
+ * <p>
125
+ Example: {@code true}
126
+ *
127
+ */
128
+ "verifyPeerCertificate"?: boolean;
129
+ /**
130
+ * The maximum depth for peer certificate chain verification.
131
+ * <p>
132
+ Example: {@code 3}
133
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
134
+ */
135
+ "verifyDepth"?: number;
136
136
  }
137
137
  export declare namespace SSLConfigurationDetails {
138
138
  enum ServerOrderPreference {
@@ -22,61 +22,34 @@ To use SSL, a listener must be associated with a {@link Certificate}.
22
22
  */
23
23
  export interface SSLConfiguration {
24
24
  /**
25
- * The maximum depth for peer certificate chain verification.
25
+ * A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
26
26
  * <p>
27
- Example: {@code 3}
28
- * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
29
- */
30
- "verifyDepth": number;
31
- /**
32
- * Whether the load balancer listener should verify peer certificates.
27
+ The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure
28
+ * connection ensures that all data passed between the client and the server is private.
33
29
  * <p>
34
- Example: {@code true}
35
- *
36
- */
37
- "verifyPeerCertificate": boolean;
38
- /**
39
- * Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
40
- * If \"true\", the service resumes the previous TLS encrypted session.
41
- * If \"false\", the service starts a new TLS encrypted session.
42
- * Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
30
+ The Load Balancing service supports the following protocols:
43
31
  * <p>
44
- Example: {@code true}
45
- *
46
- */
47
- "hasSessionResumption"?: boolean;
48
- /**
49
- * Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
32
+ * TLSv1
33
+ * * TLSv1.1
34
+ * * TLSv1.2
35
+ * * TLSv1.3
50
36
  * <p>
51
- Example: {@code [ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]}
52
- *
53
- */
54
- "trustedCertificateAuthorityIds"?: Array<string>;
55
- /**
56
- * Ids for OCI certificates service certificates. Currently only a single Id may be passed.
37
+ If this field is not specified, TLSv1.2 is the default.
57
38
  * <p>
58
- Example: {@code [ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]}
59
- *
60
- */
61
- "certificateIds"?: Array<string>;
62
- /**
63
- * A friendly name for the certificate bundle. It must be unique and it cannot be changed.
64
- * Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
65
- * Certificate bundle names cannot contain spaces. Avoid entering confidential information.
39
+ **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols.
66
40
  * <p>
67
- Example: {@code example_certificate_bundle}
41
+ **Notes:**
42
+ * <p>
43
+ * The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
44
+ * * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
45
+ * suite.
46
+ * * For all existing load balancer listeners and backend sets that predate this feature, the {@code GET} operation
47
+ * displays a list of SSL protocols currently used by those resources.
48
+ * <p>
49
+ example: {@code [\"TLSv1.1\", \"TLSv1.2\"]}
68
50
  *
69
51
  */
70
- "certificateName"?: string;
71
- /**
72
- * When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client
73
- * ciphers.
74
- * <p>
75
- **Note:** This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This
76
- * field is ignored when the {@code SSLConfiguration} object is associated with a backend set.
77
- *
78
- */
79
- "serverOrderPreference"?: SSLConfiguration.ServerOrderPreference;
52
+ "protocols"?: Array<string>;
80
53
  /**
81
54
  * The name of the cipher suite to use for HTTPS or SSL connections.
82
55
  * <p>
@@ -107,34 +80,61 @@ export interface SSLConfiguration {
107
80
  */
108
81
  "cipherSuiteName"?: string;
109
82
  /**
110
- * A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
111
- * <p>
112
- The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure
113
- * connection ensures that all data passed between the client and the server is private.
114
- * <p>
115
- The Load Balancing service supports the following protocols:
116
- * <p>
117
- * TLSv1
118
- * * TLSv1.1
119
- * * TLSv1.2
120
- * * TLSv1.3
83
+ * When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client
84
+ * ciphers.
85
+ * <p>
86
+ **Note:** This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This
87
+ * field is ignored when the {@code SSLConfiguration} object is associated with a backend set.
88
+ *
89
+ */
90
+ "serverOrderPreference"?: SSLConfiguration.ServerOrderPreference;
91
+ /**
92
+ * A friendly name for the certificate bundle. It must be unique and it cannot be changed.
93
+ * Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
94
+ * Certificate bundle names cannot contain spaces. Avoid entering confidential information.
121
95
  * <p>
122
- If this field is not specified, TLSv1.2 is the default.
96
+ Example: {@code example_certificate_bundle}
97
+ *
98
+ */
99
+ "certificateName"?: string;
100
+ /**
101
+ * Ids for OCI certificates service certificates. Currently only a single Id may be passed.
123
102
  * <p>
124
- **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols.
103
+ Example: {@code [ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]}
104
+ *
105
+ */
106
+ "certificateIds"?: Array<string>;
107
+ /**
108
+ * Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
125
109
  * <p>
126
- **Notes:**
110
+ Example: {@code [ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]}
111
+ *
112
+ */
113
+ "trustedCertificateAuthorityIds"?: Array<string>;
114
+ /**
115
+ * Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
116
+ * If \"true\", the service resumes the previous TLS encrypted session.
117
+ * If \"false\", the service starts a new TLS encrypted session.
118
+ * Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
127
119
  * <p>
128
- * The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
129
- * * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
130
- * suite.
131
- * * For all existing load balancer listeners and backend sets that predate this feature, the {@code GET} operation
132
- * displays a list of SSL protocols currently used by those resources.
120
+ Example: {@code true}
121
+ *
122
+ */
123
+ "hasSessionResumption"?: boolean;
124
+ /**
125
+ * Whether the load balancer listener should verify peer certificates.
133
126
  * <p>
134
- example: {@code [\"TLSv1.1\", \"TLSv1.2\"]}
127
+ Example: {@code true}
135
128
  *
136
129
  */
137
- "protocols"?: Array<string>;
130
+ "verifyPeerCertificate": boolean;
131
+ /**
132
+ * The maximum depth for peer certificate chain verification.
133
+ * <p>
134
+ Example: {@code 3}
135
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
136
+ */
137
+ "verifyDepth": number;
138
138
  }
139
139
  export declare namespace SSLConfiguration {
140
140
  enum ServerOrderPreference {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-loadbalancer",
3
- "version": "2.142.0",
3
+ "version": "2.142.2",
4
4
  "description": "OCI NodeJS client for Load Balancer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.142.0",
18
+ "oci-common": "2.142.2",
19
19
  "opossum": "5.0.1"
20
20
  },
21
21
  "publishConfig": {