Class ServiceConfig.Azdls

java.lang.Object
org.apache.opendal.ServiceConfig.Azdls
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Azdls extends Object implements ServiceConfig
Configuration for service azdls.
  • Field Details

    • accountKey

      public final String accountKey

      Account key of this backend.

      • required for shared_key authentication
    • accountName

      public final String accountName

      Account name of this backend.

    • authorityHost

      public final String authorityHost

      authority_host The authority host of the service principal.

      • required for client_credentials authentication
      • default value: https://login.microsoftonline.com
    • clientId

      public final String clientId

      client_id The client id of the service principal.

      • required for client_credentials authentication
    • clientSecret

      public final String clientSecret

      client_secret The client secret of the service principal.

      • required for client_credentials authentication
    • enableHns

      public final Boolean enableHns

      Whether hierarchical namespace (HNS) is enabled for the storage account. When enabled, recursive deletion can use pagination to avoid timeouts on large directories.

      • default value: false
    • endpoint

      public final String endpoint

      Endpoint of this backend.

    • filesystem

      @NonNull public final @NonNull String filesystem

      Filesystem name of this backend.

    • root

      public final String root

      Root of this backend.

    • sasToken

      public final String sasToken

      sas_token The shared access signature token.

      • required for sas authentication
    • tenantId

      public final String tenantId

      tenant_id The tenant id of the service principal.

      • required for client_credentials authentication
  • Constructor Details

    • Azdls

      public Azdls()
  • Method Details

    • scheme

      public String scheme()
      Description copied from interface: ServiceConfig
      The scheme of the service.
      Specified by:
      scheme in interface ServiceConfig
      Returns:
      the scheme
    • configMap

      public Map<String,String> configMap()
      Description copied from interface: ServiceConfig
      Convert the structured config to a type erased config map.

      A map-valued field becomes one entry, under the field's option name, whose value is a JSON object string, such as assume_role_session_tags = {"Team":"data"}. The map's entries are not flattened into top-level entries. Its keys are sorted, an empty map becomes {}, and an unset field has no entry.

      Specified by:
      configMap in interface ServiceConfig
      Returns:
      the config map