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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python