AssignedUserConfiguration Class

Settings to create a compute resource on behalf of another user.

Inheritance
azure.ai.ml.entities._mixins.DictMixin
AssignedUserConfiguration

Constructor

AssignedUserConfiguration(*, user_tenant_id: str, user_object_id: str)

Parameters

Name Description
user_tenant_id
Required
str

Tenant ID of the user to assign the compute target to.

user_object_id
Required
str

Object ID of the user to assign the compute target to.

Keyword-Only Parameters

Name Description
user_tenant_id
Required
user_object_id
Required

Examples

Creating an AssignedUserConfiguration.


   from azure.ai.ml.entities import AssignedUserConfiguration

   on_behalf_of_config = AssignedUserConfiguration(user_tenant_id="12345", user_object_id="abcdef")

Methods

get
has_key
items
keys
update
values

get

get(key: Any, default: Any | None = None) -> Any

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k: Any) -> bool

Parameters

Name Description
k
Required

items

items() -> list

keys

keys() -> list

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> list