Skip to content

Commit 10ce6e5

Browse files
author
SDKAuto
committed
CodeGen from PR 18609 in Azure/azure-rest-api-specs
Merge 77f48b912c1fb4374a8ff4f598467083bfa3f10f into a7f91f93af6a62ddfe7f3b37a69645e90acdb65e
1 parent b835e0b commit 10ce6e5

Some content is hidden

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

62 files changed

+10614
-10743
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 25 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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+
## 18.0.0 (2022-04-18)
4+
5+
**Features**
26

3-
## 17.3.2 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface DedicatedHostGroupPropertiesAdditionalCapabilities
8+
- Added Interface ProximityPlacementGroupPropertiesIntent
9+
- Interface VMGalleryApplication has a new optional parameter enableAutomaticUpgrade
10+
- Interface VMGalleryApplication has a new optional parameter treatFailureAsDeploymentFailure
11+
- Type Alias DedicatedHostGroup has a new parameter additionalCapabilities
12+
- Type Alias DedicatedHostGroupUpdate has a new parameter additionalCapabilities
13+
- Type Alias ProximityPlacementGroup has a new parameter zones
14+
- Type Alias ProximityPlacementGroup has a new parameter intent
15+
16+
**Breaking Changes**
17+
18+
- Interface DiskUpdate no longer has parameter dataAccessAuthMode
19+
- Interface SnapshotUpdate no longer has parameter dataAccessAuthMode
20+
- Interface SupportedCapabilities no longer has parameter architecture
21+
- Type Alias Disk no longer has parameter dataAccessAuthMode
22+
- Type Alias Snapshot no longer has parameter dataAccessAuthMode
23+
- Type Alias VirtualMachineImage no longer has parameter architecture
24+
- Removed Enum KnownArchitectureTypes
25+
- Removed Enum KnownDataAccessAuthMode
26+
1327
## 17.3.1 (2022-04-06)
1428

1529
**features**

sdk/compute/arm-compute/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Compute Client
1616
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
1717
- Latest versions of Safari, Chrome, Edge and Firefox.
1818

19-
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20-
2119
### Prerequisites
2220

2321
- An [Azure subscription][azure_sub].
@@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
5149
```javascript
5250
const { ComputeManagementClient } = require("@azure/arm-compute");
5351
const { DefaultAzureCredential } = require("@azure/identity");
54-
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55-
5652
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5753
const client = new ComputeManagementClient(new DefaultAzureCredential(), subscriptionId);
58-
59-
// For client-side applications running in the browser, use this code instead:
60-
// const credential = new InteractiveBrowserCredential({
61-
// tenantId: "<YOUR_TENANT_ID>",
62-
// clientId: "<YOUR_CLIENT_ID>"
63-
// });
64-
// const client = new ComputeManagementClient(credential, subscriptionId);
6554
```
6655

6756

sdk/compute/arm-compute/_meta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "b8cae07c799a07f2e779a9e301f639e9b85124b1",
3-
"readme": "specification\\apimanagement\\resource-manager\\readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\apimanagement\\resource-manager\\readme.md --use=@autorest/[email protected].18.20220329.1",
2+
"commit": "b77f1b1369224bc763aceeb4fb76816162619498",
3+
"readme": "specification/compute/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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/[email protected].16.20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
7-
"use": "@autorest/[email protected].18.20220329.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
7+
"use": "@autorest/[email protected].16.20220105.1"
88
}

sdk/compute/arm-compute/package.json

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "17.3.2",
6+
"version": "18.0.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -29,21 +29,20 @@
2929
"types": "./types/arm-compute.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.18.11",
32-
"@rollup/plugin-commonjs": "^21.0.1",
33-
"@rollup/plugin-json": "^4.1.0",
34-
"@rollup/plugin-multi-entry": "^4.1.0",
35-
"@rollup/plugin-node-resolve": "^13.1.3",
32+
"@rollup/plugin-commonjs": "11.0.2",
33+
"@rollup/plugin-json": "^4.0.0",
34+
"@rollup/plugin-multi-entry": "^3.0.0",
35+
"@rollup/plugin-node-resolve": "^8.0.0",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^2.66.1",
38-
"rollup-plugin-sourcemaps": "^0.6.3",
37+
"rollup": "^1.16.3",
38+
"rollup-plugin-sourcemaps": "^0.4.2",
3939
"typescript": "~4.2.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
4242
"@azure/identity": "^2.0.1",
4343
"@azure-tools/test-recorder": "^1.0.0",
4444
"mocha": "^7.1.1",
45-
"cross-env": "^7.0.2",
46-
"@azure/arm-network": "^26.0.0"
45+
"cross-env": "^7.0.2"
4746
},
4847
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
4948
"repository": {
@@ -99,21 +98,5 @@
9998
"docs": "echo skipped"
10099
},
101100
"sideEffects": false,
102-
"//metadata": {
103-
"constantPaths": [
104-
{
105-
"path": "src/computeManagementClient.ts",
106-
"prefix": "packageDetails"
107-
}
108-
]
109-
},
110-
"autoPublish": true,
111-
"//sampleConfiguration": {
112-
"productName": "",
113-
"productSlugs": [
114-
"azure"
115-
],
116-
"disableDocsMs": true,
117-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
118-
}
119-
}
101+
"autoPublish": true
102+
}

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

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ export interface ApplicationProfile {
6767
// @public
6868
export type Architecture = string;
6969

70-
// @public
71-
export type ArchitectureTypes = string;
72-
7370
// @public
7471
export interface AutomaticOSUpgradePolicy {
7572
disableAutomaticRollback?: boolean;
@@ -1126,9 +1123,6 @@ export interface CreationData {
11261123
uploadSizeBytes?: number;
11271124
}
11281125

1129-
// @public
1130-
export type DataAccessAuthMode = string;
1131-
11321126
// @public
11331127
export interface DataDisk {
11341128
caching?: CachingTypes;
@@ -1189,6 +1183,7 @@ export type DedicatedHostGroup = Resource & {
11891183
readonly hosts?: SubResourceReadOnly[];
11901184
readonly instanceView?: DedicatedHostGroupInstanceView;
11911185
supportAutomaticPlacement?: boolean;
1186+
additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities;
11921187
};
11931188

11941189
// @public (undocumented)
@@ -1202,6 +1197,11 @@ export interface DedicatedHostGroupListResult {
12021197
value: DedicatedHostGroup[];
12031198
}
12041199

1200+
// @public
1201+
export interface DedicatedHostGroupPropertiesAdditionalCapabilities {
1202+
ultraSSDEnabled?: boolean;
1203+
}
1204+
12051205
// @public
12061206
export interface DedicatedHostGroups {
12071207
createOrUpdate(resourceGroupName: string, hostGroupName: string, parameters: DedicatedHostGroup, options?: DedicatedHostGroupsCreateOrUpdateOptionalParams): Promise<DedicatedHostGroupsCreateOrUpdateResponse>;
@@ -1273,6 +1273,7 @@ export type DedicatedHostGroupUpdate = UpdateResource & {
12731273
readonly hosts?: SubResourceReadOnly[];
12741274
readonly instanceView?: DedicatedHostGroupInstanceView;
12751275
supportAutomaticPlacement?: boolean;
1276+
additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities;
12761277
};
12771278

12781279
// @public
@@ -1440,7 +1441,6 @@ export type Disk = Resource & {
14401441
securityProfile?: DiskSecurityProfile;
14411442
completionPercent?: number;
14421443
publicNetworkAccess?: PublicNetworkAccess;
1443-
dataAccessAuthMode?: DataAccessAuthMode;
14441444
};
14451445

14461446
// @public
@@ -1946,7 +1946,6 @@ export type DisksUpdateResponse = Disk;
19461946
// @public
19471947
export interface DiskUpdate {
19481948
burstingEnabled?: boolean;
1949-
dataAccessAuthMode?: DataAccessAuthMode;
19501949
diskAccessId?: string;
19511950
diskIopsReadOnly?: number;
19521951
diskIopsReadWrite?: number;
@@ -2873,14 +2872,6 @@ export enum KnownArchitecture {
28732872
X64 = "x64"
28742873
}
28752874

2876-
// @public
2877-
export enum KnownArchitectureTypes {
2878-
// (undocumented)
2879-
Arm64 = "Arm64",
2880-
// (undocumented)
2881-
X64 = "x64"
2882-
}
2883-
28842875
// @public
28852876
export enum KnownAvailabilitySetSkuTypes {
28862877
// (undocumented)
@@ -2931,12 +2922,6 @@ export enum KnownConsistencyModeTypes {
29312922
FileSystemConsistent = "FileSystemConsistent"
29322923
}
29332924

2934-
// @public
2935-
export enum KnownDataAccessAuthMode {
2936-
AzureActiveDirectory = "AzureActiveDirectory",
2937-
None = "None"
2938-
}
2939-
29402925
// @public
29412926
export enum KnownDeleteOptions {
29422927
// (undocumented)
@@ -4417,11 +4402,13 @@ export type ProtocolTypes = "Http" | "Https";
44174402

44184403
// @public
44194404
export type ProximityPlacementGroup = Resource & {
4405+
zones?: string[];
44204406
proximityPlacementGroupType?: ProximityPlacementGroupType;
44214407
readonly virtualMachines?: SubResourceWithColocationStatus[];
44224408
readonly virtualMachineScaleSets?: SubResourceWithColocationStatus[];
44234409
readonly availabilitySets?: SubResourceWithColocationStatus[];
44244410
colocationStatus?: InstanceViewStatus;
4411+
intent?: ProximityPlacementGroupPropertiesIntent;
44254412
};
44264413

44274414
// @public
@@ -4430,6 +4417,11 @@ export interface ProximityPlacementGroupListResult {
44304417
value: ProximityPlacementGroup[];
44314418
}
44324419

4420+
// @public
4421+
export interface ProximityPlacementGroupPropertiesIntent {
4422+
vmSizes?: string[];
4423+
}
4424+
44334425
// @public
44344426
export interface ProximityPlacementGroups {
44354427
createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: ProximityPlacementGroup, options?: ProximityPlacementGroupsCreateOrUpdateOptionalParams): Promise<ProximityPlacementGroupsCreateOrUpdateResponse>;
@@ -5304,7 +5296,6 @@ export type Snapshot = Resource & {
53045296
supportsHibernation?: boolean;
53055297
publicNetworkAccess?: PublicNetworkAccess;
53065298
completionPercent?: number;
5307-
dataAccessAuthMode?: DataAccessAuthMode;
53085299
};
53095300

53105301
// @public
@@ -5415,7 +5406,6 @@ export type SnapshotsUpdateResponse = Snapshot;
54155406

54165407
// @public
54175408
export interface SnapshotUpdate {
5418-
dataAccessAuthMode?: DataAccessAuthMode;
54195409
diskAccessId?: string;
54205410
diskSizeGB?: number;
54215411
encryption?: Encryption;
@@ -5592,7 +5582,6 @@ export type SubResourceWithColocationStatus = SubResource & {
55925582
// @public
55935583
export interface SupportedCapabilities {
55945584
acceleratedNetwork?: boolean;
5595-
architecture?: Architecture;
55965585
}
55975586

55985587
// @public
@@ -5999,7 +5988,6 @@ export type VirtualMachineImage = VirtualMachineImageResource & {
59995988
hyperVGeneration?: HyperVGenerationTypes;
60005989
disallowed?: DisallowedConfiguration;
60015990
features?: VirtualMachineImageFeature[];
6002-
architecture?: ArchitectureTypes;
60035991
};
60045992

60055993
// @public
@@ -7821,9 +7809,11 @@ export type VmDiskTypes = string;
78217809
// @public
78227810
export interface VMGalleryApplication {
78237811
configurationReference?: string;
7812+
enableAutomaticUpgrade?: boolean;
78247813
order?: number;
78257814
packageReferenceId: string;
78267815
tags?: string;
7816+
treatFailureAsDeploymentFailure?: boolean;
78277817
}
78287818

78297819
// @public

0 commit comments

Comments
 (0)