Skip to content

Commit 317909f

Browse files
author
SDKAuto
committed
CodeGen from PR 12012 in Azure/azure-rest-api-specs
Merge 2cb439e4f2384ef953270fda262288097961aae3 into 4a502277bac8b2b6c4e3e8ea23bc99324beb4bab
1 parent 6c6ce54 commit 317909f

File tree

80 files changed

+4694
-407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4694
-407
lines changed

sdk/compute/arm-compute/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-compute
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { ComputeManagementClient } = require("@azure/arm-compute");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/compute/arm-compute/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/compute/arm-compute/src/computeManagementClient.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is
@@ -26,6 +25,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
2625
virtualMachineExtensionImages: operations.VirtualMachineExtensionImages;
2726
virtualMachineExtensions: operations.VirtualMachineExtensions;
2827
virtualMachineImages: operations.VirtualMachineImages;
28+
virtualMachineImagesEdgeZone: operations.VirtualMachineImagesEdgeZone;
2929
usage: operations.UsageOperations;
3030
virtualMachines: operations.VirtualMachines;
3131
virtualMachineSizes: operations.VirtualMachineSizes;
@@ -47,6 +47,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
4747
galleryImageVersions: operations.GalleryImageVersions;
4848
galleryApplications: operations.GalleryApplications;
4949
galleryApplicationVersions: operations.GalleryApplicationVersions;
50+
gallerySharingProfile: operations.GallerySharingProfile;
51+
sharedGalleries: operations.SharedGalleries;
52+
sharedGalleryImages: operations.SharedGalleryImages;
53+
sharedGalleryImageVersions: operations.SharedGalleryImageVersions;
5054
containerServices: operations.ContainerServices;
5155

5256
/**
@@ -67,6 +71,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
6771
this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this);
6872
this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this);
6973
this.virtualMachineImages = new operations.VirtualMachineImages(this);
74+
this.virtualMachineImagesEdgeZone = new operations.VirtualMachineImagesEdgeZone(this);
7075
this.usage = new operations.UsageOperations(this);
7176
this.virtualMachines = new operations.VirtualMachines(this);
7277
this.virtualMachineSizes = new operations.VirtualMachineSizes(this);
@@ -88,6 +93,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
8893
this.galleryImageVersions = new operations.GalleryImageVersions(this);
8994
this.galleryApplications = new operations.GalleryApplications(this);
9095
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
96+
this.gallerySharingProfile = new operations.GallerySharingProfile(this);
97+
this.sharedGalleries = new operations.SharedGalleries(this);
98+
this.sharedGalleryImages = new operations.SharedGalleryImages(this);
99+
this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(this);
91100
this.containerServices = new operations.ContainerServices(this);
92101
}
93102
}

sdk/compute/arm-compute/src/computeManagementClientContext.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -66,6 +67,7 @@ export {
6667
EncryptionSetIdentity,
6768
EncryptionSettingsCollection,
6869
EncryptionSettingsElement,
70+
ExtendedLocation,
6971
Gallery,
7072
GalleryApplication,
7173
GalleryApplicationUpdate,
@@ -78,6 +80,7 @@ export {
7880
GalleryDiskImage,
7981
GalleryIdentifier,
8082
GalleryImage,
83+
GalleryImageFeature,
8184
GalleryImageIdentifier,
8285
GalleryImageUpdate,
8386
GalleryImageVersion,
@@ -104,6 +107,7 @@ export {
104107
KeyVaultSecretReference,
105108
LastPatchInstallationSummary,
106109
LinuxConfiguration,
110+
LinuxPatchSettings,
107111
MaintenanceRedeployStatus,
108112
ManagedDiskParameters,
109113
NetworkInterfaceReference,
@@ -112,7 +116,6 @@ export {
112116
OSDiskImage,
113117
OSDiskImageEncryption,
114118
OSProfile,
115-
PatchSettings,
116119
Plan,
117120
PrivateEndpoint,
118121
PrivateEndpointConnection,
@@ -133,6 +136,9 @@ export {
133136
ScheduledEventsProfile,
134137
SecurityProfile,
135138
ShareInfoElement,
139+
SharingProfile,
140+
SharingProfileGroup,
141+
SharingUpdate,
136142
Sku,
137143
Snapshot,
138144
SnapshotSku,
@@ -147,6 +153,7 @@ export {
147153
SubResourceWithColocationStatus,
148154
TargetRegion,
149155
TerminateNotificationProfile,
156+
UefiSettings,
150157
UpdateResource,
151158
UpdateResourceDefinition,
152159
UpgradePolicy,
@@ -204,7 +211,9 @@ export {
204211
VirtualMachineSize,
205212
VirtualMachineSizeListResult,
206213
VirtualMachineUpdate,
214+
VMGalleryApplication,
207215
WindowsConfiguration,
216+
WindowsPatchSettings,
208217
WinRMConfiguration,
209218
WinRMListener
210219
} from "../models/mappers";

sdk/compute/arm-compute/src/models/containerServicesMappers.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -63,6 +64,7 @@ export {
6364
EncryptionSetIdentity,
6465
EncryptionSettingsCollection,
6566
EncryptionSettingsElement,
67+
ExtendedLocation,
6668
Gallery,
6769
GalleryApplication,
6870
GalleryApplicationUpdate,
@@ -75,6 +77,7 @@ export {
7577
GalleryDiskImage,
7678
GalleryIdentifier,
7779
GalleryImage,
80+
GalleryImageFeature,
7881
GalleryImageIdentifier,
7982
GalleryImageUpdate,
8083
GalleryImageVersion,
@@ -100,6 +103,7 @@ export {
100103
KeyVaultSecretReference,
101104
LastPatchInstallationSummary,
102105
LinuxConfiguration,
106+
LinuxPatchSettings,
103107
MaintenanceRedeployStatus,
104108
ManagedDiskParameters,
105109
NetworkInterfaceReference,
@@ -108,7 +112,6 @@ export {
108112
OSDiskImage,
109113
OSDiskImageEncryption,
110114
OSProfile,
111-
PatchSettings,
112115
Plan,
113116
PrivateEndpoint,
114117
PrivateEndpointConnection,
@@ -128,6 +131,9 @@ export {
128131
ScheduledEventsProfile,
129132
SecurityProfile,
130133
ShareInfoElement,
134+
SharingProfile,
135+
SharingProfileGroup,
136+
SharingUpdate,
131137
Sku,
132138
Snapshot,
133139
SnapshotSku,
@@ -141,6 +147,7 @@ export {
141147
SubResourceWithColocationStatus,
142148
TargetRegion,
143149
TerminateNotificationProfile,
150+
UefiSettings,
144151
UpdateResourceDefinition,
145152
UpgradePolicy,
146153
UserArtifactSource,
@@ -187,7 +194,9 @@ export {
187194
VirtualMachineScaleSetVMNetworkProfileConfiguration,
188195
VirtualMachineScaleSetVMProfile,
189196
VirtualMachineScaleSetVMProtectionPolicy,
197+
VMGalleryApplication,
190198
WindowsConfiguration,
199+
WindowsPatchSettings,
191200
WinRMConfiguration,
192201
WinRMListener
193202
} from "../models/mappers";

sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -66,6 +67,7 @@ export {
6667
EncryptionSetIdentity,
6768
EncryptionSettingsCollection,
6869
EncryptionSettingsElement,
70+
ExtendedLocation,
6971
Gallery,
7072
GalleryApplication,
7173
GalleryApplicationUpdate,
@@ -78,6 +80,7 @@ export {
7880
GalleryDiskImage,
7981
GalleryIdentifier,
8082
GalleryImage,
83+
GalleryImageFeature,
8184
GalleryImageIdentifier,
8285
GalleryImageUpdate,
8386
GalleryImageVersion,
@@ -104,6 +107,7 @@ export {
104107
KeyVaultSecretReference,
105108
LastPatchInstallationSummary,
106109
LinuxConfiguration,
110+
LinuxPatchSettings,
107111
MaintenanceRedeployStatus,
108112
ManagedDiskParameters,
109113
NetworkInterfaceReference,
@@ -112,7 +116,6 @@ export {
112116
OSDiskImage,
113117
OSDiskImageEncryption,
114118
OSProfile,
115-
PatchSettings,
116119
Plan,
117120
PrivateEndpoint,
118121
PrivateEndpointConnection,
@@ -133,6 +136,9 @@ export {
133136
ScheduledEventsProfile,
134137
SecurityProfile,
135138
ShareInfoElement,
139+
SharingProfile,
140+
SharingProfileGroup,
141+
SharingUpdate,
136142
Sku,
137143
Snapshot,
138144
SnapshotSku,
@@ -147,6 +153,7 @@ export {
147153
SubResourceWithColocationStatus,
148154
TargetRegion,
149155
TerminateNotificationProfile,
156+
UefiSettings,
150157
UpdateResource,
151158
UpdateResourceDefinition,
152159
UpgradePolicy,
@@ -202,7 +209,9 @@ export {
202209
VirtualMachineScaleSetVMProfile,
203210
VirtualMachineScaleSetVMProtectionPolicy,
204211
VirtualMachineUpdate,
212+
VMGalleryApplication,
205213
WindowsConfiguration,
214+
WindowsPatchSettings,
206215
WinRMConfiguration,
207216
WinRMListener
208217
} from "../models/mappers";

0 commit comments

Comments
 (0)