Package version:

  • Creates a new Pipeline object with Credential provided.

    Parameters

    • Optionalcredential: any

      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.

    • pipelineOptions: StoragePipelineOptions = {}

      Optional. Options.

    Returns Pipeline

    A new Pipeline object.