Skip to content
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 21 additions & 12 deletions pnpm-lock.yaml

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

52 changes: 52 additions & 0 deletions sdk/elasticsans/arm-elasticsan/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
# Release History

## 2.0.0 (2026-02-25)

### Features Added
- Added operation ElasticSansOperations.create
- Added operation ElasticSansOperations.delete
- Added operation ElasticSansOperations.update
- Added operation PrivateEndpointConnectionsOperations.create
- Added operation PrivateEndpointConnectionsOperations.delete
- Added operation VolumeGroupsOperations.create
- Added operation VolumeGroupsOperations.delete
- Added operation VolumeGroupsOperations.update
- Added operation VolumesOperations.beginPreBackup
- Added operation VolumesOperations.beginPreBackupAndWait
- Added operation VolumesOperations.beginPreRestore
- Added operation VolumesOperations.beginPreRestoreAndWait
- Added operation VolumesOperations.create
- Added operation VolumesOperations.delete
- Added operation VolumesOperations.preBackup
- Added operation VolumesOperations.preRestore
- Added operation VolumesOperations.update
- Added operation VolumeSnapshotsOperations.create
- Added operation VolumeSnapshotsOperations.delete
- Added Interface AutoScaleProperties
- Added Interface DiskSnapshotList
- Added Interface PagedAsyncIterableIterator
- Added Interface PageSettings
- Added Interface PreValidationResponse
- Added Interface RestorePollerOptions
- Added Interface ScaleUpProperties
- Added Interface SimplePollerLike
- Added Interface VolumeNameList
- Added Interface VolumesPreBackupOptionalParams
- Added Interface VolumesPreRestoreOptionalParams
- Interface ElasticSanProperties has a new optional parameter autoScaleProperties
- Interface ElasticSanUpdateProperties has a new optional parameter autoScaleProperties
- Added Type Alias AutoScalePolicyEnforcement
- Added Type Alias AzureSupportedClouds
- Added Enum AzureClouds
- Added Enum KnownAutoScalePolicyEnforcement
- Added Enum KnownVersions
- Enum KnownProvisioningStates has a new value Deleted
- Enum KnownProvisioningStates has a new value Restoring

### Breaking Changes
- Removed Interface ElasticSanList
- Removed Interface SkuInformationList
- Removed Interface SnapshotList
- Removed Interface VolumeGroupList
- Removed Interface VolumeList
- Parameter value of interface PrivateLinkResourceListResult is now required


## 1.2.0-beta.2 (2025-04-18)
Compared with version 1.1.0
Expand Down
20 changes: 10 additions & 10 deletions sdk/elasticsans/arm-elasticsan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ElasticSanManagement client.

Elastic SAN is a fully integrated solution that simplifies deploying, scaling, managing, and configuring a storage area network (SAN). It also offers built-in cloud capabilities like high availability. Elastic SAN works with many types of compute resources, such as Azure Virtual Machines, Azure VMware Solution, and Azure Kubernetes Service.

Key links:

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

## Getting started

Expand Down Expand Up @@ -35,7 +37,7 @@ npm install @azure/arm-elasticsan
To create a client object to access the Azure ElasticSanManagement API, you will need the `endpoint` of your Azure ElasticSanManagement resource and a `credential`. The Azure ElasticSanManagement client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure ElasticSanManagement resource in the [Azure Portal][azure_portal].

You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:

Expand Down Expand Up @@ -63,14 +65,15 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { ElasticSanManagement } from "@azure/arm-elasticsan";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ElasticSanManagement(credential, subscriptionId);
```


### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

Expand All @@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur

## Next steps

Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan/samples) directory for detailed examples on how to use this library.

## Contributing

Expand All @@ -106,9 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)


[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
Expand Down
8 changes: 0 additions & 8 deletions sdk/elasticsans/arm-elasticsan/_meta.json

This file was deleted.

4 changes: 1 addition & 3 deletions sdk/elasticsans/arm-elasticsan/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
2 changes: 1 addition & 1 deletion sdk/elasticsans/arm-elasticsan/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/elasticsans/arm-elasticsan",
"Tag": "js/elasticsans/arm-elasticsan_7d6df06b33"
"Tag": "js/elasticsans/arm-elasticsan_f66c6b98c0"
}
14 changes: 14 additions & 0 deletions sdk/elasticsans/arm-elasticsan/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";

export default azsdkEslint.config([
{
rules: {
"@azure/azure-sdk/ts-modules-only-named": "warn",
"@azure/azure-sdk/ts-package-json-types": "warn",
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
"@azure/azure-sdk/ts-package-json-files-required": "off",
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
"tsdoc/syntax": "warn",
},
},
]);
Loading
Loading