FeatureStoreSettings Class

Feature Store Settings

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
FeatureStoreSettings

Constructor

FeatureStoreSettings(*, compute_runtime: ComputeRuntime | None = None, offline_store_connection_name: str | None = None, online_store_connection_name: str | None = None)

Parameters

Name Description
compute_runtime
Required

The spark compute runtime settings. defaults to None.

offline_store_connection_name
Required

The offline store connection name. Defaults to None.

online_store_connection_name
Required

The online store connection name. Defaults to None.

Keyword-Only Parameters

Name Description
compute_runtime
Required
offline_store_connection_name
Required
online_store_connection_name
Required

Examples

Instantiating FeatureStoreSettings


   from azure.ai.ml.entities import ComputeRuntime, FeatureStoreSettings

   offline_store_target = f"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Storage/storageAccounts/{storage_account_name}/blobServices/default/containers/{storage_file_system_name}"

   online_store_target = f"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Cache/Redis/{redis_cache_name}"

   FeatureStoreSettings(
       compute_runtime=ComputeRuntime(spark_runtime_version="3.3.0"),
       offline_store_connection_name=offline_store_target,
       online_store_connection_name=online_store_target,
   )