@azure/arm-resourceconnector 1.0.0-beta.2 → 1.0.0-beta.3

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 (70) hide show
  1. package/CHANGELOG.md +2 -12
  2. package/README.md +1 -1
  3. package/dist/index.js +264 -126
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/appliancesDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/appliancesGetSample.js +1 -1
  10. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js +37 -0
  13. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js.map +1 -0
  14. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +1 -1
  15. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +13 -6
  16. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -1
  17. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +13 -6
  18. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -1
  19. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +1 -1
  20. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/{appliancesListClusterCustomerUserCredentialSample.js → appliancesListKeysSample.js} +7 -7
  23. package/dist-esm/samples-dev/appliancesListKeysSample.js.map +1 -0
  24. package/dist-esm/samples-dev/appliancesListOperationsSample.js +13 -6
  25. package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -1
  26. package/dist-esm/samples-dev/appliancesUpdateSample.js +1 -1
  27. package/dist-esm/src/lroImpl.d.ts +6 -11
  28. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  29. package/dist-esm/src/lroImpl.js +12 -20
  30. package/dist-esm/src/lroImpl.js.map +1 -1
  31. package/dist-esm/src/models/index.d.ts +170 -72
  32. package/dist-esm/src/models/index.d.ts.map +1 -1
  33. package/dist-esm/src/models/index.js +30 -0
  34. package/dist-esm/src/models/index.js.map +1 -1
  35. package/dist-esm/src/models/mappers.d.ts +6 -4
  36. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  37. package/dist-esm/src/models/mappers.js +125 -63
  38. package/dist-esm/src/models/mappers.js.map +1 -1
  39. package/dist-esm/src/models/parameters.js +1 -1
  40. package/dist-esm/src/models/parameters.js.map +1 -1
  41. package/dist-esm/src/operations/appliances.d.ts +13 -8
  42. package/dist-esm/src/operations/appliances.d.ts.map +1 -1
  43. package/dist-esm/src/operations/appliances.js +91 -39
  44. package/dist-esm/src/operations/appliances.js.map +1 -1
  45. package/dist-esm/src/operationsInterfaces/appliances.d.ts +13 -8
  46. package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +1 -1
  47. package/dist-esm/src/resourceConnectorManagementClient.js +2 -2
  48. package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -1
  49. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts +4 -0
  50. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts.map +1 -0
  51. package/dist-esm/test/resourceconnnector__operations_test.spec.js +123 -0
  52. package/dist-esm/test/resourceconnnector__operations_test.spec.js.map +1 -0
  53. package/package.json +11 -11
  54. package/review/arm-resourceconnector.api.md +62 -18
  55. package/src/lroImpl.ts +31 -23
  56. package/src/models/index.ts +156 -54
  57. package/src/models/mappers.ts +127 -64
  58. package/src/models/parameters.ts +1 -1
  59. package/src/operations/appliances.ts +80 -41
  60. package/src/operationsInterfaces/appliances.ts +23 -14
  61. package/src/resourceConnectorManagementClient.ts +2 -2
  62. package/types/arm-resourceconnector.d.ts +146 -37
  63. package/types/tsdoc-metadata.json +1 -1
  64. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts +0 -2
  65. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts.map +0 -1
  66. package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js.map +0 -1
  67. package/dist-esm/test/sampleTest.d.ts +0 -2
  68. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  69. package/dist-esm/test/sampleTest.js +0 -38
  70. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /**
8
8
  * Defines values for AccessProfileType. \
@@ -18,11 +18,6 @@ export declare type AccessProfileType = string;
18
18
  export declare interface Appliance extends TrackedResource {
19
19
  /** Identity for the resource. */
20
20
  identity?: Identity;
21
- /**
22
- * Metadata pertaining to creation and last modification of the resource
23
- * NOTE: This property will not be serialized. It can only be populated by the server.
24
- */
25
- readonly systemData?: SystemData;
26
21
  /** Represents a supported Fabric/Infra. (AKSEdge etc...). */
27
22
  distro?: Distro;
28
23
  /** Contains infrastructure information about the Appliance */
@@ -32,7 +27,7 @@ export declare interface Appliance extends TrackedResource {
32
27
  * NOTE: This property will not be serialized. It can only be populated by the server.
33
28
  */
34
29
  readonly provisioningState?: string;
35
- /** Certificates pair used to download MSI certificate from HIS */
30
+ /** Certificates pair used to download MSI certificate from HIS. Can only be set once. */
36
31
  publicKey?: string;
37
32
  /**
38
33
  * Appliance’s health and state of connection to on-prem
@@ -57,20 +52,13 @@ export declare interface ApplianceCredentialKubeconfig {
57
52
  readonly value?: string;
58
53
  }
59
54
 
60
- /** The List Cluster Customer User Credential Results appliance. */
61
- export declare interface ApplianceListClusterCustomerUserCredentialResults {
62
- /**
63
- * The list of appliance kubeconfigs.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
55
+ /** The Get Telemetry Config Result appliance. */
56
+ export declare interface ApplianceGetTelemetryConfigResult {
67
57
  /**
68
- * Map of Customer User Public and Private SSH Keys
58
+ * Telemetry instrumentation key.
69
59
  * NOTE: This property will not be serialized. It can only be populated by the server.
70
60
  */
71
- readonly sshKeys?: {
72
- [propertyName: string]: SSHKey;
73
- };
61
+ readonly telemetryInstrumentationKey?: string;
74
62
  }
75
63
 
76
64
  /** The List Cluster User Credential appliance. */
@@ -87,6 +75,29 @@ export declare interface ApplianceListCredentialResults {
87
75
  readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
88
76
  }
89
77
 
78
+ /** The List Cluster Keys Results appliance. */
79
+ export declare interface ApplianceListKeysResults {
80
+ /**
81
+ * Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly artifactProfiles?: {
85
+ [propertyName: string]: ArtifactProfile;
86
+ };
87
+ /**
88
+ * The list of appliance kubeconfigs.
89
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
+ */
91
+ readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
92
+ /**
93
+ * Map of Customer User Public, Private SSH Keys and Certificate when available.
94
+ * NOTE: This property will not be serialized. It can only be populated by the server.
95
+ */
96
+ readonly sshKeys?: {
97
+ [propertyName: string]: SSHKey;
98
+ };
99
+ }
100
+
90
101
  /** The List Appliances operation response. */
91
102
  export declare interface ApplianceListResult {
92
103
  /**
@@ -174,6 +185,11 @@ export declare interface Appliances {
174
185
  * @param options The options parameters.
175
186
  */
176
187
  listByResourceGroup(resourceGroupName: string, options?: AppliancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Appliance>;
188
+ /**
189
+ * Gets the telemetry config.
190
+ * @param options The options parameters.
191
+ */
192
+ getTelemetryConfig(options?: AppliancesGetTelemetryConfigOptionalParams): Promise<AppliancesGetTelemetryConfigResponse>;
177
193
  /**
178
194
  * Gets the details of an Appliance with a specified resource group and name.
179
195
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -188,7 +204,7 @@ export declare interface Appliances {
188
204
  * @param parameters Parameters supplied to create or update an Appliance.
189
205
  * @param options The options parameters.
190
206
  */
191
- beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: Appliance, options?: AppliancesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AppliancesCreateOrUpdateResponse>, AppliancesCreateOrUpdateResponse>>;
207
+ beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: Appliance, options?: AppliancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AppliancesCreateOrUpdateResponse>, AppliancesCreateOrUpdateResponse>>;
192
208
  /**
193
209
  * Creates or updates an Appliance in the specified Subscription and Resource Group.
194
210
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -203,7 +219,7 @@ export declare interface Appliances {
203
219
  * @param resourceName Appliances name.
204
220
  * @param options The options parameters.
205
221
  */
206
- beginDelete(resourceGroupName: string, resourceName: string, options?: AppliancesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
222
+ beginDelete(resourceGroupName: string, resourceName: string, options?: AppliancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
207
223
  /**
208
224
  * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
209
225
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -220,19 +236,19 @@ export declare interface Appliances {
220
236
  */
221
237
  update(resourceGroupName: string, resourceName: string, options?: AppliancesUpdateOptionalParams): Promise<AppliancesUpdateResponse>;
222
238
  /**
223
- * Returns the cluster customer user credentials for the dedicated appliance.
239
+ * Returns the cluster user credentials for the dedicated appliance.
224
240
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
225
241
  * @param resourceName Appliances name.
226
242
  * @param options The options parameters.
227
243
  */
228
- listClusterCustomerUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterCustomerUserCredentialOptionalParams): Promise<AppliancesListClusterCustomerUserCredentialResponse>;
244
+ listClusterUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterUserCredentialOptionalParams): Promise<AppliancesListClusterUserCredentialResponse>;
229
245
  /**
230
- * Returns the cluster user credentials for the dedicated appliance.
246
+ * Returns the cluster customer credentials for the dedicated appliance.
231
247
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
232
248
  * @param resourceName Appliances name.
233
249
  * @param options The options parameters.
234
250
  */
235
- listClusterUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterUserCredentialOptionalParams): Promise<AppliancesListClusterUserCredentialResponse>;
251
+ listKeys(resourceGroupName: string, resourceName: string, options?: AppliancesListKeysOptionalParams): Promise<AppliancesListKeysResponse>;
236
252
  /**
237
253
  * Gets the upgrade graph of an Appliance with a specified resource group and name and specific release
238
254
  * train.
@@ -270,6 +286,13 @@ export declare interface AppliancesGetOptionalParams extends coreClient.Operatio
270
286
  /** Contains response data for the get operation. */
271
287
  export declare type AppliancesGetResponse = Appliance;
272
288
 
289
+ /** Optional parameters. */
290
+ export declare interface AppliancesGetTelemetryConfigOptionalParams extends coreClient.OperationOptions {
291
+ }
292
+
293
+ /** Contains response data for the getTelemetryConfig operation. */
294
+ export declare type AppliancesGetTelemetryConfigResponse = ApplianceGetTelemetryConfigResult;
295
+
273
296
  /** Optional parameters. */
274
297
  export declare interface AppliancesGetUpgradeGraphOptionalParams extends coreClient.OperationOptions {
275
298
  }
@@ -306,18 +329,18 @@ export declare interface AppliancesListBySubscriptionOptionalParams extends core
306
329
  export declare type AppliancesListBySubscriptionResponse = ApplianceListResult;
307
330
 
308
331
  /** Optional parameters. */
309
- export declare interface AppliancesListClusterCustomerUserCredentialOptionalParams extends coreClient.OperationOptions {
332
+ export declare interface AppliancesListClusterUserCredentialOptionalParams extends coreClient.OperationOptions {
310
333
  }
311
334
 
312
- /** Contains response data for the listClusterCustomerUserCredential operation. */
313
- export declare type AppliancesListClusterCustomerUserCredentialResponse = ApplianceListClusterCustomerUserCredentialResults;
335
+ /** Contains response data for the listClusterUserCredential operation. */
336
+ export declare type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
314
337
 
315
338
  /** Optional parameters. */
316
- export declare interface AppliancesListClusterUserCredentialOptionalParams extends coreClient.OperationOptions {
339
+ export declare interface AppliancesListKeysOptionalParams extends coreClient.OperationOptions {
317
340
  }
318
341
 
319
- /** Contains response data for the listClusterUserCredential operation. */
320
- export declare type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
342
+ /** Contains response data for the listKeys operation. */
343
+ export declare type AppliancesListKeysResponse = ApplianceListKeysResults;
321
344
 
322
345
  /** Optional parameters. */
323
346
  export declare interface AppliancesListOperationsNextOptionalParams extends coreClient.OperationOptions {
@@ -344,6 +367,24 @@ export declare interface AppliancesUpdateOptionalParams extends coreClient.Opera
344
367
  /** Contains response data for the update operation. */
345
368
  export declare type AppliancesUpdateResponse = Appliance;
346
369
 
370
+ /** Appliance ArtifactProfile definition. */
371
+ export declare interface ArtifactProfile {
372
+ /**
373
+ * Endpoint is the URL to upload artifacts to.
374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
375
+ */
376
+ readonly endpoint?: string;
377
+ }
378
+
379
+ /**
380
+ * Defines values for ArtifactType. \
381
+ * {@link KnownArtifactType} can be used interchangeably with ArtifactType,
382
+ * this enum contains the known values that the service supports.
383
+ * ### Known values supported by the service
384
+ * **LogsArtifactType**
385
+ */
386
+ export declare type ArtifactType = string;
387
+
347
388
  /**
348
389
  * Defines values for CreatedByType. \
349
390
  * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
@@ -471,6 +512,12 @@ export declare enum KnownAccessProfileType {
471
512
  ClusterCustomerUser = "clusterCustomerUser"
472
513
  }
473
514
 
515
+ /** Known values of {@link ArtifactType} that the service accepts. */
516
+ export declare enum KnownArtifactType {
517
+ /** LogsArtifactType */
518
+ LogsArtifactType = "LogsArtifactType"
519
+ }
520
+
474
521
  /** Known values of {@link CreatedByType} that the service accepts. */
475
522
  export declare enum KnownCreatedByType {
476
523
  /** User */
@@ -514,7 +561,13 @@ export declare enum KnownResourceIdentityType {
514
561
  /** Known values of {@link SSHKeyType} that the service accepts. */
515
562
  export declare enum KnownSSHKeyType {
516
563
  /** SSHCustomerUser */
517
- SSHCustomerUser = "SSHCustomerUser"
564
+ SSHCustomerUser = "SSHCustomerUser",
565
+ /** ManagementCAKey */
566
+ ManagementCAKey = "ManagementCAKey",
567
+ /** LogsKey */
568
+ LogsKey = "LogsKey",
569
+ /** ScopedAccessKey */
570
+ ScopedAccessKey = "ScopedAccessKey"
518
571
  }
519
572
 
520
573
  /** Known values of {@link Status} that the service accepts. */
@@ -535,6 +588,24 @@ export declare enum KnownStatus {
535
588
  UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
536
589
  /** PreUpgrade */
537
590
  PreUpgrade = "PreUpgrade",
591
+ /** UpgradingKvaio */
592
+ UpgradingKvaio = "UpgradingKVAIO",
593
+ /** WaitingForKvaio */
594
+ WaitingForKvaio = "WaitingForKVAIO",
595
+ /** ImagePending */
596
+ ImagePending = "ImagePending",
597
+ /** ImageProvisioning */
598
+ ImageProvisioning = "ImageProvisioning",
599
+ /** ImageProvisioned */
600
+ ImageProvisioned = "ImageProvisioned",
601
+ /** ImageDownloading */
602
+ ImageDownloading = "ImageDownloading",
603
+ /** ImageDownloaded */
604
+ ImageDownloaded = "ImageDownloaded",
605
+ /** ImageDeprovisioning */
606
+ ImageDeprovisioning = "ImageDeprovisioning",
607
+ /** ImageUnknown */
608
+ ImageUnknown = "ImageUnknown",
538
609
  /** UpdatingCloudOperator */
539
610
  UpdatingCloudOperator = "UpdatingCloudOperator",
540
611
  /** WaitingForCloudOperator */
@@ -595,6 +666,11 @@ export declare interface Resource {
595
666
  * NOTE: This property will not be serialized. It can only be populated by the server.
596
667
  */
597
668
  readonly type?: string;
669
+ /**
670
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
671
+ * NOTE: This property will not be serialized. It can only be populated by the server.
672
+ */
673
+ readonly systemData?: SystemData;
598
674
  }
599
675
 
600
676
  export declare class ResourceConnectorManagementClient extends coreClient.ServiceClient {
@@ -635,10 +711,31 @@ export declare type ResourceIdentityType = string;
635
711
 
636
712
  /** Appliance SSHKey definition. */
637
713
  export declare interface SSHKey {
638
- /** User Private Key. */
639
- privateKey?: string;
640
- /** User Public Key. */
641
- publicKey?: string;
714
+ /**
715
+ * Certificate associated with the public key if the key is signed.
716
+ * NOTE: This property will not be serialized. It can only be populated by the server.
717
+ */
718
+ readonly certificate?: string;
719
+ /**
720
+ * Certificate creation timestamp (Unix).
721
+ * NOTE: This property will not be serialized. It can only be populated by the server.
722
+ */
723
+ readonly creationTimeStamp?: number;
724
+ /**
725
+ * Certificate expiration timestamp (Unix).
726
+ * NOTE: This property will not be serialized. It can only be populated by the server.
727
+ */
728
+ readonly expirationTimeStamp?: number;
729
+ /**
730
+ * Private Key.
731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
732
+ */
733
+ readonly privateKey?: string;
734
+ /**
735
+ * Public Key.
736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
737
+ */
738
+ readonly publicKey?: string;
642
739
  }
643
740
 
644
741
  /**
@@ -646,7 +743,10 @@ export declare interface SSHKey {
646
743
  * {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,
647
744
  * this enum contains the known values that the service supports.
648
745
  * ### Known values supported by the service
649
- * **SSHCustomerUser**
746
+ * **SSHCustomerUser** \
747
+ * **ManagementCAKey** \
748
+ * **LogsKey** \
749
+ * **ScopedAccessKey**
650
750
  */
651
751
  export declare type SSHKeyType = string;
652
752
 
@@ -663,6 +763,15 @@ export declare type SSHKeyType = string;
663
763
  * **PreparingForUpgrade** \
664
764
  * **UpgradePrerequisitesCompleted** \
665
765
  * **PreUpgrade** \
766
+ * **UpgradingKVAIO** \
767
+ * **WaitingForKVAIO** \
768
+ * **ImagePending** \
769
+ * **ImageProvisioning** \
770
+ * **ImageProvisioned** \
771
+ * **ImageDownloading** \
772
+ * **ImageDownloaded** \
773
+ * **ImageDeprovisioning** \
774
+ * **ImageUnknown** \
666
775
  * **UpdatingCloudOperator** \
667
776
  * **WaitingForCloudOperator** \
668
777
  * **UpdatingCAPI** \
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.2"
8
+ "packageVersion": "7.34.4"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=appliancesListClusterCustomerUserCredentialSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appliancesListClusterCustomerUserCredentialSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appliancesListClusterCustomerUserCredentialSample.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"appliancesListClusterCustomerUserCredentialSample.js","sourceRoot":"","sources":["../../samples-dev/appliancesListClusterCustomerUserCredentialSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0CAA0C;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,mBAAmB,CAAC;QACzE,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,iCAAiC,CACtE,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sampleTest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- import { Recorder } from "@azure-tools/test-recorder";
10
- const replaceableVariables = {
11
- AZURE_CLIENT_ID: "azure_client_id",
12
- AZURE_CLIENT_SECRET: "azure_client_secret",
13
- AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
14
- SUBSCRIPTION_ID: "azure_subscription_id"
15
- };
16
- const recorderOptions = {
17
- envSetupForPlayback: replaceableVariables
18
- };
19
- describe("My test", () => {
20
- let recorder;
21
- beforeEach(function () {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- recorder = new Recorder(this.currentTest);
24
- yield recorder.start(recorderOptions);
25
- });
26
- });
27
- afterEach(function () {
28
- return __awaiter(this, void 0, void 0, function* () {
29
- yield recorder.stop();
30
- });
31
- });
32
- it("sample test", function () {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- console.log("Hi, I'm a test!");
35
- });
36
- });
37
- });
38
- //# sourceMappingURL=sampleTest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}