Class ServiceConfig.Azfile

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

public static class ServiceConfig.Azfile extends Object implements ServiceConfig
Configuration for service azfile.
  • Field Details

    • accountKey

      public final String accountKey

      The account key for azfile.

    • accountName

      public final String accountName

      The account name for azfile.

    • authorityHost

      public final String authorityHost

      The authority host of the service principal for Microsoft Entra ID authentication.

      Defaults to https://login.microsoftonline.com.

    • clientId

      public final String clientId

      The client id of the service principal for Microsoft Entra ID authentication.

    • clientSecret

      public final String clientSecret

      The client secret of the service principal for Microsoft Entra ID authentication.

    • endpoint

      public final String endpoint

      The endpoint for azfile.

    • root

      public final String root

      The root path for azfile.

    • sasToken

      public final String sasToken

      The sas token for azfile.

    • shareName

      @NonNull public final @NonNull String shareName

      The share name for azfile.

    • skipSignature

      public final Boolean skipSignature

      Skip signature will skip loading credentials and signing requests.

    • tenantId

      public final String tenantId

      The tenant id of the service principal for Microsoft Entra ID authentication.

  • Constructor Details

    • Azfile

      public Azfile()
  • 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