@azure/arm-compute 17.0.0-beta.2 → 17.0.0
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 +6 -80
- package/README.md +4 -0
- package/dist/index.js +716 -771
- 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/src/computeManagementClient.d.ts +4 -2
- package/dist-esm/src/computeManagementClient.d.ts.map +1 -1
- package/dist-esm/src/computeManagementClient.js +31 -3
- package/dist-esm/src/computeManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +222 -236
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +5 -5
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +14 -15
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1393 -1426
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/availabilitySets.d.ts +2 -2
- package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilitySets.js.map +1 -1
- package/dist-esm/src/operations/capacityReservationGroups.d.ts +2 -2
- package/dist-esm/src/operations/capacityReservationGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/capacityReservationGroups.js.map +1 -1
- package/dist-esm/src/operations/capacityReservations.d.ts +2 -2
- package/dist-esm/src/operations/capacityReservations.d.ts.map +1 -1
- package/dist-esm/src/operations/capacityReservations.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceOperatingSystems.d.ts +2 -2
- package/dist-esm/src/operations/cloudServiceOperatingSystems.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudServiceOperatingSystems.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoleInstances.d.ts +2 -2
- package/dist-esm/src/operations/cloudServiceRoleInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoleInstances.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoles.d.ts +2 -2
- package/dist-esm/src/operations/cloudServiceRoles.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoles.js.map +1 -1
- package/dist-esm/src/operations/cloudServices.d.ts +2 -2
- package/dist-esm/src/operations/cloudServices.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudServices.js.map +1 -1
- package/dist-esm/src/operations/cloudServicesUpdateDomain.d.ts +2 -2
- package/dist-esm/src/operations/cloudServicesUpdateDomain.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudServicesUpdateDomain.js.map +1 -1
- package/dist-esm/src/operations/communityGalleries.d.ts +2 -2
- package/dist-esm/src/operations/communityGalleries.d.ts.map +1 -1
- package/dist-esm/src/operations/communityGalleries.js.map +1 -1
- package/dist-esm/src/operations/communityGalleryImageVersions.d.ts +2 -2
- package/dist-esm/src/operations/communityGalleryImageVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/communityGalleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/communityGalleryImages.d.ts +2 -2
- package/dist-esm/src/operations/communityGalleryImages.d.ts.map +1 -1
- package/dist-esm/src/operations/communityGalleryImages.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHostGroups.d.ts +2 -2
- package/dist-esm/src/operations/dedicatedHostGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHostGroups.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHosts.d.ts +2 -2
- package/dist-esm/src/operations/dedicatedHosts.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHosts.js.map +1 -1
- package/dist-esm/src/operations/diskAccesses.d.ts +2 -2
- package/dist-esm/src/operations/diskAccesses.d.ts.map +1 -1
- package/dist-esm/src/operations/diskAccesses.js.map +1 -1
- package/dist-esm/src/operations/diskEncryptionSets.d.ts +2 -2
- package/dist-esm/src/operations/diskEncryptionSets.d.ts.map +1 -1
- package/dist-esm/src/operations/diskEncryptionSets.js.map +1 -1
- package/dist-esm/src/operations/diskRestorePointOperations.d.ts +2 -2
- package/dist-esm/src/operations/diskRestorePointOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/diskRestorePointOperations.js.map +1 -1
- package/dist-esm/src/operations/disks.d.ts +2 -2
- package/dist-esm/src/operations/disks.d.ts.map +1 -1
- package/dist-esm/src/operations/disks.js.map +1 -1
- package/dist-esm/src/operations/galleries.d.ts +2 -2
- package/dist-esm/src/operations/galleries.d.ts.map +1 -1
- package/dist-esm/src/operations/galleries.js.map +1 -1
- package/dist-esm/src/operations/galleryApplicationVersions.d.ts +2 -2
- package/dist-esm/src/operations/galleryApplicationVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/galleryApplicationVersions.js.map +1 -1
- package/dist-esm/src/operations/galleryApplications.d.ts +2 -2
- package/dist-esm/src/operations/galleryApplications.d.ts.map +1 -1
- package/dist-esm/src/operations/galleryApplications.js.map +1 -1
- package/dist-esm/src/operations/galleryImageVersions.d.ts +2 -2
- package/dist-esm/src/operations/galleryImageVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/galleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/galleryImages.d.ts +2 -2
- package/dist-esm/src/operations/galleryImages.d.ts.map +1 -1
- package/dist-esm/src/operations/galleryImages.js.map +1 -1
- package/dist-esm/src/operations/gallerySharingProfile.d.ts +2 -2
- package/dist-esm/src/operations/gallerySharingProfile.d.ts.map +1 -1
- package/dist-esm/src/operations/gallerySharingProfile.js.map +1 -1
- package/dist-esm/src/operations/images.d.ts +2 -2
- package/dist-esm/src/operations/images.d.ts.map +1 -1
- package/dist-esm/src/operations/images.js.map +1 -1
- package/dist-esm/src/operations/logAnalytics.d.ts +2 -2
- package/dist-esm/src/operations/logAnalytics.d.ts.map +1 -1
- package/dist-esm/src/operations/logAnalytics.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/proximityPlacementGroups.d.ts +2 -2
- package/dist-esm/src/operations/proximityPlacementGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/proximityPlacementGroups.js.map +1 -1
- package/dist-esm/src/operations/resourceSkus.d.ts +2 -2
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceSkus.js.map +1 -1
- package/dist-esm/src/operations/restorePointCollections.d.ts +2 -2
- package/dist-esm/src/operations/restorePointCollections.d.ts.map +1 -1
- package/dist-esm/src/operations/restorePointCollections.js.map +1 -1
- package/dist-esm/src/operations/restorePoints.d.ts +2 -2
- package/dist-esm/src/operations/restorePoints.d.ts.map +1 -1
- package/dist-esm/src/operations/restorePoints.js.map +1 -1
- package/dist-esm/src/operations/sharedGalleries.d.ts +2 -2
- package/dist-esm/src/operations/sharedGalleries.d.ts.map +1 -1
- package/dist-esm/src/operations/sharedGalleries.js.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImageVersions.d.ts +2 -2
- package/dist-esm/src/operations/sharedGalleryImageVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImages.d.ts +2 -2
- package/dist-esm/src/operations/sharedGalleryImages.d.ts.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImages.js.map +1 -1
- package/dist-esm/src/operations/snapshots.d.ts +2 -2
- package/dist-esm/src/operations/snapshots.d.ts.map +1 -1
- package/dist-esm/src/operations/snapshots.js.map +1 -1
- package/dist-esm/src/operations/sshPublicKeys.d.ts +2 -2
- package/dist-esm/src/operations/sshPublicKeys.d.ts.map +1 -1
- package/dist-esm/src/operations/sshPublicKeys.js.map +1 -1
- package/dist-esm/src/operations/usageOperations.d.ts +2 -2
- package/dist-esm/src/operations/usageOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/usageOperations.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineExtensionImages.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineExtensions.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineExtensions.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineExtensions.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineImages.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineImages.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineImages.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineRunCommands.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineRunCommands.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineRunCommands.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSets.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineSizes.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachineSizes.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineSizes.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +2 -2
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/test/compute_examples.d.ts +3 -1
- package/dist-esm/test/compute_examples.d.ts.map +1 -1
- package/dist-esm/test/compute_examples.js +10 -7
- package/dist-esm/test/compute_examples.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-compute.api.md +18 -29
- package/src/computeManagementClient.ts +44 -3
- package/src/index.ts +0 -1
- package/src/models/index.ts +233 -248
- package/src/models/mappers.ts +1019 -1053
- package/src/operations/availabilitySets.ts +3 -3
- package/src/operations/capacityReservationGroups.ts +3 -3
- package/src/operations/capacityReservations.ts +3 -3
- package/src/operations/cloudServiceOperatingSystems.ts +3 -3
- package/src/operations/cloudServiceRoleInstances.ts +3 -3
- package/src/operations/cloudServiceRoles.ts +3 -3
- package/src/operations/cloudServices.ts +3 -3
- package/src/operations/cloudServicesUpdateDomain.ts +3 -3
- package/src/operations/communityGalleries.ts +3 -3
- package/src/operations/communityGalleryImageVersions.ts +3 -3
- package/src/operations/communityGalleryImages.ts +3 -3
- package/src/operations/dedicatedHostGroups.ts +3 -3
- package/src/operations/dedicatedHosts.ts +3 -3
- package/src/operations/diskAccesses.ts +3 -3
- package/src/operations/diskEncryptionSets.ts +3 -3
- package/src/operations/diskRestorePointOperations.ts +3 -3
- package/src/operations/disks.ts +3 -3
- package/src/operations/galleries.ts +3 -3
- package/src/operations/galleryApplicationVersions.ts +3 -3
- package/src/operations/galleryApplications.ts +3 -3
- package/src/operations/galleryImageVersions.ts +3 -3
- package/src/operations/galleryImages.ts +3 -3
- package/src/operations/gallerySharingProfile.ts +3 -3
- package/src/operations/images.ts +3 -3
- package/src/operations/logAnalytics.ts +3 -3
- package/src/operations/operations.ts +3 -3
- package/src/operations/proximityPlacementGroups.ts +3 -3
- package/src/operations/resourceSkus.ts +3 -3
- package/src/operations/restorePointCollections.ts +3 -3
- package/src/operations/restorePoints.ts +3 -3
- package/src/operations/sharedGalleries.ts +3 -3
- package/src/operations/sharedGalleryImageVersions.ts +3 -3
- package/src/operations/sharedGalleryImages.ts +3 -3
- package/src/operations/snapshots.ts +3 -3
- package/src/operations/sshPublicKeys.ts +3 -3
- package/src/operations/usageOperations.ts +3 -3
- package/src/operations/virtualMachineExtensionImages.ts +3 -3
- package/src/operations/virtualMachineExtensions.ts +3 -3
- package/src/operations/virtualMachineImages.ts +3 -3
- package/src/operations/virtualMachineImagesEdgeZone.ts +3 -3
- package/src/operations/virtualMachineRunCommands.ts +3 -3
- package/src/operations/virtualMachineScaleSetExtensions.ts +3 -3
- package/src/operations/virtualMachineScaleSetRollingUpgrades.ts +3 -3
- package/src/operations/virtualMachineScaleSetVMExtensions.ts +3 -3
- package/src/operations/virtualMachineScaleSetVMRunCommands.ts +3 -3
- package/src/operations/virtualMachineScaleSetVMs.ts +3 -3
- package/src/operations/virtualMachineScaleSets.ts +3 -3
- package/src/operations/virtualMachineSizes.ts +3 -3
- package/src/operations/virtualMachines.ts +3 -3
- package/types/arm-compute.d.ts +18 -42
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/computeManagementClientContext.d.ts +0 -16
- package/dist-esm/src/computeManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/computeManagementClientContext.js +0 -49
- package/dist-esm/src/computeManagementClientContext.js.map +0 -1
- package/src/computeManagementClientContext.ts +0 -69
|
@@ -11,7 +11,7 @@ import { Operations } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
ComputeOperationValue,
|
|
17
17
|
OperationsListOptionalParams,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
22
22
|
/** Class containing Operations operations. */
|
|
23
23
|
export class OperationsImpl implements Operations {
|
|
24
|
-
private readonly client:
|
|
24
|
+
private readonly client: ComputeManagementClient;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Initialize a new instance of the class Operations class.
|
|
28
28
|
* @param client Reference to the service client
|
|
29
29
|
*/
|
|
30
|
-
constructor(client:
|
|
30
|
+
constructor(client: ComputeManagementClient) {
|
|
31
31
|
this.client = client;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -11,7 +11,7 @@ import { ProximityPlacementGroups } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
ProximityPlacementGroup,
|
|
17
17
|
ProximityPlacementGroupsListBySubscriptionNextOptionalParams,
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
/// <reference lib="esnext.asynciterable" />
|
|
36
36
|
/** Class containing ProximityPlacementGroups operations. */
|
|
37
37
|
export class ProximityPlacementGroupsImpl implements ProximityPlacementGroups {
|
|
38
|
-
private readonly client:
|
|
38
|
+
private readonly client: ComputeManagementClient;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Initialize a new instance of the class ProximityPlacementGroups class.
|
|
42
42
|
* @param client Reference to the service client
|
|
43
43
|
*/
|
|
44
|
-
constructor(client:
|
|
44
|
+
constructor(client: ComputeManagementClient) {
|
|
45
45
|
this.client = client;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -11,7 +11,7 @@ import { ResourceSkus } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
ResourceSku,
|
|
17
17
|
ResourceSkusListNextOptionalParams,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
/// <reference lib="esnext.asynciterable" />
|
|
24
24
|
/** Class containing ResourceSkus operations. */
|
|
25
25
|
export class ResourceSkusImpl implements ResourceSkus {
|
|
26
|
-
private readonly client:
|
|
26
|
+
private readonly client: ComputeManagementClient;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Initialize a new instance of the class ResourceSkus class.
|
|
30
30
|
* @param client Reference to the service client
|
|
31
31
|
*/
|
|
32
|
-
constructor(client:
|
|
32
|
+
constructor(client: ComputeManagementClient) {
|
|
33
33
|
this.client = client;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -11,7 +11,7 @@ import { RestorePointCollections } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -37,13 +37,13 @@ import {
|
|
|
37
37
|
/// <reference lib="esnext.asynciterable" />
|
|
38
38
|
/** Class containing RestorePointCollections operations. */
|
|
39
39
|
export class RestorePointCollectionsImpl implements RestorePointCollections {
|
|
40
|
-
private readonly client:
|
|
40
|
+
private readonly client: ComputeManagementClient;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Initialize a new instance of the class RestorePointCollections class.
|
|
44
44
|
* @param client Reference to the service client
|
|
45
45
|
*/
|
|
46
|
-
constructor(client:
|
|
46
|
+
constructor(client: ComputeManagementClient) {
|
|
47
47
|
this.client = client;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -10,7 +10,7 @@ import { RestorePoints } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
15
15
|
import { LroImpl } from "../lroImpl";
|
|
16
16
|
import {
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
|
|
25
25
|
/** Class containing RestorePoints operations. */
|
|
26
26
|
export class RestorePointsImpl implements RestorePoints {
|
|
27
|
-
private readonly client:
|
|
27
|
+
private readonly client: ComputeManagementClient;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Initialize a new instance of the class RestorePoints class.
|
|
31
31
|
* @param client Reference to the service client
|
|
32
32
|
*/
|
|
33
|
-
constructor(client:
|
|
33
|
+
constructor(client: ComputeManagementClient) {
|
|
34
34
|
this.client = client;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -11,7 +11,7 @@ import { SharedGalleries } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
SharedGallery,
|
|
17
17
|
SharedGalleriesListNextOptionalParams,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
26
26
|
/** Class containing SharedGalleries operations. */
|
|
27
27
|
export class SharedGalleriesImpl implements SharedGalleries {
|
|
28
|
-
private readonly client:
|
|
28
|
+
private readonly client: ComputeManagementClient;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Initialize a new instance of the class SharedGalleries class.
|
|
32
32
|
* @param client Reference to the service client
|
|
33
33
|
*/
|
|
34
|
-
constructor(client:
|
|
34
|
+
constructor(client: ComputeManagementClient) {
|
|
35
35
|
this.client = client;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -11,7 +11,7 @@ import { SharedGalleryImageVersions } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
SharedGalleryImageVersion,
|
|
17
17
|
SharedGalleryImageVersionsListNextOptionalParams,
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
/** Class containing SharedGalleryImageVersions operations. */
|
|
27
27
|
export class SharedGalleryImageVersionsImpl
|
|
28
28
|
implements SharedGalleryImageVersions {
|
|
29
|
-
private readonly client:
|
|
29
|
+
private readonly client: ComputeManagementClient;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Initialize a new instance of the class SharedGalleryImageVersions class.
|
|
33
33
|
* @param client Reference to the service client
|
|
34
34
|
*/
|
|
35
|
-
constructor(client:
|
|
35
|
+
constructor(client: ComputeManagementClient) {
|
|
36
36
|
this.client = client;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -11,7 +11,7 @@ import { SharedGalleryImages } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
SharedGalleryImage,
|
|
17
17
|
SharedGalleryImagesListNextOptionalParams,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
26
26
|
/** Class containing SharedGalleryImages operations. */
|
|
27
27
|
export class SharedGalleryImagesImpl implements SharedGalleryImages {
|
|
28
|
-
private readonly client:
|
|
28
|
+
private readonly client: ComputeManagementClient;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Initialize a new instance of the class SharedGalleryImages class.
|
|
32
32
|
* @param client Reference to the service client
|
|
33
33
|
*/
|
|
34
|
-
constructor(client:
|
|
34
|
+
constructor(client: ComputeManagementClient) {
|
|
35
35
|
this.client = client;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -11,7 +11,7 @@ import { Snapshots } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -41,13 +41,13 @@ import {
|
|
|
41
41
|
/// <reference lib="esnext.asynciterable" />
|
|
42
42
|
/** Class containing Snapshots operations. */
|
|
43
43
|
export class SnapshotsImpl implements Snapshots {
|
|
44
|
-
private readonly client:
|
|
44
|
+
private readonly client: ComputeManagementClient;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Initialize a new instance of the class Snapshots class.
|
|
48
48
|
* @param client Reference to the service client
|
|
49
49
|
*/
|
|
50
|
-
constructor(client:
|
|
50
|
+
constructor(client: ComputeManagementClient) {
|
|
51
51
|
this.client = client;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -11,7 +11,7 @@ import { SshPublicKeys } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
SshPublicKeyResource,
|
|
17
17
|
SshPublicKeysListBySubscriptionNextOptionalParams,
|
|
@@ -37,13 +37,13 @@ import {
|
|
|
37
37
|
/// <reference lib="esnext.asynciterable" />
|
|
38
38
|
/** Class containing SshPublicKeys operations. */
|
|
39
39
|
export class SshPublicKeysImpl implements SshPublicKeys {
|
|
40
|
-
private readonly client:
|
|
40
|
+
private readonly client: ComputeManagementClient;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Initialize a new instance of the class SshPublicKeys class.
|
|
44
44
|
* @param client Reference to the service client
|
|
45
45
|
*/
|
|
46
|
-
constructor(client:
|
|
46
|
+
constructor(client: ComputeManagementClient) {
|
|
47
47
|
this.client = client;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -11,7 +11,7 @@ import { UsageOperations } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
Usage,
|
|
17
17
|
UsageListNextOptionalParams,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
/// <reference lib="esnext.asynciterable" />
|
|
24
24
|
/** Class containing UsageOperations operations. */
|
|
25
25
|
export class UsageOperationsImpl implements UsageOperations {
|
|
26
|
-
private readonly client:
|
|
26
|
+
private readonly client: ComputeManagementClient;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Initialize a new instance of the class UsageOperations class.
|
|
30
30
|
* @param client Reference to the service client
|
|
31
31
|
*/
|
|
32
|
-
constructor(client:
|
|
32
|
+
constructor(client: ComputeManagementClient) {
|
|
33
33
|
this.client = client;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineExtensionImages } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
VirtualMachineExtensionImagesGetOptionalParams,
|
|
16
16
|
VirtualMachineExtensionImagesGetResponse,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
/** Class containing VirtualMachineExtensionImages operations. */
|
|
24
24
|
export class VirtualMachineExtensionImagesImpl
|
|
25
25
|
implements VirtualMachineExtensionImages {
|
|
26
|
-
private readonly client:
|
|
26
|
+
private readonly client: ComputeManagementClient;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Initialize a new instance of the class VirtualMachineExtensionImages class.
|
|
30
30
|
* @param client Reference to the service client
|
|
31
31
|
*/
|
|
32
|
-
constructor(client:
|
|
32
|
+
constructor(client: ComputeManagementClient) {
|
|
33
33
|
this.client = client;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineExtensions } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
15
15
|
import { LroImpl } from "../lroImpl";
|
|
16
16
|
import {
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
|
|
30
30
|
/** Class containing VirtualMachineExtensions operations. */
|
|
31
31
|
export class VirtualMachineExtensionsImpl implements VirtualMachineExtensions {
|
|
32
|
-
private readonly client:
|
|
32
|
+
private readonly client: ComputeManagementClient;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Initialize a new instance of the class VirtualMachineExtensions class.
|
|
36
36
|
* @param client Reference to the service client
|
|
37
37
|
*/
|
|
38
|
-
constructor(client:
|
|
38
|
+
constructor(client: ComputeManagementClient) {
|
|
39
39
|
this.client = client;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineImages } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
VirtualMachineImagesGetOptionalParams,
|
|
16
16
|
VirtualMachineImagesGetResponse,
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
|
|
27
27
|
/** Class containing VirtualMachineImages operations. */
|
|
28
28
|
export class VirtualMachineImagesImpl implements VirtualMachineImages {
|
|
29
|
-
private readonly client:
|
|
29
|
+
private readonly client: ComputeManagementClient;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Initialize a new instance of the class VirtualMachineImages class.
|
|
33
33
|
* @param client Reference to the service client
|
|
34
34
|
*/
|
|
35
|
-
constructor(client:
|
|
35
|
+
constructor(client: ComputeManagementClient) {
|
|
36
36
|
this.client = client;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineImagesEdgeZone } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
VirtualMachineImagesEdgeZoneGetOptionalParams,
|
|
16
16
|
VirtualMachineImagesEdgeZoneGetResponse,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
/** Class containing VirtualMachineImagesEdgeZone operations. */
|
|
28
28
|
export class VirtualMachineImagesEdgeZoneImpl
|
|
29
29
|
implements VirtualMachineImagesEdgeZone {
|
|
30
|
-
private readonly client:
|
|
30
|
+
private readonly client: ComputeManagementClient;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Initialize a new instance of the class VirtualMachineImagesEdgeZone class.
|
|
34
34
|
* @param client Reference to the service client
|
|
35
35
|
*/
|
|
36
|
-
constructor(client:
|
|
36
|
+
constructor(client: ComputeManagementClient) {
|
|
37
37
|
this.client = client;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineRunCommands } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -41,13 +41,13 @@ import {
|
|
|
41
41
|
/** Class containing VirtualMachineRunCommands operations. */
|
|
42
42
|
export class VirtualMachineRunCommandsImpl
|
|
43
43
|
implements VirtualMachineRunCommands {
|
|
44
|
-
private readonly client:
|
|
44
|
+
private readonly client: ComputeManagementClient;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Initialize a new instance of the class VirtualMachineRunCommands class.
|
|
48
48
|
* @param client Reference to the service client
|
|
49
49
|
*/
|
|
50
|
-
constructor(client:
|
|
50
|
+
constructor(client: ComputeManagementClient) {
|
|
51
51
|
this.client = client;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineScaleSetExtensions } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
/** Class containing VirtualMachineScaleSetExtensions operations. */
|
|
35
35
|
export class VirtualMachineScaleSetExtensionsImpl
|
|
36
36
|
implements VirtualMachineScaleSetExtensions {
|
|
37
|
-
private readonly client:
|
|
37
|
+
private readonly client: ComputeManagementClient;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Initialize a new instance of the class VirtualMachineScaleSetExtensions class.
|
|
41
41
|
* @param client Reference to the service client
|
|
42
42
|
*/
|
|
43
|
-
constructor(client:
|
|
43
|
+
constructor(client: ComputeManagementClient) {
|
|
44
44
|
this.client = client;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineScaleSetRollingUpgrades } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
15
15
|
import { LroImpl } from "../lroImpl";
|
|
16
16
|
import {
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
/** Class containing VirtualMachineScaleSetRollingUpgrades operations. */
|
|
25
25
|
export class VirtualMachineScaleSetRollingUpgradesImpl
|
|
26
26
|
implements VirtualMachineScaleSetRollingUpgrades {
|
|
27
|
-
private readonly client:
|
|
27
|
+
private readonly client: ComputeManagementClient;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Initialize a new instance of the class VirtualMachineScaleSetRollingUpgrades class.
|
|
31
31
|
* @param client Reference to the service client
|
|
32
32
|
*/
|
|
33
|
-
constructor(client:
|
|
33
|
+
constructor(client: ComputeManagementClient) {
|
|
34
34
|
this.client = client;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -10,7 +10,7 @@ import { VirtualMachineScaleSetVMExtensions } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
14
14
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
15
15
|
import { LroImpl } from "../lroImpl";
|
|
16
16
|
import {
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
/** Class containing VirtualMachineScaleSetVMExtensions operations. */
|
|
31
31
|
export class VirtualMachineScaleSetVMExtensionsImpl
|
|
32
32
|
implements VirtualMachineScaleSetVMExtensions {
|
|
33
|
-
private readonly client:
|
|
33
|
+
private readonly client: ComputeManagementClient;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Initialize a new instance of the class VirtualMachineScaleSetVMExtensions class.
|
|
37
37
|
* @param client Reference to the service client
|
|
38
38
|
*/
|
|
39
|
-
constructor(client:
|
|
39
|
+
constructor(client: ComputeManagementClient) {
|
|
40
40
|
this.client = client;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineScaleSetVMRunCommands } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
/** Class containing VirtualMachineScaleSetVMRunCommands operations. */
|
|
35
35
|
export class VirtualMachineScaleSetVMRunCommandsImpl
|
|
36
36
|
implements VirtualMachineScaleSetVMRunCommands {
|
|
37
|
-
private readonly client:
|
|
37
|
+
private readonly client: ComputeManagementClient;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Initialize a new instance of the class VirtualMachineScaleSetVMRunCommands class.
|
|
41
41
|
* @param client Reference to the service client
|
|
42
42
|
*/
|
|
43
|
-
constructor(client:
|
|
43
|
+
constructor(client: ComputeManagementClient) {
|
|
44
44
|
this.client = client;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineScaleSetVMs } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
/** Class containing VirtualMachineScaleSetVMs operations. */
|
|
48
48
|
export class VirtualMachineScaleSetVMsImpl
|
|
49
49
|
implements VirtualMachineScaleSetVMs {
|
|
50
|
-
private readonly client:
|
|
50
|
+
private readonly client: ComputeManagementClient;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* Initialize a new instance of the class VirtualMachineScaleSetVMs class.
|
|
54
54
|
* @param client Reference to the service client
|
|
55
55
|
*/
|
|
56
|
-
constructor(client:
|
|
56
|
+
constructor(client: ComputeManagementClient) {
|
|
57
57
|
this.client = client;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineScaleSets } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
/// <reference lib="esnext.asynciterable" />
|
|
71
71
|
/** Class containing VirtualMachineScaleSets operations. */
|
|
72
72
|
export class VirtualMachineScaleSetsImpl implements VirtualMachineScaleSets {
|
|
73
|
-
private readonly client:
|
|
73
|
+
private readonly client: ComputeManagementClient;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Initialize a new instance of the class VirtualMachineScaleSets class.
|
|
77
77
|
* @param client Reference to the service client
|
|
78
78
|
*/
|
|
79
|
-
constructor(client:
|
|
79
|
+
constructor(client: ComputeManagementClient) {
|
|
80
80
|
this.client = client;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachineSizes } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
VirtualMachineSize,
|
|
17
17
|
VirtualMachineSizesListOptionalParams,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
22
22
|
/** Class containing VirtualMachineSizes operations. */
|
|
23
23
|
export class VirtualMachineSizesImpl implements VirtualMachineSizes {
|
|
24
|
-
private readonly client:
|
|
24
|
+
private readonly client: ComputeManagementClient;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Initialize a new instance of the class VirtualMachineSizes class.
|
|
28
28
|
* @param client Reference to the service client
|
|
29
29
|
*/
|
|
30
|
-
constructor(client:
|
|
30
|
+
constructor(client: ComputeManagementClient) {
|
|
31
31
|
this.client = client;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -11,7 +11,7 @@ import { VirtualMachines } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ComputeManagementClient } from "../computeManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
/// <reference lib="esnext.asynciterable" />
|
|
71
71
|
/** Class containing VirtualMachines operations. */
|
|
72
72
|
export class VirtualMachinesImpl implements VirtualMachines {
|
|
73
|
-
private readonly client:
|
|
73
|
+
private readonly client: ComputeManagementClient;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Initialize a new instance of the class VirtualMachines class.
|
|
77
77
|
* @param client Reference to the service client
|
|
78
78
|
*/
|
|
79
|
-
constructor(client:
|
|
79
|
+
constructor(client: ComputeManagementClient) {
|
|
80
80
|
this.client = client;
|
|
81
81
|
}
|
|
82
82
|
|