Registry Class

Azure ML registry.

Inheritance
azure.ai.ml.entities._resource.Resource
Registry

Constructor

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)

Parameters

Name Description
name
Required
str

Name of the registry. Must be globally unique and is immutable.

location
Required
str

The location this registry resource is located in.

identity
Required
<xref:ManagedServiceIdentity>

registry's System Managed Identity

tags
Required

Tags of the registry.

public_network_access
Required
str

Whether to allow public endpoint connectivity.

discovery_url
Required
str

Backend service base url for the registry.

intellectual_property
Required

Experimental Intellectual property publisher.

managed_resource_group
Required
str

Managed resource group created for the registry.

mlflow_registry_uri
Required
str

Ml flow tracking uri for the registry.

region_details
Required

Details of each region the registry is in.

kwargs
Required

A dictionary of additional configuration parameters.

Keyword-Only Parameters

Name Description
name
Required
location
Required
identity
Required
tags
Required
public_network_access
Required
discovery_url
Required
intellectual_property
Required
managed_resource_group
Required
mlflow_registry_uri
Required
replication_locations
Required

Methods

dump

Dump the registry spec into a file in yaml format.

dump

Dump the registry spec into a file in yaml format.

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

Parameters

Name Description
dest
Required
str

Path to a local file as the target, new file will be created, raises exception if the file exists.

Attributes

base_path

The base path of the resource.

Returns

Type Description
str

The base path of the resource.

creation_context

The creation context of the resource.

Returns

Type Description

The creation metadata for the resource.

id

The resource ID.

Returns

Type Description

The global ID of the resource, an Azure Resource Manager (ARM) ID.