Skip to content

Commit 6422443

Browse files
author
SDKAuto
committed
CodeGen from PR 25291 in Azure/azure-rest-api-specs
Merge 78d5105a853ed00d21333307af7d1cd16c145728 into 2d2d12d271c13bd1b56c1ed5e41c5f418ae46067
1 parent 17db2d1 commit 6422443

File tree

12 files changed

+305
-44
lines changed

12 files changed

+305
-44
lines changed

sdk/compute/arm-compute/CHANGELOG.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
# Release History
2+
3+
## 21.2.0 (2023-08-15)
4+
5+
**Features**
26

3-
## 21.1.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Type Alias DomainNameLabelScopeTypes
8+
- Added Type Alias NetworkInterfaceAuxiliaryMode
9+
- Added Type Alias NetworkInterfaceAuxiliarySku
10+
- Interface CreationData has a new optional parameter elasticSanResourceId
11+
- Interface Disk has a new optional parameter lastOwnershipUpdateTime
12+
- Interface VirtualMachineNetworkInterfaceConfiguration has a new optional parameter auxiliaryMode
13+
- Interface VirtualMachineNetworkInterfaceConfiguration has a new optional parameter auxiliarySku
14+
- Interface VirtualMachinePublicIPAddressDnsSettingsConfiguration has a new optional parameter domainNameLabelScope
15+
- Interface VirtualMachineScaleSetNetworkConfiguration has a new optional parameter auxiliaryMode
16+
- Interface VirtualMachineScaleSetNetworkConfiguration has a new optional parameter auxiliarySku
17+
- Interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings has a new optional parameter domainNameLabelScope
18+
- Interface VirtualMachineScaleSetUpdateNetworkConfiguration has a new optional parameter auxiliaryMode
19+
- Interface VirtualMachineScaleSetUpdateNetworkConfiguration has a new optional parameter auxiliarySku
20+
- Interface VirtualMachineScaleSetVM has a new optional parameter timeCreated
21+
- Added Enum KnownDomainNameLabelScopeTypes
22+
- Added Enum KnownNetworkInterfaceAuxiliaryMode
23+
- Added Enum KnownNetworkInterfaceAuxiliarySku
24+
- Enum KnownDiskCreateOption has a new value CopyFromSanSnapshot
25+
26+
1327
## 21.1.0 (2023-07-07)
1428

1529
**Features**

sdk/compute/arm-compute/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "310a0100f5b020c1900c527a6aa70d21992f078a",
2+
"commit": "ac6b825a961200d3603a4ccf802b2dc08146deca",
33
"readme": "specification/compute/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.5 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/compute/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
7-
"use": "@autorest/typescript@6.0.5"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
7+
"use": "@autorest/typescript@^6.0.4"
88
}

sdk/compute/arm-compute/package.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "21.1.1",
6+
"version": "21.2.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
1010
"dependencies": {
11-
"@azure/core-lro": "^2.5.3",
11+
"@azure/core-lro": "^2.5.4",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
1414
"@azure/core-client": "^1.7.0",
@@ -48,8 +48,7 @@
4848
"chai": "^4.2.0",
4949
"cross-env": "^7.0.2",
5050
"@types/node": "^14.0.0",
51-
"@azure/dev-tool": "^1.0.0",
52-
"@azure/arm-network": "^26.0.0"
51+
"@azure/dev-tool": "^1.0.0"
5352
},
5453
"repository": {
5554
"type": "git",
@@ -112,13 +111,5 @@
112111
]
113112
},
114113
"autoPublish": true,
115-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
116-
"//sampleConfiguration": {
117-
"productName": "",
118-
"productSlugs": [
119-
"azure"
120-
],
121-
"disableDocsMs": true,
122-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
123-
}
124-
}
114+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute"
115+
}

sdk/compute/arm-compute/review/arm-compute.api.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ export type CopyCompletionErrorReason = string;
11861186
// @public
11871187
export interface CreationData {
11881188
createOption: DiskCreateOption;
1189+
elasticSanResourceId?: string;
11891190
galleryImageReference?: ImageDiskReference;
11901191
imageReference?: ImageDiskReference;
11911192
logicalSectorSize?: number;
@@ -1517,6 +1518,7 @@ export interface Disk extends Resource {
15171518
encryptionSettingsCollection?: EncryptionSettingsCollection;
15181519
extendedLocation?: ExtendedLocation;
15191520
hyperVGeneration?: HyperVGeneration;
1521+
readonly lastOwnershipUpdateTime?: Date;
15201522
readonly managedBy?: string;
15211523
readonly managedByExtended?: string[];
15221524
maxShares?: number;
@@ -2080,6 +2082,9 @@ export interface DiskUpdate {
20802082
tier?: string;
20812083
}
20822084

2085+
// @public
2086+
export type DomainNameLabelScopeTypes = string;
2087+
20832088
// @public
20842089
export type EdgeZoneStorageAccountType = string;
20852090

@@ -3149,6 +3154,7 @@ export enum KnownDiskControllerTypes {
31493154
export enum KnownDiskCreateOption {
31503155
Attach = "Attach",
31513156
Copy = "Copy",
3157+
CopyFromSanSnapshot = "CopyFromSanSnapshot",
31523158
CopyStart = "CopyStart",
31533159
Empty = "Empty",
31543160
FromImage = "FromImage",
@@ -3223,6 +3229,14 @@ export enum KnownDiskStorageAccountTypes {
32233229
UltraSSDLRS = "UltraSSD_LRS"
32243230
}
32253231

3232+
// @public
3233+
export enum KnownDomainNameLabelScopeTypes {
3234+
NoReuse = "NoReuse",
3235+
ResourceGroupReuse = "ResourceGroupReuse",
3236+
SubscriptionReuse = "SubscriptionReuse",
3237+
TenantReuse = "TenantReuse"
3238+
}
3239+
32263240
// @public
32273241
export enum KnownEdgeZoneStorageAccountType {
32283242
PremiumLRS = "Premium_LRS",
@@ -3383,6 +3397,22 @@ export enum KnownNetworkApiVersion {
33833397
TwoThousandTwenty1101 = "2020-11-01"
33843398
}
33853399

3400+
// @public
3401+
export enum KnownNetworkInterfaceAuxiliaryMode {
3402+
AcceleratedConnections = "AcceleratedConnections",
3403+
Floating = "Floating",
3404+
None = "None"
3405+
}
3406+
3407+
// @public
3408+
export enum KnownNetworkInterfaceAuxiliarySku {
3409+
A1 = "A1",
3410+
A2 = "A2",
3411+
A4 = "A4",
3412+
A8 = "A8",
3413+
None = "None"
3414+
}
3415+
33863416
// @public
33873417
export enum KnownOperatingSystemType {
33883418
Linux = "Linux",
@@ -4043,6 +4073,12 @@ export type NetworkAccessPolicy = string;
40434073
// @public
40444074
export type NetworkApiVersion = string;
40454075

4076+
// @public
4077+
export type NetworkInterfaceAuxiliaryMode = string;
4078+
4079+
// @public
4080+
export type NetworkInterfaceAuxiliarySku = string;
4081+
40464082
// @public
40474083
export interface NetworkInterfaceReference extends SubResource {
40484084
deleteOption?: DeleteOptions;
@@ -6197,6 +6233,8 @@ export interface VirtualMachineListResult {
61976233

61986234
// @public
61996235
export interface VirtualMachineNetworkInterfaceConfiguration {
6236+
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
6237+
auxiliarySku?: NetworkInterfaceAuxiliarySku;
62006238
deleteOption?: DeleteOptions;
62016239
disableTcpStateTracking?: boolean;
62026240
dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration;
@@ -6254,6 +6292,7 @@ export interface VirtualMachinePublicIPAddressConfiguration {
62546292
// @public
62556293
export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration {
62566294
domainNameLabel: string;
6295+
domainNameLabelScope?: DomainNameLabelScopeTypes;
62576296
}
62586297

62596298
// @public
@@ -6689,6 +6728,8 @@ export interface VirtualMachineScaleSetManagedDiskParameters {
66896728

66906729
// @public
66916730
export interface VirtualMachineScaleSetNetworkConfiguration {
6731+
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
6732+
auxiliarySku?: NetworkInterfaceAuxiliarySku;
66926733
deleteOption?: DeleteOptions;
66936734
disableTcpStateTracking?: boolean;
66946735
dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings;
@@ -6756,6 +6797,7 @@ export interface VirtualMachineScaleSetPublicIPAddressConfiguration {
67566797
// @public
67576798
export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings {
67586799
domainNameLabel: string;
6800+
domainNameLabelScope?: DomainNameLabelScopeTypes;
67596801
}
67606802

67616803
// @public
@@ -7117,6 +7159,8 @@ export interface VirtualMachineScaleSetUpdateIPConfiguration {
71177159

71187160
// @public
71197161
export interface VirtualMachineScaleSetUpdateNetworkConfiguration {
7162+
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
7163+
auxiliarySku?: NetworkInterfaceAuxiliarySku;
71207164
deleteOption?: DeleteOptions;
71217165
disableTcpStateTracking?: boolean;
71227166
dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings;
@@ -7210,6 +7254,7 @@ export interface VirtualMachineScaleSetVM extends Resource {
72107254
securityProfile?: SecurityProfile;
72117255
readonly sku?: Sku;
72127256
storageProfile?: StorageProfile;
7257+
readonly timeCreated?: Date;
72137258
userData?: string;
72147259
readonly vmId?: string;
72157260
readonly zones?: string[];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
145145
credential: credentials
146146
};
147147

148-
const packageDetails = `azsdk-js-arm-compute/21.1.1`;
148+
const packageDetails = `azsdk-js-arm-compute/21.2.0`;
149149
const userAgentPrefix =
150150
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
151151
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

0 commit comments

Comments
 (0)