Registry 類別

Azure ML 登錄。

繼承
azure.ai.ml.entities._resource.Resource
Registry

建構函式

Registry(*, name: str, location: str, identity: IdentityConfiguration | None = None, tags: Dict[str, str] | None = None, public_network_access: str | None = None, discovery_url: str | None = None, intellectual_property: IntellectualProperty | None = None, managed_resource_group: str | None = None, mlflow_registry_uri: str | None = None, replication_locations: List[RegistryRegionDetails] | None, **kwargs: Any)

參數

名稱 Description
name
必要
str

登錄的名稱。 必須是全域唯一且不可變的。

location
必要
str

此登錄資源所在的位置。

identity
必要
<xref:ManagedServiceIdentity>

登錄的系統受控識別

tags
必要

登錄的標記。

public_network_access
必要
str

是否允許公用端點連線。

discovery_url
必要
str

登錄的後端服務基底 URL。

intellectual_property
必要

實驗 智慧財產權發行者。

managed_resource_group
必要
str

為登錄建立的受控資源群組。

mlflow_registry_uri
必要
str

登錄的 Ml 流量追蹤 URI。

region_details
必要

登錄所在的每個區域詳細資料。

kwargs
必要

其他組態參數的字典。

僅限關鍵字參數

名稱 Description
name
必要
location
必要
identity
必要
tags
必要
public_network_access
必要
discovery_url
必要
intellectual_property
必要
managed_resource_group
必要
mlflow_registry_uri
必要
replication_locations
必要

方法

dump

以 yaml 格式將登錄規格傾印到檔案中。

dump

以 yaml 格式將登錄規格傾印到檔案中。

dump(dest: str | PathLike | IO, **kwargs: Any) -> None

參數

名稱 Description
dest
必要
str

將建立新檔案作為目標的本機檔案路徑,如果檔案存在,則會引發例外狀況。

屬性

base_path

資源的基底路徑。

傳回

類型 Description
str

資源的基底路徑。

creation_context

資源的建立內容。

傳回

類型 Description

資源的建立中繼資料。

id

資源識別碼。

傳回

類型 Description

資源的全域識別碼,Azure Resource Manager (ARM) 識別碼。