IntellectualProperty クラス

Note

これは試験段階のクラスであり、いつでも変更される可能性があります。 詳細については、https://aka.ms/azuremlexperimental を参照してください。

知的財産設定の定義。

継承
azure.ai.ml.entities._mixins.RestTranslatableMixin
IntellectualProperty

コンストラクター

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

キーワードのみのパラメーター

名前 説明
publisher

公開元の名前。

protection_level

資産保護レベル。 使用できる値は、IPProtectionLevel.ALL ("all") と IPProtectionLevel.NONE ("none") です。 既定値は IPProtectionLevel.ALL ("all") です。

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),
   )