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
4 changes: 2 additions & 2 deletions sdk/dell/arm-dell-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Release History

## 1.0.0-beta.1 (2025-07-18)
## 1.0.0-beta.1 (2025-12-29)

### Features Added

Initial release of the @azure/arm-dell-storage package
This is the first stable version with the package of @azure/arm-dell-storage
2 changes: 1 addition & 1 deletion sdk/dell/arm-dell-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Key links:

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

## Getting started
Expand Down
53 changes: 51 additions & 2 deletions sdk/dell/arm-dell-storage/metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,53 @@
{
"apiVersion": "2025-03-21-preview",
"emitterVersion": "0.42.0"
"apiVersion": "2025-03-21",
"emitterVersion": "0.47.1",
"crossLanguageDefinitions": {
"CrossLanguagePackageId": "Dell.Storage",
"CrossLanguageDefinitionId": {
"@azure/arm-dell-storage!OperationListResult:interface": "Azure.ResourceManager.CommonTypes.OperationListResult",
"@azure/arm-dell-storage!Operation:interface": "Azure.ResourceManager.CommonTypes.Operation",
"@azure/arm-dell-storage!OperationDisplay:interface": "Azure.ResourceManager.CommonTypes.OperationDisplay",
"@azure/arm-dell-storage!ErrorResponse:interface": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"@azure/arm-dell-storage!ErrorDetail:interface": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"@azure/arm-dell-storage!ErrorAdditionalInfo:interface": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"@azure/arm-dell-storage!FileSystemResource:interface": "LiftrBase.Storage.FileSystemResource",
"@azure/arm-dell-storage!FileSystemResourceProperties:interface": "LiftrBase.Storage.FileSystemResourceProperties",
"@azure/arm-dell-storage!Capacity:interface": "LiftrBase.Storage.Capacity",
"@azure/arm-dell-storage!MarketplaceDetails:interface": "LiftrBase.MarketplaceDetails",
"@azure/arm-dell-storage!UserDetails:interface": "LiftrBase.UserDetails",
"@azure/arm-dell-storage!EncryptionProperties:interface": "LiftrBase.EncryptionProperties",
"@azure/arm-dell-storage!EncryptionIdentityProperties:interface": "LiftrBase.EncryptionIdentityProperties",
"@azure/arm-dell-storage!ManagedServiceIdentity:interface": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
"@azure/arm-dell-storage!UserAssignedIdentity:interface": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
"@azure/arm-dell-storage!TrackedResource:interface": "Azure.ResourceManager.CommonTypes.TrackedResource",
"@azure/arm-dell-storage!Resource:interface": "Azure.ResourceManager.CommonTypes.Resource",
"@azure/arm-dell-storage!SystemData:interface": "Azure.ResourceManager.CommonTypes.SystemData",
"@azure/arm-dell-storage!ArmOperationStatusResourceProvisioningState:interface": "Azure.ResourceManager.ArmOperationStatus",
"@azure/arm-dell-storage!FileSystemResourceUpdate:interface": "LiftrBase.Storage.FileSystemResourceUpdate",
"@azure/arm-dell-storage!ManagedServiceIdentityUpdate:interface": "LiftrBase.Storage.ManagedServiceIdentityUpdate",
"@azure/arm-dell-storage!FileSystemResourceUpdateProperties:interface": "LiftrBase.Storage.FileSystemResourceUpdateProperties",
"@azure/arm-dell-storage!EncryptionUpdateProperties:interface": "LiftrBase.EncryptionUpdateProperties",
"@azure/arm-dell-storage!EncryptionIdentityUpdateProperties:interface": "LiftrBase.EncryptionIdentityUpdateProperties",
"@azure/arm-dell-storage!FileSystemResourceListResult:interface": "Azure.ResourceManager.ResourceListResult",
"@azure/arm-dell-storage!KnownOrigin:enum": "Azure.ResourceManager.CommonTypes.Origin",
"@azure/arm-dell-storage!KnownActionType:enum": "Azure.ResourceManager.CommonTypes.ActionType",
"@azure/arm-dell-storage!KnownMarketplaceSubscriptionStatus:enum": "LiftrBase.MarketplaceSubscriptionStatus",
"@azure/arm-dell-storage!KnownProvisioningState:enum": "LiftrBase.ProvisioningState",
"@azure/arm-dell-storage!KnownResourceEncryptionType:enum": "LiftrBase.ResourceEncryptionType",
"@azure/arm-dell-storage!KnownEncryptionIdentityType:enum": "LiftrBase.EncryptionIdentityType",
"@azure/arm-dell-storage!KnownManagedServiceIdentityType:enum": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"@azure/arm-dell-storage!KnowncreatedByType:enum": "Azure.ResourceManager.CommonTypes.createdByType",
"@azure/arm-dell-storage!KnownResourceProvisioningState:enum": "Azure.ResourceManager.ResourceProvisioningState",
"@azure/arm-dell-storage!KnownVersions:enum": "Dell.Storage.Versions",
"@azure/arm-dell-storage!ManagedServiceIdentityUserAssignedIdentity:type": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentity.anonymous",
"@azure/arm-dell-storage!ManagedServiceIdentityUpdateUserAssignedIdentity:type": "LiftrBase.Storage.ManagedServiceIdentityUpdate.userAssignedIdentity.anonymous",
"@azure/arm-dell-storage!FileSystemsOperations#listBySubscription:member": "Dell.Storage.FileSystems.listBySubscription",
"@azure/arm-dell-storage!FileSystemsOperations#listByResourceGroup:member": "Dell.Storage.FileSystems.listByResourceGroup",
"@azure/arm-dell-storage!FileSystemsOperations#delete:member": "Dell.Storage.FileSystems.delete",
"@azure/arm-dell-storage!FileSystemsOperations#update:member": "Dell.Storage.FileSystems.update",
"@azure/arm-dell-storage!FileSystemsOperations#createOrUpdate:member": "Dell.Storage.FileSystems.createOrUpdate",
"@azure/arm-dell-storage!FileSystemsOperations#get:member": "Dell.Storage.FileSystems.get",
"@azure/arm-dell-storage!OperationsOperations#list:member": "Azure.ResourceManager.Operations.list"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
```ts

import { Client } from '@azure-rest/core-client';
import { OperationOptions } from '@azure-rest/core-client';
import { OperationState } from '@azure/core-lro';
import { PollerLike } from '@azure/core-lro';
import type { Client } from '@azure-rest/core-client';
import type { OperationOptions } from '@azure-rest/core-client';
import type { OperationState } from '@azure/core-lro';
import type { PollerLike } from '@azure/core-lro';

// @public
export function $delete(context: StorageContext, resourceGroupName: string, filesystemName: string, options?: FileSystemsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@

```ts

import { Client } from '@azure-rest/core-client';
import { ClientOptions } from '@azure-rest/core-client';
import { TokenCredential } from '@azure/core-auth';
import type { Client } from '@azure-rest/core-client';
import type { ClientOptions } from '@azure-rest/core-client';
import type { TokenCredential } from '@azure/core-auth';

// @public
export function createStorage(credential: TokenCredential, subscriptionId: string, options?: StorageClientOptionalParams): StorageContext;

// @public
export interface StorageClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

```ts

import { Client } from '@azure-rest/core-client';
import { OperationOptions } from '@azure-rest/core-client';
import type { Client } from '@azure-rest/core-client';
import type { OperationOptions } from '@azure-rest/core-client';

// @public
export function list(context: StorageContext, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export enum KnownResourceEncryptionType {

// @public
export enum KnownVersions {
V2Preview = "2025-03-21-preview"
V20250321 = "2025-03-21"
}

// @public
Expand Down
29 changes: 20 additions & 9 deletions sdk/dell/arm-dell-storage/review/arm-dell-storage-node.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@

```ts

import { AbortSignalLike } from '@azure/abort-controller';
import { ClientOptions } from '@azure-rest/core-client';
import { OperationOptions } from '@azure-rest/core-client';
import { OperationState } from '@azure/core-lro';
import { PathUncheckedResponse } from '@azure-rest/core-client';
import { Pipeline } from '@azure/core-rest-pipeline';
import { PollerLike } from '@azure/core-lro';
import { TokenCredential } from '@azure/core-auth';
import type { AbortSignalLike } from '@azure/abort-controller';
import type { ClientOptions } from '@azure-rest/core-client';
import type { OperationOptions } from '@azure-rest/core-client';
import type { OperationState } from '@azure/core-lro';
import type { PathUncheckedResponse } from '@azure-rest/core-client';
import type { Pipeline } from '@azure/core-rest-pipeline';
import type { PollerLike } from '@azure/core-lro';
import type { TokenCredential } from '@azure/core-auth';

// @public
export type ActionType = string;

// @public
export enum AzureClouds {
AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
}

// @public
export type AzureSupportedClouds = `${AzureClouds}`;

// @public
export interface Capacity {
current?: string;
Expand Down Expand Up @@ -215,7 +225,7 @@ export enum KnownResourceEncryptionType {

// @public
export enum KnownVersions {
V2Preview = "2025-03-21-preview"
V20250321 = "2025-03-21"
}

// @public
Expand Down Expand Up @@ -327,6 +337,7 @@ export class StorageClient {
// @public
export interface StorageClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to create a FileSystemResource
*
* @summary create a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_CreateOrUpdate_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_CreateOrUpdate_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsCreateOrUpdateMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
Expand Down Expand Up @@ -53,7 +52,7 @@ async function fileSystemsCreateOrUpdateMaximumSetGen(): Promise<void> {
* This sample demonstrates how to create a FileSystemResource
*
* @summary create a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_CreateOrUpdate_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_CreateOrUpdate_MinimumSet_Gen.json
*/
async function fileSystemsCreateOrUpdateMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to delete a FileSystemResource
*
* @summary delete a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Delete_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Delete_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsDeleteMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
Expand All @@ -22,7 +21,7 @@ async function fileSystemsDeleteMaximumSetGen(): Promise<void> {
* This sample demonstrates how to delete a FileSystemResource
*
* @summary delete a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Delete_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Delete_MinimumSet_Gen.json
*/
async function fileSystemsDeleteMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
Expand Down
11 changes: 5 additions & 6 deletions sdk/dell/arm-dell-storage/samples-dev/fileSystemsGetSample.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to get a FileSystemResource
*
* @summary get a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Get_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Get_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsGetMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
Expand All @@ -23,7 +22,7 @@ async function fileSystemsGetMaximumSetGen(): Promise<void> {
* This sample demonstrates how to get a FileSystemResource
*
* @summary get a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Get_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Get_MinimumSet_Gen.json
*/
async function fileSystemsGetMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to list FileSystemResource resources by resource group
*
* @summary list FileSystemResource resources by resource group
* x-ms-original-file: 2025-03-21-preview/FileSystems_ListByResourceGroup_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_ListByResourceGroup_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsListByResourceGroupMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
Expand All @@ -27,7 +26,7 @@ async function fileSystemsListByResourceGroupMaximumSetGen(): Promise<void> {
* This sample demonstrates how to list FileSystemResource resources by resource group
*
* @summary list FileSystemResource resources by resource group
* x-ms-original-file: 2025-03-21-preview/FileSystems_ListByResourceGroup_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_ListByResourceGroup_MinimumSet_Gen.json
*/
async function fileSystemsListByResourceGroupMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to list FileSystemResource resources by subscription ID
*
* @summary list FileSystemResource resources by subscription ID
* x-ms-original-file: 2025-03-21-preview/FileSystems_ListBySubscription_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_ListBySubscription_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsListBySubscriptionMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
Expand All @@ -27,7 +26,7 @@ async function fileSystemsListBySubscriptionMaximumSetGen(): Promise<void> {
* This sample demonstrates how to list FileSystemResource resources by subscription ID
*
* @summary list FileSystemResource resources by subscription ID
* x-ms-original-file: 2025-03-21-preview/FileSystems_ListBySubscription_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_ListBySubscription_MinimumSet_Gen.json
*/
async function fileSystemsListBySubscriptionMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to update a FileSystemResource
*
* @summary update a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Update_MaximumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Update_MaximumSet_Gen.json
*/

import { StorageClient } from "@azure/arm-dell-storage";
import { DefaultAzureCredential } from "@azure/identity";

async function fileSystemsUpdateMaximumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208";
const client = new StorageClient(credential, subscriptionId);
const result = await client.fileSystems.update("rgDell", "abcd", {
identity: {
type: "SystemAssigned,UserAssigned",
userAssignedIdentities: { key7645: {} },
},
identity: { type: "SystemAssigned,UserAssigned", userAssignedIdentities: { key7645: {} } },
tags: { key6099: "ursbxlphfcguvntuevleacwq" },
properties: {
delegatedSubnetId: "bfpuabdz",
Expand All @@ -42,17 +38,14 @@ async function fileSystemsUpdateMaximumSetGen(): Promise<void> {
* This sample demonstrates how to update a FileSystemResource
*
* @summary update a FileSystemResource
* x-ms-original-file: 2025-03-21-preview/FileSystems_Update_MinimumSet_Gen.json
* x-ms-original-file: 2025-03-21/FileSystems_Update_MinimumSet_Gen.json
*/
async function fileSystemsUpdateMinimumSetGen(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "BF7E7352-2FE4-4163-9CF7-5FF8EC2E9B92";
const client = new StorageClient(credential, subscriptionId);
const result = await client.fileSystems.update("rgDell", "abcd", {
properties: {
delegatedSubnetId: "uqfvajvyltgmqvdnxhbrfqbpuey",
capacity: { current: "5" },
},
properties: { delegatedSubnetId: "uqfvajvyltgmqvdnxhbrfqbpuey", capacity: { current: "5" } },
});
console.log(result);
}
Expand Down
Loading
Loading