你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AssignedUserConfiguration Class
Settings to create a compute resource on behalf of another user.
- Inheritance
-
azure.ai.ml.entities._mixins.DictMixinAssignedUserConfiguration
Constructor
AssignedUserConfiguration(*, user_tenant_id: str, user_object_id: str)
Parameters
Name | Description |
---|---|
user_tenant_id
Required
|
Tenant ID of the user to assign the compute target to. |
user_object_id
Required
|
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