diff --git a/sdk/dell/arm-dell-storage/CHANGELOG.md b/sdk/dell/arm-dell-storage/CHANGELOG.md index 9c2f8b4a9af1..89e588e7fd08 100644 --- a/sdk/dell/arm-dell-storage/CHANGELOG.md +++ b/sdk/dell/arm-dell-storage/CHANGELOG.md @@ -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 diff --git a/sdk/dell/arm-dell-storage/README.md b/sdk/dell/arm-dell-storage/README.md index ca7c372856c7..fe1524639916 100644 --- a/sdk/dell/arm-dell-storage/README.md +++ b/sdk/dell/arm-dell-storage/README.md @@ -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 diff --git a/sdk/dell/arm-dell-storage/metadata.json b/sdk/dell/arm-dell-storage/metadata.json index 6b0480526bb2..b35df2f06bea 100644 --- a/sdk/dell/arm-dell-storage/metadata.json +++ b/sdk/dell/arm-dell-storage/metadata.json @@ -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" + } + } } diff --git a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-fileSystems-node.api.md b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-fileSystems-node.api.md index c6c2e8e51c4f..0be9086bcd69 100644 --- a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-fileSystems-node.api.md +++ b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-fileSystems-node.api.md @@ -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, void>; diff --git a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-node.api.md b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-node.api.md index 5892262f79c0..527f124d5602 100644 --- a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-node.api.md +++ b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-node.api.md @@ -4,9 +4,9 @@ ```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; @@ -14,6 +14,7 @@ export function createStorage(credential: TokenCredential, subscriptionId: strin // @public export interface StorageClientOptionalParams extends ClientOptions { apiVersion?: string; + cloudSetting?: AzureSupportedClouds; } // @public diff --git a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-operations-node.api.md b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-operations-node.api.md index a836da080399..77d7c5b5081a 100644 --- a/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-operations-node.api.md +++ b/sdk/dell/arm-dell-storage/review/arm-dell-storage-api-operations-node.api.md @@ -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; diff --git a/sdk/dell/arm-dell-storage/review/arm-dell-storage-models-node.api.md b/sdk/dell/arm-dell-storage/review/arm-dell-storage-models-node.api.md index 41e28e9b5f74..0553b5a88e67 100644 --- a/sdk/dell/arm-dell-storage/review/arm-dell-storage-models-node.api.md +++ b/sdk/dell/arm-dell-storage/review/arm-dell-storage-models-node.api.md @@ -165,7 +165,7 @@ export enum KnownResourceEncryptionType { // @public export enum KnownVersions { - V2Preview = "2025-03-21-preview" + V20250321 = "2025-03-21" } // @public diff --git a/sdk/dell/arm-dell-storage/review/arm-dell-storage-node.api.md b/sdk/dell/arm-dell-storage/review/arm-dell-storage-node.api.md index 2ac04322c8c6..e8f2ed783743 100644 --- a/sdk/dell/arm-dell-storage/review/arm-dell-storage-node.api.md +++ b/sdk/dell/arm-dell-storage/review/arm-dell-storage-node.api.md @@ -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; @@ -215,7 +225,7 @@ export enum KnownResourceEncryptionType { // @public export enum KnownVersions { - V2Preview = "2025-03-21-preview" + V20250321 = "2025-03-21" } // @public @@ -327,6 +337,7 @@ export class StorageClient { // @public export interface StorageClientOptionalParams extends ClientOptions { apiVersion?: string; + cloudSetting?: AzureSupportedClouds; } // @public diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsCreateOrUpdateSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsCreateOrUpdateSample.ts index 63f7edf96b34..1472993462d4 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsCreateOrUpdateSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsCreateOrUpdateSample.ts @@ -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 { const credential = new DefaultAzureCredential(); const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208"; @@ -53,7 +52,7 @@ async function fileSystemsCreateOrUpdateMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsDeleteSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsDeleteSample.ts index 28b52714ec49..1d196459c917 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsDeleteSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsDeleteSample.ts @@ -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 { const credential = new DefaultAzureCredential(); const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208"; @@ -22,7 +21,7 @@ async function fileSystemsDeleteMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsGetSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsGetSample.ts index ee7d7f597886..7e82d9f959f4 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsGetSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsGetSample.ts @@ -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 { const credential = new DefaultAzureCredential(); const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208"; @@ -23,7 +22,7 @@ async function fileSystemsGetMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListByResourceGroupSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListByResourceGroupSample.ts index cc0484460d9e..6f2eb626a422 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListByResourceGroupSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListByResourceGroupSample.ts @@ -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 { const credential = new DefaultAzureCredential(); const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208"; @@ -27,7 +26,7 @@ async function fileSystemsListByResourceGroupMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListBySubscriptionSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListBySubscriptionSample.ts index 69a529e986c9..88ff6a80bfee 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListBySubscriptionSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsListBySubscriptionSample.ts @@ -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 { const credential = new DefaultAzureCredential(); const subscriptionId = "4B6E265D-57CF-4A9D-8B35-3CC68ED9D208"; @@ -27,7 +26,7 @@ async function fileSystemsListBySubscriptionMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsUpdateSample.ts b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsUpdateSample.ts index 1dcb95614d5d..23a380478a09 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/fileSystemsUpdateSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/fileSystemsUpdateSample.ts @@ -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 { 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", @@ -42,17 +38,14 @@ async function fileSystemsUpdateMaximumSetGen(): Promise { * 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 { 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); } diff --git a/sdk/dell/arm-dell-storage/samples-dev/operationsListSample.ts b/sdk/dell/arm-dell-storage/samples-dev/operationsListSample.ts index 86281ae0881a..50ed6d3a8e73 100644 --- a/sdk/dell/arm-dell-storage/samples-dev/operationsListSample.ts +++ b/sdk/dell/arm-dell-storage/samples-dev/operationsListSample.ts @@ -1,19 +1,18 @@ // 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 the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MaximumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MaximumSet_Gen.json */ - -import { StorageClient } from "@azure/arm-dell-storage"; -import { DefaultAzureCredential } from "@azure/identity"; - async function operationsListMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { @@ -27,11 +26,11 @@ async function operationsListMaximumSetGen(): Promise { * This sample demonstrates how to list the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MinimumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MinimumSet_Gen.json */ async function operationsListMinimumSetGen(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/README.md b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/README.md index 5e168ecb2987..4a07d8a5f918 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/README.md +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/README.md @@ -2,15 +2,15 @@ These sample programs show how to use the JavaScript client libraries for @azure/arm-dell-storage in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| [fileSystemsCreateOrUpdateSample.js][filesystemscreateorupdatesample] | create a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_CreateOrUpdate_MaximumSet_Gen.json | -| [fileSystemsDeleteSample.js][filesystemsdeletesample] | delete a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Delete_MaximumSet_Gen.json | -| [fileSystemsGetSample.js][filesystemsgetsample] | get a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Get_MaximumSet_Gen.json | -| [fileSystemsListByResourceGroupSample.js][filesystemslistbyresourcegroupsample] | list FileSystemResource resources by resource group x-ms-original-file: 2025-03-21-preview/FileSystems_ListByResourceGroup_MaximumSet_Gen.json | -| [fileSystemsListBySubscriptionSample.js][filesystemslistbysubscriptionsample] | list FileSystemResource resources by subscription ID x-ms-original-file: 2025-03-21-preview/FileSystems_ListBySubscription_MaximumSet_Gen.json | -| [fileSystemsUpdateSample.js][filesystemsupdatesample] | update a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Update_MaximumSet_Gen.json | -| [operationsListSample.js][operationslistsample] | list the operations for the provider x-ms-original-file: 2025-03-21-preview/Operations_List_MaximumSet_Gen.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| [fileSystemsCreateOrUpdateSample.js][filesystemscreateorupdatesample] | create a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_CreateOrUpdate_MaximumSet_Gen.json | +| [fileSystemsDeleteSample.js][filesystemsdeletesample] | delete a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Delete_MaximumSet_Gen.json | +| [fileSystemsGetSample.js][filesystemsgetsample] | get a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Get_MaximumSet_Gen.json | +| [fileSystemsListByResourceGroupSample.js][filesystemslistbyresourcegroupsample] | list FileSystemResource resources by resource group x-ms-original-file: 2025-03-21/FileSystems_ListByResourceGroup_MaximumSet_Gen.json | +| [fileSystemsListBySubscriptionSample.js][filesystemslistbysubscriptionsample] | list FileSystemResource resources by subscription ID x-ms-original-file: 2025-03-21/FileSystems_ListBySubscription_MaximumSet_Gen.json | +| [fileSystemsUpdateSample.js][filesystemsupdatesample] | update a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Update_MaximumSet_Gen.json | +| [operationsListSample.js][operationslistsample] | list the operations for the provider x-ms-original-file: 2025-03-21/Operations_List_MaximumSet_Gen.json | ## Prerequisites @@ -40,10 +40,10 @@ npm install node fileSystemsCreateOrUpdateSample.js ``` -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): +Alternatively, run a single sample with the required environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): ```bash -cross-env node fileSystemsCreateOrUpdateSample.js +node fileSystemsCreateOrUpdateSample.js ``` ## Next Steps diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsCreateOrUpdateSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsCreateOrUpdateSample.js index 76aa79038420..ddea812fecce 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsCreateOrUpdateSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsCreateOrUpdateSample.js @@ -8,7 +8,7 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsCreateOrUpdateMaximumSetGen() { const credential = new DefaultAzureCredential(); @@ -52,7 +52,7 @@ async function fileSystemsCreateOrUpdateMaximumSetGen() { * 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() { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsDeleteSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsDeleteSample.js index 1f6190e4fd57..864cf131718c 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsDeleteSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsDeleteSample.js @@ -8,7 +8,7 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsDeleteMaximumSetGen() { const credential = new DefaultAzureCredential(); @@ -21,7 +21,7 @@ async function fileSystemsDeleteMaximumSetGen() { * 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() { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsGetSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsGetSample.js index 8b6dcc88e750..6891749c0433 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsGetSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsGetSample.js @@ -8,7 +8,7 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsGetMaximumSetGen() { const credential = new DefaultAzureCredential(); @@ -22,7 +22,7 @@ async function fileSystemsGetMaximumSetGen() { * 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() { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListByResourceGroupSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListByResourceGroupSample.js index eab6b8967858..9326e2ed08fb 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListByResourceGroupSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListByResourceGroupSample.js @@ -8,7 +8,7 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsListByResourceGroupMaximumSetGen() { const credential = new DefaultAzureCredential(); @@ -26,7 +26,7 @@ async function fileSystemsListByResourceGroupMaximumSetGen() { * 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() { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListBySubscriptionSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListBySubscriptionSample.js index 4976f535eae6..909621bd3090 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListBySubscriptionSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsListBySubscriptionSample.js @@ -8,7 +8,7 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsListBySubscriptionMaximumSetGen() { const credential = new DefaultAzureCredential(); @@ -26,7 +26,7 @@ async function fileSystemsListBySubscriptionMaximumSetGen() { * 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() { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsUpdateSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsUpdateSample.js index 5fdcc7dbd791..f760b64c6a53 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsUpdateSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/fileSystemsUpdateSample.js @@ -8,17 +8,14 @@ const { DefaultAzureCredential } = require("@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 */ async function fileSystemsUpdateMaximumSetGen() { 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", @@ -41,17 +38,14 @@ async function fileSystemsUpdateMaximumSetGen() { * 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() { 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); } diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/operationsListSample.js b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/operationsListSample.js index 4894899a215f..4edf1a67a2f0 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/operationsListSample.js +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/operationsListSample.js @@ -8,11 +8,11 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to list the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MaximumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MaximumSet_Gen.json */ async function operationsListMaximumSetGen() { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { @@ -26,11 +26,11 @@ async function operationsListMaximumSetGen() { * This sample demonstrates how to list the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MinimumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MinimumSet_Gen.json */ async function operationsListMinimumSetGen() { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/package.json b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/package.json index 12c81ed97d3f..fe177e54dd43 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/package.json +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/javascript/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "@azure/arm-dell-storage client library samples for JavaScript (Beta)", "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "repository": { "type": "git", @@ -28,6 +28,9 @@ "dependencies": { "@azure/arm-dell-storage": "next", "dotenv": "latest", - "@azure/identity": "^4.9.1" + "@azure/identity": "^4.13.0" + }, + "devDependencies": { + "cross-env": "latest" } } diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/README.md b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/README.md index 11937603a879..197a57db03e7 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/README.md +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/README.md @@ -2,15 +2,15 @@ These sample programs show how to use the TypeScript client libraries for @azure/arm-dell-storage in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| [fileSystemsCreateOrUpdateSample.ts][filesystemscreateorupdatesample] | create a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_CreateOrUpdate_MaximumSet_Gen.json | -| [fileSystemsDeleteSample.ts][filesystemsdeletesample] | delete a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Delete_MaximumSet_Gen.json | -| [fileSystemsGetSample.ts][filesystemsgetsample] | get a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Get_MaximumSet_Gen.json | -| [fileSystemsListByResourceGroupSample.ts][filesystemslistbyresourcegroupsample] | list FileSystemResource resources by resource group x-ms-original-file: 2025-03-21-preview/FileSystems_ListByResourceGroup_MaximumSet_Gen.json | -| [fileSystemsListBySubscriptionSample.ts][filesystemslistbysubscriptionsample] | list FileSystemResource resources by subscription ID x-ms-original-file: 2025-03-21-preview/FileSystems_ListBySubscription_MaximumSet_Gen.json | -| [fileSystemsUpdateSample.ts][filesystemsupdatesample] | update a FileSystemResource x-ms-original-file: 2025-03-21-preview/FileSystems_Update_MaximumSet_Gen.json | -| [operationsListSample.ts][operationslistsample] | list the operations for the provider x-ms-original-file: 2025-03-21-preview/Operations_List_MaximumSet_Gen.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| [fileSystemsCreateOrUpdateSample.ts][filesystemscreateorupdatesample] | create a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_CreateOrUpdate_MaximumSet_Gen.json | +| [fileSystemsDeleteSample.ts][filesystemsdeletesample] | delete a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Delete_MaximumSet_Gen.json | +| [fileSystemsGetSample.ts][filesystemsgetsample] | get a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Get_MaximumSet_Gen.json | +| [fileSystemsListByResourceGroupSample.ts][filesystemslistbyresourcegroupsample] | list FileSystemResource resources by resource group x-ms-original-file: 2025-03-21/FileSystems_ListByResourceGroup_MaximumSet_Gen.json | +| [fileSystemsListBySubscriptionSample.ts][filesystemslistbysubscriptionsample] | list FileSystemResource resources by subscription ID x-ms-original-file: 2025-03-21/FileSystems_ListBySubscription_MaximumSet_Gen.json | +| [fileSystemsUpdateSample.ts][filesystemsupdatesample] | update a FileSystemResource x-ms-original-file: 2025-03-21/FileSystems_Update_MaximumSet_Gen.json | +| [operationsListSample.ts][operationslistsample] | list the operations for the provider x-ms-original-file: 2025-03-21/Operations_List_MaximumSet_Gen.json | ## Prerequisites @@ -52,10 +52,10 @@ npm run build node dist/fileSystemsCreateOrUpdateSample.js ``` -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): +Alternatively, run a single sample with the required environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): ```bash -cross-env node dist/fileSystemsCreateOrUpdateSample.js +node dist/fileSystemsCreateOrUpdateSample.js ``` ## Next Steps diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/package.json b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/package.json index d95c8fe17ecb..295225306f60 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/package.json +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "@azure/arm-dell-storage client library samples for TypeScript (Beta)", "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "scripts": { "build": "tsc", @@ -32,11 +32,12 @@ "dependencies": { "@azure/arm-dell-storage": "next", "dotenv": "latest", - "@azure/identity": "^4.9.1" + "@azure/identity": "^4.13.0" }, "devDependencies": { - "@types/node": "^18.0.0", - "typescript": "~5.8.2", - "rimraf": "latest" + "@types/node": "^20.0.0", + "cross-env": "latest", + "rimraf": "latest", + "typescript": "~5.9.3" } } diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsCreateOrUpdateSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsCreateOrUpdateSample.ts index b3624751d3a1..1472993462d4 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsCreateOrUpdateSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsCreateOrUpdateSample.ts @@ -8,7 +8,7 @@ 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 */ async function fileSystemsCreateOrUpdateMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); @@ -52,7 +52,7 @@ async function fileSystemsCreateOrUpdateMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsDeleteSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsDeleteSample.ts index 4c499f5e650c..1d196459c917 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsDeleteSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsDeleteSample.ts @@ -8,7 +8,7 @@ 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 */ async function fileSystemsDeleteMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); @@ -21,7 +21,7 @@ async function fileSystemsDeleteMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsGetSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsGetSample.ts index 3ef96956d7d2..7e82d9f959f4 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsGetSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsGetSample.ts @@ -8,7 +8,7 @@ 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 */ async function fileSystemsGetMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); @@ -22,7 +22,7 @@ async function fileSystemsGetMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListByResourceGroupSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListByResourceGroupSample.ts index f011d2e37ba5..6f2eb626a422 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListByResourceGroupSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListByResourceGroupSample.ts @@ -8,7 +8,7 @@ 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 */ async function fileSystemsListByResourceGroupMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); @@ -26,7 +26,7 @@ async function fileSystemsListByResourceGroupMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListBySubscriptionSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListBySubscriptionSample.ts index 4986e2f771cd..88ff6a80bfee 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListBySubscriptionSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsListBySubscriptionSample.ts @@ -8,7 +8,7 @@ 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 */ async function fileSystemsListBySubscriptionMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); @@ -26,7 +26,7 @@ async function fileSystemsListBySubscriptionMaximumSetGen(): Promise { * 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 { const credential = new DefaultAzureCredential(); diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsUpdateSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsUpdateSample.ts index 276a07ea130a..23a380478a09 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsUpdateSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/fileSystemsUpdateSample.ts @@ -8,17 +8,14 @@ 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 */ async function fileSystemsUpdateMaximumSetGen(): Promise { 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", @@ -41,17 +38,14 @@ async function fileSystemsUpdateMaximumSetGen(): Promise { * 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 { 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); } diff --git a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/operationsListSample.ts index e29e51284e3c..50ed6d3a8e73 100644 --- a/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/operationsListSample.ts +++ b/sdk/dell/arm-dell-storage/samples/v1-beta/typescript/src/operationsListSample.ts @@ -8,11 +8,11 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to list the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MaximumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MaximumSet_Gen.json */ async function operationsListMaximumSetGen(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { @@ -26,11 +26,11 @@ async function operationsListMaximumSetGen(): Promise { * This sample demonstrates how to list the operations for the provider * * @summary list the operations for the provider - * x-ms-original-file: 2025-03-21-preview/Operations_List_MinimumSet_Gen.json + * x-ms-original-file: 2025-03-21/Operations_List_MinimumSet_Gen.json */ async function operationsListMinimumSetGen(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorageClient(credential, subscriptionId); const resArray = new Array(); for await (const item of client.operations.list()) { diff --git a/sdk/dell/arm-dell-storage/src/api/fileSystems/operations.ts b/sdk/dell/arm-dell-storage/src/api/fileSystems/operations.ts index feaede626bef..68c5ec0f7090 100644 --- a/sdk/dell/arm-dell-storage/src/api/fileSystems/operations.ts +++ b/sdk/dell/arm-dell-storage/src/api/fileSystems/operations.ts @@ -1,18 +1,24 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { StorageContext as Client } from "../index.js"; +import type { StorageContext as Client } from "../index.js"; +import type { + FileSystemResource, + FileSystemResourceUpdate, + _FileSystemResourceListResult, +} from "../../models/models.js"; import { errorResponseDeserializer, - FileSystemResource, fileSystemResourceSerializer, fileSystemResourceDeserializer, - FileSystemResourceUpdate, fileSystemResourceUpdateSerializer, - _FileSystemResourceListResult, _fileSystemResourceListResultDeserializer, } from "../../models/models.js"; -import { +import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; +import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js"; +import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js"; +import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js"; +import type { FileSystemsListBySubscriptionOptionalParams, FileSystemsListByResourceGroupOptionalParams, FileSystemsDeleteOptionalParams, @@ -20,19 +26,9 @@ import { FileSystemsCreateOrUpdateOptionalParams, FileSystemsGetOptionalParams, } from "./options.js"; -import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js"; -import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js"; -import { - PagedAsyncIterableIterator, - buildPagedAsyncIterator, -} from "../../static-helpers/pagingHelpers.js"; -import { - StreamableMethod, - PathUncheckedResponse, - createRestError, - operationOptionsToRequestParameters, -} from "@azure-rest/core-client"; -import { PollerLike, OperationState } from "@azure/core-lro"; +import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; +import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client"; +import type { PollerLike, OperationState } from "@azure/core-lro"; export function _listBySubscriptionSend( context: Client, @@ -50,10 +46,7 @@ export function _listBySubscriptionSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -87,9 +80,7 @@ export function listBySubscription( export function _listByResourceGroupSend( context: Client, resourceGroupName: string, - options: FileSystemsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: FileSystemsListByResourceGroupOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dell.Storage/filesystems{?api%2Dversion}", @@ -104,10 +95,7 @@ export function _listByResourceGroupSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -128,9 +116,7 @@ export async function _listByResourceGroupDeserialize( export function listByResourceGroup( context: Client, resourceGroupName: string, - options: FileSystemsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: FileSystemsListByResourceGroupOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -159,17 +145,11 @@ export function _$deleteSend( allowReserved: options?.requestOptions?.skipUrlEncoding, }, ); - return context.path(path).delete({ - ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, - }); + return context.path(path).delete({ ...operationOptionsToRequestParameters(options) }); } export async function _$deleteDeserialize(result: PathUncheckedResponse): Promise { - const expectedStatuses = ["202", "204", "200"]; + const expectedStatuses = ["202", "204", "200", "201"]; if (!expectedStatuses.includes(result.status)) { const error = createRestError(result); error.details = errorResponseDeserializer(result.body); @@ -191,7 +171,7 @@ export function $delete( filesystemName: string, options: FileSystemsDeleteOptionalParams = { requestOptions: {} }, ): PollerLike, void> { - return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], { + return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, abortSignal: options?.abortSignal, getInitialResponse: () => _$deleteSend(context, resourceGroupName, filesystemName, options), @@ -221,10 +201,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: fileSystemResourceUpdateSerializer(properties), }); } @@ -276,10 +253,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: fileSystemResourceSerializer(resource), }); } @@ -334,10 +308,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/dell/arm-dell-storage/src/api/fileSystems/options.ts b/sdk/dell/arm-dell-storage/src/api/fileSystems/options.ts index b5549541b20f..a7a4ecc661cd 100644 --- a/sdk/dell/arm-dell-storage/src/api/fileSystems/options.ts +++ b/sdk/dell/arm-dell-storage/src/api/fileSystems/options.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { OperationOptions } from "@azure-rest/core-client"; +import type { OperationOptions } from "@azure-rest/core-client"; /** Optional parameters. */ export interface FileSystemsListBySubscriptionOptionalParams extends OperationOptions {} diff --git a/sdk/dell/arm-dell-storage/src/api/operations/operations.ts b/sdk/dell/arm-dell-storage/src/api/operations/operations.ts index 6da0374e12cc..a5ec0a993432 100644 --- a/sdk/dell/arm-dell-storage/src/api/operations/operations.ts +++ b/sdk/dell/arm-dell-storage/src/api/operations/operations.ts @@ -1,25 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { StorageContext as Client } from "../index.js"; +import type { StorageContext as Client } from "../index.js"; +import type { _OperationListResult, Operation } from "../../models/models.js"; import { - _OperationListResult, _operationListResultDeserializer, - Operation, errorResponseDeserializer, } from "../../models/models.js"; -import { OperationsListOptionalParams } from "./options.js"; +import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; +import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js"; import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js"; -import { - PagedAsyncIterableIterator, - buildPagedAsyncIterator, -} from "../../static-helpers/pagingHelpers.js"; -import { - StreamableMethod, - PathUncheckedResponse, - createRestError, - operationOptionsToRequestParameters, -} from "@azure-rest/core-client"; +import type { OperationsListOptionalParams } from "./options.js"; +import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; +import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client"; export function _listSend( context: Client, @@ -36,10 +29,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/dell/arm-dell-storage/src/api/operations/options.ts b/sdk/dell/arm-dell-storage/src/api/operations/options.ts index c461016ad1c5..b9a3fd9758a3 100644 --- a/sdk/dell/arm-dell-storage/src/api/operations/options.ts +++ b/sdk/dell/arm-dell-storage/src/api/operations/options.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { OperationOptions } from "@azure-rest/core-client"; +import type { OperationOptions } from "@azure-rest/core-client"; /** Optional parameters. */ export interface OperationsListOptionalParams extends OperationOptions {} diff --git a/sdk/dell/arm-dell-storage/src/api/storageContext.ts b/sdk/dell/arm-dell-storage/src/api/storageContext.ts index 6d2c628e16df..d3713cbf69ea 100644 --- a/sdk/dell/arm-dell-storage/src/api/storageContext.ts +++ b/sdk/dell/arm-dell-storage/src/api/storageContext.ts @@ -3,8 +3,11 @@ import { logger } from "../logger.js"; import { KnownVersions } from "../models/models.js"; -import { Client, ClientOptions, getClient } from "@azure-rest/core-client"; -import { TokenCredential } from "@azure/core-auth"; +import type { AzureSupportedClouds } from "../static-helpers/cloudSettingHelpers.js"; +import { getArmEndpoint } from "../static-helpers/cloudSettingHelpers.js"; +import type { Client, ClientOptions } from "@azure-rest/core-client"; +import { getClient } from "@azure-rest/core-client"; +import type { TokenCredential } from "@azure/core-auth"; /** Dell Storage service */ export interface StorageContext extends Client { @@ -20,6 +23,8 @@ export interface StorageClientOptionalParams extends ClientOptions { /** The API version to use for this operation. */ /** Known values of {@link KnownVersions} that the service accepts. */ apiVersion?: string; + /** Specifies the Azure cloud environment for the client. */ + cloudSetting?: AzureSupportedClouds; } /** Dell Storage service */ @@ -28,7 +33,8 @@ export function createStorage( subscriptionId: string, options: StorageClientOptionalParams = {}, ): StorageContext { - const endpointUrl = options.endpoint ?? "https://management.azure.com"; + const endpointUrl = + options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com"; const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; const userAgentInfo = `azsdk-js-arm-dell-storage/1.0.0-beta.1`; const userAgentPrefix = prefixFromOptions @@ -38,13 +44,11 @@ export function createStorage( ...options, userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info }, - credentials: { - scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`], - }, + credentials: { scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`] }, }; const clientContext = getClient(endpointUrl, credential, updatedOptions); clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" }); - const apiVersion = options.apiVersion ?? "2025-03-21-preview"; + const apiVersion = options.apiVersion ?? "2025-03-21"; clientContext.pipeline.addPolicy({ name: "ClientApiVersionPolicy", sendRequest: (req, next) => { diff --git a/sdk/dell/arm-dell-storage/src/classic/fileSystems/index.ts b/sdk/dell/arm-dell-storage/src/classic/fileSystems/index.ts index 67993bc1e436..c0b418af3568 100644 --- a/sdk/dell/arm-dell-storage/src/classic/fileSystems/index.ts +++ b/sdk/dell/arm-dell-storage/src/classic/fileSystems/index.ts @@ -1,16 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { StorageContext } from "../../api/storageContext.js"; -import { FileSystemResource, FileSystemResourceUpdate } from "../../models/models.js"; -import { - FileSystemsListBySubscriptionOptionalParams, - FileSystemsListByResourceGroupOptionalParams, - FileSystemsDeleteOptionalParams, - FileSystemsUpdateOptionalParams, - FileSystemsCreateOrUpdateOptionalParams, - FileSystemsGetOptionalParams, -} from "../../api/fileSystems/options.js"; +import type { StorageContext } from "../../api/storageContext.js"; import { listBySubscription, listByResourceGroup, @@ -19,8 +10,17 @@ import { createOrUpdate, get, } from "../../api/fileSystems/operations.js"; -import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; -import { PollerLike, OperationState } from "@azure/core-lro"; +import type { + FileSystemsListBySubscriptionOptionalParams, + FileSystemsListByResourceGroupOptionalParams, + FileSystemsDeleteOptionalParams, + FileSystemsUpdateOptionalParams, + FileSystemsCreateOrUpdateOptionalParams, + FileSystemsGetOptionalParams, +} from "../../api/fileSystems/options.js"; +import type { FileSystemResource, FileSystemResourceUpdate } from "../../models/models.js"; +import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; +import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a FileSystems operations. */ export interface FileSystemsOperations { diff --git a/sdk/dell/arm-dell-storage/src/classic/operations/index.ts b/sdk/dell/arm-dell-storage/src/classic/operations/index.ts index e491782d1d99..a883a1faed7c 100644 --- a/sdk/dell/arm-dell-storage/src/classic/operations/index.ts +++ b/sdk/dell/arm-dell-storage/src/classic/operations/index.ts @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { StorageContext } from "../../api/storageContext.js"; -import { Operation } from "../../models/models.js"; -import { OperationsListOptionalParams } from "../../api/operations/options.js"; +import type { StorageContext } from "../../api/storageContext.js"; import { list } from "../../api/operations/operations.js"; -import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; +import type { OperationsListOptionalParams } from "../../api/operations/options.js"; +import type { Operation } from "../../models/models.js"; +import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a Operations operations. */ export interface OperationsOperations { diff --git a/sdk/dell/arm-dell-storage/src/index.ts b/sdk/dell/arm-dell-storage/src/index.ts index a0192fa33736..94c90a638b7f 100644 --- a/sdk/dell/arm-dell-storage/src/index.ts +++ b/sdk/dell/arm-dell-storage/src/index.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js"; import { PageSettings, ContinuablePage, @@ -62,3 +63,4 @@ export { export { OperationsListOptionalParams } from "./api/operations/index.js"; export { FileSystemsOperations, OperationsOperations } from "./classic/index.js"; export { PageSettings, ContinuablePage, PagedAsyncIterableIterator }; +export { AzureClouds, AzureSupportedClouds }; diff --git a/sdk/dell/arm-dell-storage/src/models/models.ts b/sdk/dell/arm-dell-storage/src/models/models.ts index a41e1dff937c..723bae53366b 100644 --- a/sdk/dell/arm-dell-storage/src/models/models.ts +++ b/sdk/dell/arm-dell-storage/src/models/models.ts @@ -1,6 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +/** + * This file contains only generated model types and their (de)serializers. + * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input. + */ +/* eslint-disable @typescript-eslint/naming-convention */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ export interface _OperationListResult { /** The Operation items on this page */ @@ -191,7 +197,9 @@ export function fileSystemResourceSerializer(item: FileSystemResource): any { export function fileSystemResourceDeserializer(item: any): FileSystemResource { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -484,10 +492,7 @@ export interface EncryptionIdentityProperties { } export function encryptionIdentityPropertiesSerializer(item: EncryptionIdentityProperties): any { - return { - identityType: item["identityType"], - identityResourceId: item["identityResourceId"], - }; + return { identityType: item["identityType"], identityResourceId: item["identityResourceId"] }; } export function encryptionIdentityPropertiesDeserializer(item: any): EncryptionIdentityProperties { @@ -528,10 +533,7 @@ export interface ManagedServiceIdentity { } export function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any { - return { - type: item["type"], - userAssignedIdentities: item["userAssignedIdentities"], - }; + return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] }; } export function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity { @@ -539,7 +541,14 @@ export function managedServiceIdentityDeserializer(item: any): ManagedServiceIde principalId: item["principalId"], tenantId: item["tenantId"], type: item["type"], - userAssignedIdentities: item["userAssignedIdentities"], + userAssignedIdentities: !item["userAssignedIdentities"] + ? item["userAssignedIdentities"] + : Object.fromEntries( + Object.entries(item["userAssignedIdentities"]).map(([k, p]: [string, any]) => [ + k, + !p ? p : userAssignedIdentityDeserializer(p), + ]), + ), }; } @@ -606,7 +615,9 @@ export function trackedResourceDeserializer(item: any): TrackedResource { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], }; } @@ -681,7 +692,7 @@ export enum KnownCreatedByType { /** * The kind of entity that created the resource. \ - * {@link KnowncreatedByType} can be used interchangeably with createdByType, + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: The entity was created by a user. \ @@ -722,10 +733,7 @@ export interface ManagedServiceIdentityUpdate { } export function managedServiceIdentityUpdateSerializer(item: ManagedServiceIdentityUpdate): any { - return { - type: item["type"], - userAssignedIdentities: item["userAssignedIdentities"], - }; + return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] }; } /** The updatable properties of the FileSystemResource. */ @@ -781,10 +789,7 @@ export interface EncryptionIdentityUpdateProperties { export function encryptionIdentityUpdatePropertiesSerializer( item: EncryptionIdentityUpdateProperties, ): any { - return { - identityType: item["identityType"], - identityResourceId: item["identityResourceId"], - }; + return { identityType: item["identityType"], identityResourceId: item["identityResourceId"] }; } /** The response of a FileSystemResource list operation. */ @@ -818,6 +823,6 @@ export function fileSystemResourceArrayDeserializer(result: Array( } interface DeserializationHelper { - deserializer: Function; + deserializer: (result: PathUncheckedResponse) => Promise; expectedStatuses: string[]; } const deserializeMap: Record = { "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dell.Storage/filesystems/{filesystemName}": - { - deserializer: _$deleteDeserialize, - expectedStatuses: ["202", "204", "200"], - }, + { deserializer: _$deleteDeserialize, expectedStatuses: ["202", "204", "200", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dell.Storage/filesystems/{filesystemName}": - { - deserializer: _createOrUpdateDeserialize, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] }, }; function getDeserializationHelper( diff --git a/sdk/dell/arm-dell-storage/src/static-helpers/cloudSettingHelpers.ts b/sdk/dell/arm-dell-storage/src/static-helpers/cloudSettingHelpers.ts new file mode 100644 index 000000000000..613112c6e397 --- /dev/null +++ b/sdk/dell/arm-dell-storage/src/static-helpers/cloudSettingHelpers.ts @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * An enum to describe Azure Cloud environments. + * @enum {string} + */ +export enum AzureClouds { + /** Azure public cloud, which is the default cloud for Azure SDKs. */ + AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD", + /** Azure China cloud */ + AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD", + /** Azure US government cloud */ + AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT", +} + +/** The supported values for cloud setting as a string literal type */ +export type AzureSupportedClouds = `${AzureClouds}`; + +/** + * Gets the Azure Resource Manager endpoint URL for the specified cloud setting. + * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values. + * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined. + * @throws {Error} Throws an error if an unknown cloud setting is provided. + */ +export function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined { + if (cloudSetting === undefined) { + return undefined; + } + const cloudEndpoints: Record = { + AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/", + AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/", + AZURE_PUBLIC_CLOUD: "https://management.azure.com/", + }; + if (cloudSetting in cloudEndpoints) { + return cloudEndpoints[cloudSetting]; + } else { + throw new Error( + `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`, + ); + } +} diff --git a/sdk/dell/arm-dell-storage/src/static-helpers/pagingHelpers.ts b/sdk/dell/arm-dell-storage/src/static-helpers/pagingHelpers.ts index ce33af5f4178..6f219e3c88cf 100644 --- a/sdk/dell/arm-dell-storage/src/static-helpers/pagingHelpers.ts +++ b/sdk/dell/arm-dell-storage/src/static-helpers/pagingHelpers.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; +import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; +import { createRestError } from "@azure-rest/core-client"; import { RestError } from "@azure/core-rest-pipeline"; /** @@ -79,6 +80,7 @@ export interface PagedResult< export interface BuildPagedAsyncIteratorOptions { itemName?: string; nextLinkName?: string; + nextLinkMethod?: "GET" | "POST"; } /** @@ -98,12 +100,15 @@ export function buildPagedAsyncIterator< ): PagedAsyncIterableIterator { const itemName = options.itemName ?? "value"; const nextLinkName = options.nextLinkName ?? "nextLink"; + const nextLinkMethod = options.nextLinkMethod ?? "GET"; const pagedResult: PagedResult = { getPage: async (pageLink?: string) => { const result = pageLink === undefined ? await getInitialResponse() - : await client.pathUnchecked(pageLink).get(); + : nextLinkMethod === "POST" + ? await client.pathUnchecked(pageLink).post() + : await client.pathUnchecked(pageLink).get(); checkPagingRequest(result, expectedStatuses); const results = await processResponseBody(result as TResponse); const nextLink = getNextLink(results, nextLinkName); diff --git a/sdk/dell/arm-dell-storage/src/static-helpers/pollingHelpers.ts b/sdk/dell/arm-dell-storage/src/static-helpers/pollingHelpers.ts index f01c41bab69d..63b3c201e5a8 100644 --- a/sdk/dell/arm-dell-storage/src/static-helpers/pollingHelpers.ts +++ b/sdk/dell/arm-dell-storage/src/static-helpers/pollingHelpers.ts @@ -1,17 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { +import type { PollerLike, OperationState, ResourceLocationConfig, RunningOperation, - createHttpPoller, OperationResponse, } from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; -import { Client, PathUncheckedResponse, createRestError } from "@azure-rest/core-client"; -import { AbortSignalLike } from "@azure/abort-controller"; +import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; +import { createRestError } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; export interface GetLongRunningPollerOptions { /** Delay to wait until next poll, in milliseconds. */ diff --git a/sdk/dell/arm-dell-storage/src/static-helpers/urlTemplate.ts b/sdk/dell/arm-dell-storage/src/static-helpers/urlTemplate.ts index 9aac558fb377..c7109898692a 100644 --- a/sdk/dell/arm-dell-storage/src/static-helpers/urlTemplate.ts +++ b/sdk/dell/arm-dell-storage/src/static-helpers/urlTemplate.ts @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -//--------------------- +// --------------------- // interfaces -//--------------------- +// --------------------- interface ValueOptions { isFirst: boolean; // is first value in the expression op?: string; // operator @@ -21,27 +21,27 @@ export interface UrlTemplateOptions { // --------------------- // helpers // --------------------- -function encodeComponent(val: string, reserved?: boolean, op?: string) { +function encodeComponent(val: string, reserved?: boolean, op?: string): string { return (reserved ?? op === "+") || op === "#" ? encodeReservedComponent(val) : encodeRFC3986URIComponent(val); } -function encodeReservedComponent(str: string) { +function encodeReservedComponent(str: string): string { return str .split(/(%[0-9A-Fa-f]{2})/g) .map((part) => (!/%[0-9A-Fa-f]/.test(part) ? encodeURI(part) : part)) .join(""); } -function encodeRFC3986URIComponent(str: string) { +function encodeRFC3986URIComponent(str: string): string { return encodeURIComponent(str).replace( /[!'()*]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`, ); } -function isDefined(val: any) { +function isDefined(val: any): boolean { return val !== undefined && val !== null; } @@ -49,7 +49,7 @@ function getNamedAndIfEmpty(op?: string): [boolean, string] { return [!!op && [";", "?", "&"].includes(op), !!op && ["?", "&"].includes(op) ? "=" : ""]; } -function getFirstOrSep(op?: string, isFirst = false) { +function getFirstOrSep(op?: string, isFirst = false): string { if (isFirst) { return !op || op === "+" ? "" : op; } else if (!op || op === "+" || op === "#") { @@ -61,7 +61,7 @@ function getFirstOrSep(op?: string, isFirst = false) { } } -function getExpandedValue(option: ValueOptions) { +function getExpandedValue(option: ValueOptions): string { let isFirst = option.isFirst; const { op, varName, varValue: value, reserved } = option; const vals: string[] = []; @@ -73,7 +73,11 @@ function getExpandedValue(option: ValueOptions) { vals.push(`${getFirstOrSep(op, isFirst)}`); if (named && varName) { vals.push(`${encodeURIComponent(varName)}`); - val === "" ? vals.push(ifEmpty) : vals.push("="); + if (val === "") { + vals.push(ifEmpty); + } else { + vals.push("="); + } } vals.push(encodeComponent(val, reserved, op)); isFirst = false; @@ -88,7 +92,11 @@ function getExpandedValue(option: ValueOptions) { vals.push(`${getFirstOrSep(op, isFirst)}`); if (key) { vals.push(`${encodeURIComponent(key)}`); - named && val === "" ? vals.push(ifEmpty) : vals.push("="); + if (named && val === "") { + vals.push(ifEmpty); + } else { + vals.push("="); + } } vals.push(encodeComponent(val, reserved, op)); isFirst = false; @@ -97,7 +105,7 @@ function getExpandedValue(option: ValueOptions) { return vals.join(""); } -function getNonExpandedValue(option: ValueOptions) { +function getNonExpandedValue(option: ValueOptions): string | undefined { const { op, varName, varValue: value, isFirst, reserved } = option; const vals: string[] = []; const first = getFirstOrSep(op, isFirst); @@ -143,7 +151,11 @@ function getVarValue(option: ValueOptions): string | undefined { if (named && varName) { // No need to encode varName considering it is already encoded vals.push(varName); - val === "" ? vals.push(ifEmpty) : vals.push("="); + if (val === "") { + vals.push(ifEmpty); + } else { + vals.push("="); + } } if (modifier && modifier !== "*") { val = val.substring(0, parseInt(modifier, 10)); @@ -165,18 +177,19 @@ export function expandUrlTemplate( context: Record, option?: UrlTemplateOptions, ): string { - return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, (_, expr, text) => { + const result = template.replace(/\{([^{}]+)\}|([^{}]+)/g, (_, expr, text) => { if (!expr) { return encodeReservedComponent(text); } let op; if (["+", "#", ".", "/", ";", "?", "&"].includes(expr[0])) { - ((op = expr[0]), (expr = expr.slice(1))); + op = expr[0]; + expr = expr.slice(1); } const varList = expr.split(/,/g); const result = []; for (const varSpec of varList) { - const varMatch = /([^:\*]*)(?::(\d+)|(\*))?/.exec(varSpec); + const varMatch = /([^:*]*)(?::(\d+)|(\*))?/.exec(varSpec); if (!varMatch || !varMatch[1]) { continue; } @@ -194,4 +207,21 @@ export function expandUrlTemplate( } return result.join(""); }); + + return normalizeUnreserved(result); +} + +/** + * Normalize an expanded URI by decoding percent-encoded unreserved characters. + * RFC 3986 unreserved: "-" / "." / "~" + */ +function normalizeUnreserved(uri: string): string { + return uri.replace(/%([0-9A-Fa-f]{2})/g, (match, hex) => { + const char = String.fromCharCode(parseInt(hex, 16)); + // Decode only if it's unreserved + if (/[\-.~]/.test(char)) { + return char; + } + return match; // leave other encodings intact + }); } diff --git a/sdk/dell/arm-dell-storage/src/storageClient.ts b/sdk/dell/arm-dell-storage/src/storageClient.ts index 76d24f68f358..32c3ad613964 100644 --- a/sdk/dell/arm-dell-storage/src/storageClient.ts +++ b/sdk/dell/arm-dell-storage/src/storageClient.ts @@ -1,11 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { createStorage, StorageContext, StorageClientOptionalParams } from "./api/index.js"; -import { FileSystemsOperations, _getFileSystemsOperations } from "./classic/fileSystems/index.js"; -import { OperationsOperations, _getOperationsOperations } from "./classic/operations/index.js"; -import { Pipeline } from "@azure/core-rest-pipeline"; -import { TokenCredential } from "@azure/core-auth"; +import type { StorageContext, StorageClientOptionalParams } from "./api/index.js"; +import { createStorage } from "./api/index.js"; +import type { FileSystemsOperations } from "./classic/fileSystems/index.js"; +import { _getFileSystemsOperations } from "./classic/fileSystems/index.js"; +import type { OperationsOperations } from "./classic/operations/index.js"; +import { _getOperationsOperations } from "./classic/operations/index.js"; +import type { TokenCredential } from "@azure/core-auth"; +import type { Pipeline } from "@azure/core-rest-pipeline"; export { StorageClientOptionalParams } from "./api/storageContext.js"; diff --git a/sdk/dell/arm-dell-storage/test/public/dellstorage_operations_test.spec.ts b/sdk/dell/arm-dell-storage/test/public/dellstorage_operations_test.spec.ts index 7541e785fcad..8da5bccea6fd 100644 --- a/sdk/dell/arm-dell-storage/test/public/dellstorage_operations_test.spec.ts +++ b/sdk/dell/arm-dell-storage/test/public/dellstorage_operations_test.spec.ts @@ -5,7 +5,8 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { env, Recorder, isPlaybackMode } from "@azure-tools/test-recorder"; +import type { Recorder } from "@azure-tools/test-recorder"; +import { env, isPlaybackMode } from "@azure-tools/test-recorder"; import { createTestCredential } from "@azure-tools/test-credential"; import { assert, beforeEach, afterEach, it, describe } from "vitest"; import { createRecorder } from "./utils/recordedClient.js"; @@ -34,7 +35,7 @@ describe("Dell Storage test", () => { }); it("operations list test", async function () { const resArray = new Array(); - for await (let item of client.operations.list()) { + for await (const item of client.operations.list()) { resArray.push(item); } assert.notEqual(resArray.length, 0); diff --git a/sdk/dell/arm-dell-storage/test/public/utils/recordedClient.ts b/sdk/dell/arm-dell-storage/test/public/utils/recordedClient.ts index 14dcd9fa397c..285e4643c45e 100644 --- a/sdk/dell/arm-dell-storage/test/public/utils/recordedClient.ts +++ b/sdk/dell/arm-dell-storage/test/public/utils/recordedClient.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { Recorder, RecorderStartOptions, VitestTestContext } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, VitestTestContext } from "@azure-tools/test-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; const replaceableVariables: Record = { SUBSCRIPTION_ID: "azure_subscription_id", diff --git a/sdk/dell/arm-dell-storage/tsp-location.yaml b/sdk/dell/arm-dell-storage/tsp-location.yaml index 878c42be61b5..e3a07e9917b6 100644 --- a/sdk/dell/arm-dell-storage/tsp-location.yaml +++ b/sdk/dell/arm-dell-storage/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/dell/Dell.Storage.Management -commit: 44714e26c29f671c94daec94cfc421086b92a2e6 +commit: fb25c38a86b35dcf8bb03eaaa7844643bd92c5a2 repo: Azure/azure-rest-api-specs additionalDirectories: