@azure/arm-resourceconnector 1.0.0-beta.1 → 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.
- package/CHANGELOG.md +1 -1
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +370 -164
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/appliancesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesGetSample.js +12 -4
- package/dist-esm/samples-dev/appliancesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js +37 -0
- package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +12 -4
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +24 -9
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +23 -8
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +12 -4
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{appliancesListClusterCustomerUserCredentialSample.js → appliancesListKeysSample.js} +17 -9
- package/dist-esm/samples-dev/appliancesListKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListOperationsSample.js +23 -8
- package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesUpdateSample.js +12 -4
- package/dist-esm/samples-dev/appliancesUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +170 -72
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +30 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -4
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +125 -63
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/appliances.d.ts +13 -8
- package/dist-esm/src/operations/appliances.d.ts.map +1 -1
- package/dist-esm/src/operations/appliances.js +146 -63
- package/dist-esm/src/operations/appliances.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/appliances.d.ts +13 -8
- package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +1 -1
- package/dist-esm/src/resourceConnectorManagementClient.js +21 -16
- package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -1
- package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts +4 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.js +123 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.js.map +1 -0
- package/package.json +15 -13
- package/review/arm-resourceconnector.api.md +65 -18
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +156 -54
- package/src/models/mappers.ts +127 -64
- package/src/models/parameters.ts +1 -1
- package/src/operations/appliances.ts +145 -68
- package/src/operationsInterfaces/appliances.ts +23 -14
- package/src/pagingHelper.ts +39 -0
- package/src/resourceConnectorManagementClient.ts +27 -18
- package/types/arm-resourceconnector.d.ts +155 -37
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts +0 -2
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- 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 {
|
|
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
|
|
61
|
-
export declare interface
|
|
55
|
+
/** The Get Telemetry Config Result appliance. */
|
|
56
|
+
export declare interface ApplianceGetTelemetryConfigResult {
|
|
62
57
|
/**
|
|
63
|
-
*
|
|
58
|
+
* Telemetry instrumentation key.
|
|
64
59
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
65
60
|
*/
|
|
66
|
-
readonly
|
|
67
|
-
/**
|
|
68
|
-
* Map of Customer User Public and Private SSH Keys
|
|
69
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
70
|
-
*/
|
|
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<
|
|
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<
|
|
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
|
|
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
|
-
|
|
244
|
+
listClusterUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterUserCredentialOptionalParams): Promise<AppliancesListClusterUserCredentialResponse>;
|
|
229
245
|
/**
|
|
230
|
-
* Returns the cluster
|
|
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
|
-
|
|
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
|
|
332
|
+
export declare interface AppliancesListClusterUserCredentialOptionalParams extends coreClient.OperationOptions {
|
|
310
333
|
}
|
|
311
334
|
|
|
312
|
-
/** Contains response data for the
|
|
313
|
-
export declare type
|
|
335
|
+
/** Contains response data for the listClusterUserCredential operation. */
|
|
336
|
+
export declare type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
|
|
314
337
|
|
|
315
338
|
/** Optional parameters. */
|
|
316
|
-
export declare interface
|
|
339
|
+
export declare interface AppliancesListKeysOptionalParams extends coreClient.OperationOptions {
|
|
317
340
|
}
|
|
318
341
|
|
|
319
|
-
/** Contains response data for the
|
|
320
|
-
export declare type
|
|
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,
|
|
@@ -414,6 +455,15 @@ export declare interface ErrorResponse {
|
|
|
414
455
|
error?: ErrorDetail;
|
|
415
456
|
}
|
|
416
457
|
|
|
458
|
+
/**
|
|
459
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
460
|
+
* returns a continuation token that can be used to begin paging from
|
|
461
|
+
* that point later.
|
|
462
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
463
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
464
|
+
*/
|
|
465
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
466
|
+
|
|
417
467
|
/** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */
|
|
418
468
|
export declare interface HybridConnectionConfig {
|
|
419
469
|
/**
|
|
@@ -462,6 +512,12 @@ export declare enum KnownAccessProfileType {
|
|
|
462
512
|
ClusterCustomerUser = "clusterCustomerUser"
|
|
463
513
|
}
|
|
464
514
|
|
|
515
|
+
/** Known values of {@link ArtifactType} that the service accepts. */
|
|
516
|
+
export declare enum KnownArtifactType {
|
|
517
|
+
/** LogsArtifactType */
|
|
518
|
+
LogsArtifactType = "LogsArtifactType"
|
|
519
|
+
}
|
|
520
|
+
|
|
465
521
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
466
522
|
export declare enum KnownCreatedByType {
|
|
467
523
|
/** User */
|
|
@@ -505,7 +561,13 @@ export declare enum KnownResourceIdentityType {
|
|
|
505
561
|
/** Known values of {@link SSHKeyType} that the service accepts. */
|
|
506
562
|
export declare enum KnownSSHKeyType {
|
|
507
563
|
/** SSHCustomerUser */
|
|
508
|
-
SSHCustomerUser = "SSHCustomerUser"
|
|
564
|
+
SSHCustomerUser = "SSHCustomerUser",
|
|
565
|
+
/** ManagementCAKey */
|
|
566
|
+
ManagementCAKey = "ManagementCAKey",
|
|
567
|
+
/** LogsKey */
|
|
568
|
+
LogsKey = "LogsKey",
|
|
569
|
+
/** ScopedAccessKey */
|
|
570
|
+
ScopedAccessKey = "ScopedAccessKey"
|
|
509
571
|
}
|
|
510
572
|
|
|
511
573
|
/** Known values of {@link Status} that the service accepts. */
|
|
@@ -526,6 +588,24 @@ export declare enum KnownStatus {
|
|
|
526
588
|
UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
|
|
527
589
|
/** PreUpgrade */
|
|
528
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",
|
|
529
609
|
/** UpdatingCloudOperator */
|
|
530
610
|
UpdatingCloudOperator = "UpdatingCloudOperator",
|
|
531
611
|
/** WaitingForCloudOperator */
|
|
@@ -586,6 +666,11 @@ export declare interface Resource {
|
|
|
586
666
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
587
667
|
*/
|
|
588
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;
|
|
589
674
|
}
|
|
590
675
|
|
|
591
676
|
export declare class ResourceConnectorManagementClient extends coreClient.ServiceClient {
|
|
@@ -626,10 +711,31 @@ export declare type ResourceIdentityType = string;
|
|
|
626
711
|
|
|
627
712
|
/** Appliance SSHKey definition. */
|
|
628
713
|
export declare interface SSHKey {
|
|
629
|
-
/**
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
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;
|
|
633
739
|
}
|
|
634
740
|
|
|
635
741
|
/**
|
|
@@ -637,7 +743,10 @@ export declare interface SSHKey {
|
|
|
637
743
|
* {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,
|
|
638
744
|
* this enum contains the known values that the service supports.
|
|
639
745
|
* ### Known values supported by the service
|
|
640
|
-
* **SSHCustomerUser**
|
|
746
|
+
* **SSHCustomerUser** \
|
|
747
|
+
* **ManagementCAKey** \
|
|
748
|
+
* **LogsKey** \
|
|
749
|
+
* **ScopedAccessKey**
|
|
641
750
|
*/
|
|
642
751
|
export declare type SSHKeyType = string;
|
|
643
752
|
|
|
@@ -654,6 +763,15 @@ export declare type SSHKeyType = string;
|
|
|
654
763
|
* **PreparingForUpgrade** \
|
|
655
764
|
* **UpgradePrerequisitesCompleted** \
|
|
656
765
|
* **PreUpgrade** \
|
|
766
|
+
* **UpgradingKVAIO** \
|
|
767
|
+
* **WaitingForKVAIO** \
|
|
768
|
+
* **ImagePending** \
|
|
769
|
+
* **ImageProvisioning** \
|
|
770
|
+
* **ImageProvisioned** \
|
|
771
|
+
* **ImageDownloading** \
|
|
772
|
+
* **ImageDownloaded** \
|
|
773
|
+
* **ImageDeprovisioning** \
|
|
774
|
+
* **ImageUnknown** \
|
|
657
775
|
* **UpdatingCloudOperator** \
|
|
658
776
|
* **WaitingForCloudOperator** \
|
|
659
777
|
* **UpdatingCAPI** \
|
|
@@ -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;AAEzD;;;;;GAKG;AACH,SAAe,0CAA0C;;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,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,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -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"}
|