IntellectualProperty Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Intellectual property settings definition.

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
IntellectualProperty

Constructor

IntellectualProperty(*, publisher: str | None = None, protection_level: IPProtectionLevel = IPProtectionLevel.ALL)

Keyword-Only Parameters

Name Description
publisher

The publisher's name.

protection_level

Asset Protection Level. Accepted values are IPProtectionLevel.ALL ("all") and IPProtectionLevel.NONE ("none"). Defaults to IPProtectionLevel.ALL ("all").

Examples

Configuring intellectual property settings on a CommandComponent.


   from azure.ai.ml.constants import IPProtectionLevel
   from azure.ai.ml.entities import CommandComponent, IntellectualProperty

   component = CommandComponent(
       name="random_name",
       version="1",
       environment="azureml:AzureML-Minimal:1",
       command="echo hello",
       intellectual_property=IntellectualProperty(publisher="contoso", protection_level=IPProtectionLevel.ALL),
   )