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
39 changes: 31 additions & 8 deletions sdk/storagemover/arm-storagemover/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,38 @@
# Release History

## 2.0.0-beta.1 (2023-07-18)

**Features**

## 1.0.1 (Unreleased)
- Added Interface AzureKeyVaultSmbCredentials
- Added Interface AzureStorageSmbFileShareEndpointProperties
- Added Interface AzureStorageSmbFileShareEndpointUpdateProperties
- Added Interface Credentials
- Added Interface SmbMountEndpointProperties
- Added Interface SmbMountEndpointUpdateProperties
- Added Type Alias CredentialsUnion
- Added Type Alias CredentialType
- Added Type Alias EndpointBaseUpdatePropertiesUnion
- Interface Resource has a new optional parameter systemData
- Type of parameter endpointType of interface EndpointBaseProperties is changed from "AzureStorageBlobContainer" | "NfsMount" to "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount"
- Added Enum KnownCredentialType
- Enum KnownEndpointType has a new value AzureStorageSmbFileShare
- Enum KnownEndpointType has a new value SmbMount

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
**Breaking Changes**

- Interface Agent no longer has parameter systemData
- Interface Endpoint no longer has parameter systemData
- Interface JobDefinition no longer has parameter systemData
- Interface JobRun no longer has parameter systemData
- Interface Project no longer has parameter systemData
- Interface StorageMover no longer has parameter systemData
- Interface AzureStorageBlobContainerEndpointUpdateProperties has a new required parameter endpointType
- Interface EndpointBaseUpdateProperties has a new required parameter endpointType
- Interface NfsMountEndpointUpdateProperties has a new required parameter endpointType
- Type of parameter properties of interface EndpointBaseUpdateParameters is changed from EndpointBaseUpdateProperties to EndpointBaseUpdatePropertiesUnion


## 1.0.0 (2023-03-07)

The package of @azure/arm-storagemover is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
2 changes: 1 addition & 1 deletion sdk/storagemover/arm-storagemover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure Storage Mover REST API.

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

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/storagemover/arm-storagemover/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "80d422bdf9d305b5403c1540fffbcb981269791e",
"commit": "d3af9ae230da00f4afa638dcbbc0ffa066d2354a",
"readme": "specification/storagemover/resource-manager/readme.md",
"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\\storagemover\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9 --generate-sample=true",
"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/storagemover/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
6 changes: 0 additions & 6 deletions sdk/storagemover/arm-storagemover/assets.json

This file was deleted.

16 changes: 4 additions & 12 deletions sdk/storagemover/arm-storagemover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for StorageMoverClient.",
"version": "1.0.1",
"version": "2.0.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/core-lro": "^2.5.3",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
Expand Down Expand Up @@ -111,13 +111,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storagemover?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagemover/arm-storagemover"
}
76 changes: 64 additions & 12 deletions sdk/storagemover/arm-storagemover/review/arm-storagemover.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export interface Agent extends ProxyResource {
readonly memoryInMB?: number;
readonly numberOfCores?: number;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
readonly uptimeInSeconds?: number;
}

Expand Down Expand Up @@ -101,7 +100,14 @@ export interface AgentUpdateParameters {
description?: string;
}

// @public (undocumented)
// @public
export interface AzureKeyVaultSmbCredentials extends Credentials {
passwordUri?: string;
type: "AzureKeyVaultSmb";
usernameUri?: string;
}

// @public
export interface AzureStorageBlobContainerEndpointProperties extends EndpointBaseProperties {
blobContainerName: string;
endpointType: "AzureStorageBlobContainer";
Expand All @@ -110,6 +116,19 @@ export interface AzureStorageBlobContainerEndpointProperties extends EndpointBas

// @public (undocumented)
export interface AzureStorageBlobContainerEndpointUpdateProperties extends EndpointBaseUpdateProperties {
endpointType: "AzureStorageBlobContainer";
}

// @public
export interface AzureStorageSmbFileShareEndpointProperties extends EndpointBaseProperties {
endpointType: "AzureStorageSmbFileShare";
fileShareName: string;
storageAccountResourceId: string;
}

// @public
export interface AzureStorageSmbFileShareEndpointUpdateProperties extends EndpointBaseUpdateProperties {
endpointType: "AzureStorageSmbFileShare";
}

// @public
Expand All @@ -118,32 +137,46 @@ export type CopyMode = string;
// @public
export type CreatedByType = string;

// @public
export interface Credentials {
type: "AzureKeyVaultSmb";
}

// @public (undocumented)
export type CredentialsUnion = Credentials | AzureKeyVaultSmbCredentials;

// @public
export type CredentialType = string;

// @public
export interface Endpoint extends ProxyResource {
properties: EndpointBasePropertiesUnion;
readonly systemData?: SystemData;
}

// @public
export interface EndpointBaseProperties {
description?: string;
endpointType: "AzureStorageBlobContainer" | "NfsMount";
endpointType: "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount";
readonly provisioningState?: ProvisioningState;
}

// @public (undocumented)
export type EndpointBasePropertiesUnion = EndpointBaseProperties | AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties;
export type EndpointBasePropertiesUnion = EndpointBaseProperties | AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties | AzureStorageSmbFileShareEndpointProperties | SmbMountEndpointProperties;

// @public
export interface EndpointBaseUpdateParameters {
properties?: EndpointBaseUpdateProperties;
properties?: EndpointBaseUpdatePropertiesUnion;
}

// @public
export interface EndpointBaseUpdateProperties {
description?: string;
endpointType: "AzureStorageBlobContainer" | "NfsMount" | "AzureStorageSmbFileShare" | "SmbMount";
}

// @public (undocumented)
export type EndpointBaseUpdatePropertiesUnion = EndpointBaseUpdateProperties | AzureStorageBlobContainerEndpointUpdateProperties | NfsMountEndpointUpdateProperties | AzureStorageSmbFileShareEndpointUpdateProperties | SmbMountEndpointUpdateProperties;

// @public
export interface EndpointList {
readonly nextLink?: string;
Expand Down Expand Up @@ -240,7 +273,6 @@ export interface JobDefinition extends ProxyResource {
sourceName: string;
readonly sourceResourceId?: string;
sourceSubpath?: string;
readonly systemData?: SystemData;
targetName: string;
readonly targetResourceId?: string;
targetSubpath?: string;
Expand Down Expand Up @@ -353,7 +385,6 @@ export interface JobRun extends ProxyResource {
readonly sourceProperties?: Record<string, unknown>;
readonly sourceResourceId?: string;
readonly status?: JobRunStatus;
readonly systemData?: SystemData;
readonly targetName?: string;
readonly targetProperties?: Record<string, unknown>;
readonly targetResourceId?: string;
Expand Down Expand Up @@ -439,10 +470,17 @@ export enum KnownCreatedByType {
User = "User"
}

// @public
export enum KnownCredentialType {
AzureKeyVaultSmb = "AzureKeyVaultSmb"
}

// @public
export enum KnownEndpointType {
AzureStorageBlobContainer = "AzureStorageBlobContainer",
NfsMount = "NfsMount"
AzureStorageSmbFileShare = "AzureStorageSmbFileShare",
NfsMount = "NfsMount",
SmbMount = "SmbMount"
}

// @public
Expand Down Expand Up @@ -483,7 +521,7 @@ export enum KnownProvisioningState {
Succeeded = "Succeeded"
}

// @public (undocumented)
// @public
export interface NfsMountEndpointProperties extends EndpointBaseProperties {
endpointType: "NfsMount";
export: string;
Expand All @@ -493,6 +531,7 @@ export interface NfsMountEndpointProperties extends EndpointBaseProperties {

// @public (undocumented)
export interface NfsMountEndpointUpdateProperties extends EndpointBaseUpdateProperties {
endpointType: "NfsMount";
}

// @public
Expand Down Expand Up @@ -547,7 +586,6 @@ export type Origin = string;
export interface Project extends ProxyResource {
description?: string;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
}

// @public
Expand Down Expand Up @@ -623,14 +661,28 @@ export interface ProxyResource extends Resource {
export interface Resource {
readonly id?: string;
readonly name?: string;
readonly systemData?: SystemData;
readonly type?: string;
}

// @public
export interface SmbMountEndpointProperties extends EndpointBaseProperties {
credentials?: AzureKeyVaultSmbCredentials;
endpointType: "SmbMount";
host: string;
shareName: string;
}

// @public
export interface SmbMountEndpointUpdateProperties extends EndpointBaseUpdateProperties {
credentials?: AzureKeyVaultSmbCredentials;
endpointType: "SmbMount";
}

// @public
export interface StorageMover extends TrackedResource {
description?: string;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
}

// @public (undocumented)
Expand Down

This file was deleted.

This file was deleted.

Loading