Skip to content

Commit

Permalink
compute-track2 (Azure#20606)
Browse files Browse the repository at this point in the history
* compute-track2

* sample publish

* add link
  • Loading branch information
colawwj authored Mar 2, 2022
1 parent 978ebb5 commit b67db36
Show file tree
Hide file tree
Showing 841 changed files with 63,086 additions and 104 deletions.
33 changes: 25 additions & 8 deletions common/config/rush/pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions eng/ignore-links.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-cha
https://github.com/Azure/azure-digital-twins/blob/private-preview/Documentation/how-to-manage-routes.md
https://docs.microsoft.com/javascript/api/@azure/arm-dnsresolver?view=azure-node-preview
https://docs.microsoft.com/javascript/api/@azure/arm-mobilenetwork?view=azure-node-preview
https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview
20 changes: 20 additions & 0 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 17.3.0 (2022-03-02)

**Features**

- Added Type Alias Architecture
- Added Type Alias ArchitectureTypes
- Added Type Alias DataAccessAuthMode
- Interface DiskUpdate has a new optional parameter dataAccessAuthMode
- Interface SnapshotUpdate has a new optional parameter dataAccessAuthMode
- Interface SupportedCapabilities has a new optional parameter architecture
- Type Alias Disk has a new parameter dataAccessAuthMode
- Type Alias GalleryImage has a new parameter architecture
- Type Alias GalleryImageUpdate has a new parameter architecture
- Type Alias Snapshot has a new parameter dataAccessAuthMode
- Type Alias VirtualMachineImage has a new parameter architecture
- Added Enum KnownArchitecture
- Added Enum KnownArchitectureTypes
- Added Enum KnownDataAccessAuthMode


## 17.2.0 (2022-02-14)

**Features**
Expand Down
11 changes: 11 additions & 0 deletions sdk/compute/arm-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ 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 @@ -49,8 +51,17 @@ 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
6 changes: 3 additions & 3 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "7c98de7664d4565c088350015ccd0cfc102eab49",
"commit": "4042a47cff72c950d35dd72149895b044ed79713",
"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=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/compute/resource-manager/readme.md --use=@autorest/[email protected].20220128.1 --generate-sample=true",
"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:\\mydev\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/[email protected].20220225.1 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20220128.1"
"use": "@autorest/[email protected].20220225.1"
}
17 changes: 9 additions & 8 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.2.0",
"version": "17.3.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,13 +29,13 @@
"types": "./types/arm-compute.d.ts",
"devDependencies": {
"@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",
"@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",
"mkdirp": "^1.0.4",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand All @@ -44,6 +44,7 @@
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-network": "^26.0.0"

},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"repository": {
Expand Down Expand Up @@ -116,4 +117,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
}
39 changes: 39 additions & 0 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ export interface ApplicationProfile {
galleryApplications?: VMGalleryApplication[];
}

// @public
export type Architecture = string;

// @public
export type ArchitectureTypes = string;

// @public
export interface AutomaticOSUpgradePolicy {
disableAutomaticRollback?: boolean;
Expand Down Expand Up @@ -1120,6 +1126,9 @@ export interface CreationData {
uploadSizeBytes?: number;
}

// @public
export type DataAccessAuthMode = string;

// @public
export interface DataDisk {
caching?: CachingTypes;
Expand Down Expand Up @@ -1431,6 +1440,7 @@ export type Disk = Resource & {
securityProfile?: DiskSecurityProfile;
completionPercent?: number;
publicNetworkAccess?: PublicNetworkAccess;
dataAccessAuthMode?: DataAccessAuthMode;
};

// @public
Expand Down Expand Up @@ -1936,6 +1946,7 @@ export type DisksUpdateResponse = Disk;
// @public
export interface DiskUpdate {
burstingEnabled?: boolean;
dataAccessAuthMode?: DataAccessAuthMode;
diskAccessId?: string;
diskIopsReadOnly?: number;
diskIopsReadWrite?: number;
Expand Down Expand Up @@ -2345,6 +2356,7 @@ export type GalleryImage = Resource & {
purchasePlan?: ImagePurchasePlan;
readonly provisioningState?: GalleryImagePropertiesProvisioningState;
features?: GalleryImageFeature[];
architecture?: Architecture;
};

// @public
Expand Down Expand Up @@ -2442,6 +2454,7 @@ export type GalleryImageUpdate = UpdateResourceDefinition & {
purchasePlan?: ImagePurchasePlan;
readonly provisioningState?: GalleryImagePropertiesProvisioningState;
features?: GalleryImageFeature[];
architecture?: Architecture;
};

// @public
Expand Down Expand Up @@ -2852,6 +2865,22 @@ export enum KnownAggregatedReplicationState {
Unknown = "Unknown"
}

// @public
export enum KnownArchitecture {
// (undocumented)
Arm64 = "Arm64",
// (undocumented)
X64 = "x64"
}

// @public
export enum KnownArchitectureTypes {
// (undocumented)
Arm64 = "Arm64",
// (undocumented)
X64 = "x64"
}

// @public
export enum KnownAvailabilitySetSkuTypes {
// (undocumented)
Expand Down Expand Up @@ -2902,6 +2931,12 @@ export enum KnownConsistencyModeTypes {
FileSystemConsistent = "FileSystemConsistent"
}

// @public
export enum KnownDataAccessAuthMode {
AzureActiveDirectory = "AzureActiveDirectory",
None = "None"
}

// @public
export enum KnownDeleteOptions {
// (undocumented)
Expand Down Expand Up @@ -5269,6 +5304,7 @@ export type Snapshot = Resource & {
supportsHibernation?: boolean;
publicNetworkAccess?: PublicNetworkAccess;
completionPercent?: number;
dataAccessAuthMode?: DataAccessAuthMode;
};

// @public
Expand Down Expand Up @@ -5379,6 +5415,7 @@ export type SnapshotsUpdateResponse = Snapshot;

// @public
export interface SnapshotUpdate {
dataAccessAuthMode?: DataAccessAuthMode;
diskAccessId?: string;
diskSizeGB?: number;
encryption?: Encryption;
Expand Down Expand Up @@ -5555,6 +5592,7 @@ export type SubResourceWithColocationStatus = SubResource & {
// @public
export interface SupportedCapabilities {
acceleratedNetwork?: boolean;
architecture?: Architecture;
}

// @public
Expand Down Expand Up @@ -5961,6 +5999,7 @@ export type VirtualMachineImage = VirtualMachineImageResource & {
hyperVGeneration?: HyperVGenerationTypes;
disallowed?: DisallowedConfiguration;
features?: VirtualMachineImageFeature[];
architecture?: ArchitectureTypes;
};

// @public
Expand Down
Loading

0 comments on commit b67db36

Please sign in to comment.