MaterializationStore Class
Materialization Store
- Inheritance
-
builtins.objectMaterializationStore
Constructor
MaterializationStore(type: str, target: str)
Parameters
Name | Description |
---|---|
type
Required
|
The type of the materialization store. |
target
Required
|
The ARM ID of the materialization store target. |
Examples
Configuring a Materialization Store
from azure.ai.ml.entities import ManagedIdentityConfiguration, MaterializationStore
gen2_container_arm_id = "/subscriptions/{sub_id}/resourceGroups/{rg}/providers/Microsoft.Storage/storageAccounts/{account}/blobServices/default/containers/{container}".format(
sub_id=subscription_id,
rg=resource_group,
account=storage_account_name,
container=storage_file_system_name,
)
offline_store = MaterializationStore(
type="azure_data_lake_gen2",
target=gen2_container_arm_id,
)
# Must define materialization identity when defining offline/online store.
fs = FeatureStore(
name=featurestore_name,
offline_store=offline_store,
materialization_identity=ManagedIdentityConfiguration(
client_id="<YOUR-UAI-CLIENT-ID>",
resource_id="<YOUR-UAI-RESOURCE-ID>",
principal_id="<YOUR-UAI-PRINCIPAL-ID>",
),
)
Attributes
target
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python