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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python