Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataLakePathClient

Package version

A DataLakePathClient represents a URL to the Azure Storage path (directory or file).

Hierarchy

Index

Constructors

constructor

Properties

accountName

accountName: string

Protected blobEndpointUrl

blobEndpointUrl: string

Encoded URL string value for corresponding blob endpoint.

credential

credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential

Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the @azure/identity package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.

Protected dfsEndpointUrl

dfsEndpointUrl: string

Encoded URL string value for corresponding dfs endpoint.

Protected isHttps

isHttps: boolean

Protected pipeline

pipeline: Pipeline

Request policy pipeline.

internal

Protected storageClientContext

storageClientContext: StorageClientContext

StorageClient is a reference to protocol layer operations entry, which is generated by AutoRest generator.

Protected storageClientContextToBlobEndpoint

storageClientContextToBlobEndpoint: StorageClientContext

storageClientContextWithBlobEndpoint is a reference to protocol layer operations entry, which is generated by AutoRest generator, with its url pointing to the Blob endpoint.

url

url: string

Encoded URL string value.

Accessors

fileSystemName

  • get fileSystemName(): string

name

  • get name(): string

Methods

create

createIfNotExists

delete

deleteIfExists

exists

  • Returns true if the Data Lake file represented by this client exists; false otherwise.

    NOTE: use this function with care since an existing file might be deleted by other clients or applications. Vice versa new files might be added by other clients or applications after this function completes.

    Parameters

    Returns Promise<boolean>

getAccessControl

getDataLakeLeaseClient

getProperties

move

removeAccessControlRecursive

setAccessControl

setAccessControlRecursive

setHttpHeaders

setMetadata

setPermissions

toDirectoryClient

toFileClient

updateAccessControlRecursive

Generated using TypeDoc