Skip to content
Draft
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
16 changes: 3 additions & 13 deletions sdk/databox/arm-databox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
# Release History

## 5.0.0 (2022-03-04)

## 5.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 5.0.0-beta.1 (2022-01-12)

The package of @azure/arm-databox is using our next generation design principles since version 5.0.0-beta.1, which contains breaking changes.
The package of @azure/arm-databox is using our next generation design principles since version 5.0.0, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
2 changes: 1 addition & 1 deletion sdk/databox/arm-databox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/databox/arm-databox) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-databox) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-databox?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-databox) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions sdk/databox/arm-databox/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "e6a2296d02ec6c4b2c32479198bfbcb9b16ea247",
"commit": "ccfdf6dbdcbfda578b026925f363b3b3232f9cae",
"readme": "specification/databox/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.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/databox/resource-manager/readme.md --use=@autorest/[email protected].20211217.1",
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/databox/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211217.1"
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/databox/arm-databox/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-databox.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
4 changes: 2 additions & 2 deletions sdk/databox/arm-databox/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 DataBoxManagementClient.",
"version": "5.0.0-beta.2",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
66 changes: 64 additions & 2 deletions sdk/databox/arm-databox/review/arm-databox.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export type CustomerDiskJobSecrets = JobSecrets & {
};

// @public
export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume";
export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume" | "Restart" | "ReachOutToOperation";

// @public
export interface DataAccountDetails {
Expand Down Expand Up @@ -244,13 +244,29 @@ export interface DataBoxDiskCopyProgress {
readonly status?: CopyStatus;
}

// @public
export type DataBoxDiskGranularCopyLogDetails = GranularCopyLogDetails & {
copyLogDetailsType: "DataBoxCustomerDisk";
readonly serialNumber?: string;
readonly accountName?: string;
readonly errorLogLink?: string;
readonly verboseLogLink?: string;
};

// @public
export type DataBoxDiskGranularCopyProgress = GranularCopyProgress & {
readonly serialNumber?: string;
readonly copyStatus?: CopyStatus;
};

// @public
export type DataBoxDiskJobDetails = JobDetails & {
jobDetailsType: "DataBoxDisk";
preferredDisks?: {
[propertyName: string]: number;
};
readonly copyProgress?: DataBoxDiskCopyProgress[];
readonly granularCopyProgress?: DataBoxDiskGranularCopyProgress[];
readonly disksAndSizeDetails?: {
[propertyName: string]: number;
};
Expand Down Expand Up @@ -489,6 +505,33 @@ export interface FilterFileDetails {
// @public
export type FilterFileType = "AzureBlob" | "AzureFile";

// @public
export interface GranularCopyLogDetails {
copyLogDetailsType: "DataBoxCustomerDisk";
}

// @public (undocumented)
export type GranularCopyLogDetailsUnion = GranularCopyLogDetails | DataBoxDiskGranularCopyLogDetails;

// @public
export interface GranularCopyProgress {
readonly accountId?: string;
readonly bytesProcessed?: number;
readonly dataAccountType?: DataAccountType;
readonly directoriesErroredOut?: number;
readonly filesErroredOut?: number;
readonly filesProcessed?: number;
readonly invalidDirectoriesProcessed?: number;
readonly invalidFileBytesUploaded?: number;
readonly invalidFilesProcessed?: number;
readonly isEnumerationInProgress?: boolean;
readonly renamedContainerCount?: number;
readonly storageAccountName?: string;
readonly totalBytesToProcess?: number;
readonly totalFilesToProcess?: number;
readonly transferType?: TransferType;
}

// @public
export type HeavyScheduleAvailabilityRequest = ScheduleAvailabilityRequest & {
skuName: "DataBoxHeavy";
Expand Down Expand Up @@ -748,12 +791,16 @@ export enum KnownDataCenterCode {
// (undocumented)
BJB = "BJB",
// (undocumented)
BJS20 = "BJS20",
// (undocumented)
BL20 = "BL20",
// (undocumented)
BL7 = "BL7",
// (undocumented)
BN1 = "BN1",
// (undocumented)
BN7 = "BN7",
// (undocumented)
BOM01 = "BOM01",
// (undocumented)
BY1 = "BY1",
Expand All @@ -778,6 +825,8 @@ export enum KnownDataCenterCode {
// (undocumented)
DSM05 = "DSM05",
// (undocumented)
DUB07 = "DUB07",
// (undocumented)
FRA22 = "FRA22",
// (undocumented)
HKG20 = "HKG20",
Expand All @@ -800,8 +849,16 @@ export enum KnownDataCenterCode {
// (undocumented)
ORK70 = "ORK70",
// (undocumented)
OSA02 = "OSA02",
// (undocumented)
OSA20 = "OSA20",
// (undocumented)
OSA22 = "OSA22",
// (undocumented)
PAR22 = "PAR22",
// (undocumented)
PNQ01 = "PNQ01",
// (undocumented)
PUS20 = "PUS20",
// (undocumented)
SEL20 = "SEL20",
Expand All @@ -816,10 +873,14 @@ export enum KnownDataCenterCode {
// (undocumented)
SN5 = "SN5",
// (undocumented)
SN6 = "SN6",
// (undocumented)
SN8 = "SN8",
// (undocumented)
SSE90 = "SSE90",
// (undocumented)
SVG20 = "SVG20",
// (undocumented)
SYD03 = "SYD03",
// (undocumented)
SYD23 = "SYD23",
Expand Down Expand Up @@ -983,6 +1044,7 @@ export interface PackageShippingDetails {
export interface Preferences {
encryptionPreferences?: EncryptionPreferences;
preferredDataCenterRegion?: string[];
storageAccountAccessTierPreferences?: string[];
transportPreferences?: TransportPreferences;
}

Expand Down Expand Up @@ -1204,7 +1266,7 @@ export type SkuName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCusto
export type StageName = string;

// @public
export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp";
export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp" | "CustomerActionPerformed";

// @public
export type StorageAccountDetails = DataAccountDetails & {
Expand Down
4 changes: 2 additions & 2 deletions sdk/databox/arm-databox/src/dataBoxManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class DataBoxManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-databox/5.0.0-beta.1`;
const packageDetails = `azsdk-js-arm-databox/5.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -73,7 +73,7 @@ export class DataBoxManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-08-01-preview";
this.apiVersion = options.apiVersion || "2021-12-01";
this.operations = new OperationsImpl(this);
this.jobs = new JobsImpl(this);
this.service = new ServiceImpl(this);
Expand Down
Loading