FeatureStoreEntityOperations 類別

FeatureStoreEntityOperations。

您不應該直接具現化此類別。 相反地,您應該建立 MLClient 實例,為您具現化它,並將它附加為屬性。

繼承
azure.ai.ml._scope_dependent_operations._ScopeDependentOperations
FeatureStoreEntityOperations

建構函式

FeatureStoreEntityOperations(operation_scope: OperationScope, operation_config: OperationConfig, service_client: AzureMachineLearningServices, **kwargs: Dict)

參數

operation_scope
operation_config
service_client

方法

archive

封存 FeatureStoreEntity 資產。

begin_create_or_update

建立或更新 FeatureStoreEntity

get

取得指定的 FeatureStoreEntity 資產。

list

列出工作區的 FeatureStoreEntity 資產。

預設值:ACTIVE_ONLY。 :p aramtype list_view_type: Optional[ListViewType] :return: Iterator,例如 FeatureStoreEntity 物件的實例:rtype: ~azure.core.paging.ItemPaged[FeatureStoreEntity]

restore

還原封存的 FeatureStoreEntity 資產。

archive

封存 FeatureStoreEntity 資產。

archive(name: str, version: str, **kwargs: Dict) -> None

參數

name
str
必要

FeatureStoreEntity 資產的名稱。

version
str
必要

FeatureStoreEntity 資產的版本。

傳回

begin_create_or_update

建立或更新 FeatureStoreEntity

begin_create_or_update(feature_store_entity: FeatureStoreEntity, **kwargs: Dict) -> LROPoller[FeatureStoreEntity]

參數

feature_store_entity
FeatureStoreEntity
必要

FeatureStoreEntity 定義。

傳回

會傳回 FeatureStoreEntity 的 LROPoller 實例。

傳回類型

get

取得指定的 FeatureStoreEntity 資產。

get(name: str, version: str, **kwargs: Dict) -> FeatureStoreEntity

參數

name
str
必要

FeatureStoreEntity 資產的名稱。

version
str
必要

FeatureStoreEntity 資產的版本。

傳回

FeatureStoreEntity 資產物件。

傳回類型

例外狀況

如果無法成功識別及擷取 FeatureStoreEntity,就會引發 。 錯誤訊息中將會提供詳細資料。

list

列出工作區的 FeatureStoreEntity 資產。

預設值:ACTIVE_ONLY。 :p aramtype list_view_type: Optional[ListViewType] :return: Iterator,例如 FeatureStoreEntity 物件的實例:rtype: ~azure.core.paging.ItemPaged[FeatureStoreEntity]

list(name: str | None = None, *, list_view_type: ListViewType = ListViewType.ACTIVE_ONLY, **kwargs: Dict) -> ItemPaged[FeatureStoreEntity]

參數

name
Optional[str]
必要

特定 FeatureStoreEntity 資產的名稱,選擇性。

list_view_type

檢視類型,例如) 封存的 FeatureStoreEntity 資產,包括/排除 (。

restore

還原封存的 FeatureStoreEntity 資產。

restore(name: str, version: str, **kwargs: Dict) -> None

參數

name
str
必要

FeatureStoreEntity 資產的名稱。

version
str
必要

FeatureStoreEntity 資產的版本。

傳回