diff --git a/sdk/storage/storage-file-datalake/review/storage-file-datalake.api.md b/sdk/storage/storage-file-datalake/review/storage-file-datalake.api.md index d7c87ef2c8c7..b0efd3620da3 100644 --- a/sdk/storage/storage-file-datalake/review/storage-file-datalake.api.md +++ b/sdk/storage/storage-file-datalake/review/storage-file-datalake.api.md @@ -1358,16 +1358,6 @@ export interface PathSetAccessControlOptions extends CommonOptions { owner?: string; } -// @public -export enum PathSetAccessControlRecursiveMode { - // (undocumented) - Modify = "modify", - // (undocumented) - Remove = "remove", - // (undocumented) - Set = "set" -} - // @public type PathSetAccessControlResponse = PathSetAccessControlHeaders & { _response: coreHttp.HttpResponse & { diff --git a/sdk/storage/storage-file-datalake/src/clients.ts b/sdk/storage/storage-file-datalake/src/clients.ts index 32e412e5f220..75d411ef7015 100644 --- a/sdk/storage/storage-file-datalake/src/clients.ts +++ b/sdk/storage/storage-file-datalake/src/clients.ts @@ -53,7 +53,6 @@ import { PathRenameMode, PathResourceType, PathSetAccessControlOptions, - PathSetAccessControlRecursiveMode, PathSetAccessControlResponse, PathSetHttpHeadersOptions, PathSetHttpHeadersResponse, @@ -64,6 +63,7 @@ import { RemovePathAccessControlItem, FileQueryOptions } from "./models"; +import { PathSetAccessControlRecursiveMode } from "./models.internal"; import { newPipeline, Pipeline, StoragePipelineOptions } from "./Pipeline"; import { StorageClient } from "./StorageClient"; import { diff --git a/sdk/storage/storage-file-datalake/src/models.internal.ts b/sdk/storage/storage-file-datalake/src/models.internal.ts new file mode 100644 index 000000000000..fbf65c0191af --- /dev/null +++ b/sdk/storage/storage-file-datalake/src/models.internal.ts @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +export { PathSetAccessControlRecursiveMode } from "./generated/src/models"; diff --git a/sdk/storage/storage-file-datalake/src/models.ts b/sdk/storage/storage-file-datalake/src/models.ts index ac534b6c18fe..bddf7b771b8b 100644 --- a/sdk/storage/storage-file-datalake/src/models.ts +++ b/sdk/storage/storage-file-datalake/src/models.ts @@ -49,8 +49,7 @@ export { PathFlushDataResponse as FileFlushResponse, PathFlushDataResponse as FileUploadResponse, PathGetPropertiesAction, - PathRenameMode, - PathSetAccessControlRecursiveMode + PathRenameMode } from "./generated/src/models"; export { PathCreateResponse };