Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 32 additions & 16 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 17.4.0 (2022-04-28)

**Features**

## 17.3.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface CopyCompletionErrorAutoGenerated
- Added Type Alias CopyCompletionError
- Type Alias DiskRestorePoint has a new parameter securityProfile
- Type Alias Snapshot has a new parameter copyCompletionError
- Added Enum KnownCopyCompletionError
- Enum KnownDiskStorageAccountTypes has a new value PremiumV2LRS

## 17.3.1 (2022-04-06)

**features**
Expand Down
11 changes: 0 additions & 11 deletions sdk/compute/arm-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Compute Client
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

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

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { ComputeManagementClient } = require("@azure/arm-compute");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ComputeManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new ComputeManagementClient(credential, subscriptionId);
```


Expand Down
10 changes: 5 additions & 5 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "b8cae07c799a07f2e779a9e301f639e9b85124b1",
"readme": "specification\\apimanagement\\resource-manager\\readme.md",
"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/typescript@6.0.0-alpha.18.20220329.1",
"commit": "8d5a77080e819655de9c278e7abd375a0c3bd3f4",
"readme": "specification/compute/resource-manager/readme.md",
"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/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "@autorest/typescript@6.0.0-alpha.18.20220329.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
39 changes: 11 additions & 28 deletions sdk/compute/arm-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ComputeManagementClient.",
"version": "17.3.2",
"version": "17.4.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -28,22 +28,21 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-compute.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-network": "^26.0.0"
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"repository": {
Expand Down Expand Up @@ -99,21 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/computeManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
"autoPublish": true
}
17 changes: 17 additions & 0 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,15 @@ export type ConfidentialVMEncryptionType = string;
// @public
export type ConsistencyModeTypes = string;

// @public
export type CopyCompletionError = string;

// @public
export interface CopyCompletionErrorAutoGenerated {
errorCode: CopyCompletionError;
errorMessage: string;
}

// @public
export interface CreationData {
createOption: DiskCreateOption;
Expand Down Expand Up @@ -1766,6 +1775,7 @@ export type DiskRestorePoint = ProxyOnlyResource & {
completionPercent?: number;
readonly replicationState?: string;
readonly sourceResourceLocation?: string;
securityProfile?: DiskSecurityProfile;
};

// @public
Expand Down Expand Up @@ -2931,6 +2941,11 @@ export enum KnownConsistencyModeTypes {
FileSystemConsistent = "FileSystemConsistent"
}

// @public
export enum KnownCopyCompletionError {
CopySourceNotFound = "CopySourceNotFound"
}

// @public
export enum KnownDataAccessAuthMode {
AzureActiveDirectory = "AzureActiveDirectory",
Expand Down Expand Up @@ -3035,6 +3050,7 @@ export enum KnownDiskState {
// @public
export enum KnownDiskStorageAccountTypes {
PremiumLRS = "Premium_LRS",
PremiumV2LRS = "PremiumV2_LRS",
PremiumZRS = "Premium_ZRS",
StandardLRS = "Standard_LRS",
StandardSSDLRS = "StandardSSD_LRS",
Expand Down Expand Up @@ -5304,6 +5320,7 @@ export type Snapshot = Resource & {
supportsHibernation?: boolean;
publicNetworkAccess?: PublicNetworkAccess;
completionPercent?: number;
copyCompletionError?: CopyCompletionErrorAutoGenerated;
dataAccessAuthMode?: DataAccessAuthMode;
};

Expand Down
Loading