IntellectualProperty Classe

Observação

Essa é uma classe experimental e pode mudar a qualquer momento. Consulte https://aka.ms/azuremlexperimental para obter mais informações.

Definição de configurações de propriedade intelectual.

Herança
azure.ai.ml.entities._mixins.RestTranslatableMixin
IntellectualProperty

Construtor

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

Parâmetros somente de palavra-chave

Nome Description
publisher

O nome do editor.

protection_level

Nível de Proteção de Ativos. Os valores aceitos são IPProtectionLevel.ALL ("all") e IPProtectionLevel.NONE ("none"). O padrão é IPProtectionLevel.ALL ("all").

Exemplos

Definindo as configurações de propriedade intelectual em um 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),
   )