@@ -8,6 +8,7 @@ Method | HTTP request | Description
8
8
[ ** createVaultKey** ] ( VaultApi.md#createVaultKey ) | ** POST** /vault/subscriptions/{subscriptionid}/encryptionkeys |
9
9
[ ** deleteConfiguration** ] ( VaultApi.md#deleteConfiguration ) | ** DELETE** /vault/subscriptions/{subscriptionid}/configurations/{configid} |
10
10
[ ** deleteVaultKey** ] ( VaultApi.md#deleteVaultKey ) | ** DELETE** /vault/subscriptions/{subscriptionid}/encryptionkeys/{keyid} |
11
+ [ ** enableEncryption** ] ( VaultApi.md#enableEncryption ) | ** POST** /vault/subscriptions/{subscriptionid}/encryption |
11
12
[ ** getExports** ] ( VaultApi.md#getExports ) | ** GET** /vault/subscriptions/{subscriptionid}/exports |
12
13
[ ** getRegistryData** ] ( VaultApi.md#getRegistryData ) | ** GET** /vault/subscriptions/{subscriptionid}/folders |
13
14
[ ** getReplays** ] ( VaultApi.md#getReplays ) | ** GET** /vault/subscriptions/{subscriptionid}/replays |
@@ -17,6 +18,7 @@ Method | HTTP request | Description
17
18
[ ** getVaultKeys** ] ( VaultApi.md#getVaultKeys ) | ** GET** /vault/subscriptions/{subscriptionid}/encryptionkeys |
18
19
[ ** getVaultMetrics** ] ( VaultApi.md#getVaultMetrics ) | ** GET** /vault/subscriptions/{subscriptionid}/metrics |
19
20
[ ** getVaultStatus** ] ( VaultApi.md#getVaultStatus ) | ** GET** /vault/subscriptions/{subscriptionid}/status |
21
+ [ ** setRetention** ] ( VaultApi.md#setRetention ) | ** POST** /vault/subscriptions/{subscriptionid}/retention |
20
22
[ ** startExport** ] ( VaultApi.md#startExport ) | ** POST** /vault/subscriptions/{subscriptionid}/exports |
21
23
[ ** startReplay** ] ( VaultApi.md#startReplay ) | ** POST** /vault/subscriptions/{subscriptionid}/replays |
22
24
@@ -250,6 +252,64 @@ Name | Type | Description | Notes
250
252
- ** Accept** : application/json
251
253
252
254
255
+ ## enableEncryption
256
+
257
+ > Frame enableEncryption(subscriptionid, opts)
258
+
259
+
260
+
261
+ Enable Encryption
262
+
263
+ ### Example
264
+
265
+ ``` javascript
266
+ import OmniCoreModelAndStateManagementApi from ' omni_core_model_and_state_management_api' ;
267
+ let defaultClient = OmniCoreModelAndStateManagementApi .ApiClient .instance ;
268
+ // Configure API key authorization: apiKey
269
+ let apiKey = defaultClient .authentications [' apiKey' ];
270
+ apiKey .apiKey = ' YOUR API KEY' ;
271
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
272
+ // apiKey.apiKeyPrefix = 'Token';
273
+ // Configure Bearer (JWT) access token for authorization: bearerAuth
274
+ let bearerAuth = defaultClient .authentications [' bearerAuth' ];
275
+ bearerAuth .accessToken = " YOUR ACCESS TOKEN"
276
+
277
+ let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi ();
278
+ let subscriptionid = " subscriptionid_example" ; // String | Subscription ID
279
+ let opts = {
280
+ ' enableEncryptionBody' : new OmniCoreModelAndStateManagementApi.EnableEncryptionBody () // EnableEncryptionBody | application/json
281
+ };
282
+ apiInstance .enableEncryption (subscriptionid, opts, (error , data , response ) => {
283
+ if (error) {
284
+ console .error (error);
285
+ } else {
286
+ console .log (' API called successfully. Returned data: ' + data);
287
+ }
288
+ });
289
+ ```
290
+
291
+ ### Parameters
292
+
293
+
294
+ Name | Type | Description | Notes
295
+ ------------- | ------------- | ------------- | -------------
296
+ ** subscriptionid** | ** String** | Subscription ID |
297
+ ** enableEncryptionBody** | [ ** EnableEncryptionBody** ] ( EnableEncryptionBody.md ) | application/json | [ optional]
298
+
299
+ ### Return type
300
+
301
+ [ ** Frame** ] ( Frame.md )
302
+
303
+ ### Authorization
304
+
305
+ [ apiKey] ( ../README.md#apiKey ) , [ bearerAuth] ( ../README.md#bearerAuth )
306
+
307
+ ### HTTP request headers
308
+
309
+ - ** Content-Type** : application/json
310
+ - ** Accept** : application/json
311
+
312
+
253
313
## getExports
254
314
255
315
> GetExportsResponse getExports(subscriptionid)
@@ -754,6 +814,64 @@ Name | Type | Description | Notes
754
814
- ** Accept** : application/json
755
815
756
816
817
+ ## setRetention
818
+
819
+ > Frame setRetention(subscriptionid, opts)
820
+
821
+
822
+
823
+ Set Retention Period
824
+
825
+ ### Example
826
+
827
+ ``` javascript
828
+ import OmniCoreModelAndStateManagementApi from ' omni_core_model_and_state_management_api' ;
829
+ let defaultClient = OmniCoreModelAndStateManagementApi .ApiClient .instance ;
830
+ // Configure API key authorization: apiKey
831
+ let apiKey = defaultClient .authentications [' apiKey' ];
832
+ apiKey .apiKey = ' YOUR API KEY' ;
833
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
834
+ // apiKey.apiKeyPrefix = 'Token';
835
+ // Configure Bearer (JWT) access token for authorization: bearerAuth
836
+ let bearerAuth = defaultClient .authentications [' bearerAuth' ];
837
+ bearerAuth .accessToken = " YOUR ACCESS TOKEN"
838
+
839
+ let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi ();
840
+ let subscriptionid = " subscriptionid_example" ; // String | Subscription ID
841
+ let opts = {
842
+ ' setRetentionBody' : new OmniCoreModelAndStateManagementApi.SetRetentionBody () // SetRetentionBody | application/json
843
+ };
844
+ apiInstance .setRetention (subscriptionid, opts, (error , data , response ) => {
845
+ if (error) {
846
+ console .error (error);
847
+ } else {
848
+ console .log (' API called successfully. Returned data: ' + data);
849
+ }
850
+ });
851
+ ```
852
+
853
+ ### Parameters
854
+
855
+
856
+ Name | Type | Description | Notes
857
+ ------------- | ------------- | ------------- | -------------
858
+ ** subscriptionid** | ** String** | Subscription ID |
859
+ ** setRetentionBody** | [ ** SetRetentionBody** ] ( SetRetentionBody.md ) | application/json | [ optional]
860
+
861
+ ### Return type
862
+
863
+ [ ** Frame** ] ( Frame.md )
864
+
865
+ ### Authorization
866
+
867
+ [ apiKey] ( ../README.md#apiKey ) , [ bearerAuth] ( ../README.md#bearerAuth )
868
+
869
+ ### HTTP request headers
870
+
871
+ - ** Content-Type** : application/json
872
+ - ** Accept** : application/json
873
+
874
+
757
875
## startExport
758
876
759
877
> Frame startExport(subscriptionid, opts)
0 commit comments