UserIdentityConfiguration Class
User identity configuration.
- Inheritance
-
azure.ai.ml.entities._credentials._BaseIdentityConfigurationUserIdentityConfiguration
Constructor
UserIdentityConfiguration()
Examples
Configuring a UserIdentityConfiguration for a command().
from azure.ai.ml import Input, command
from azure.ai.ml.constants import AssetTypes
from azure.ai.ml.entities import UserIdentityConfiguration
job = command(
code="./sdk/ml/azure-ai-ml/samples/src",
command="python read_data.py --input_data ${{inputs.input_data}}",
inputs={"input_data": Input(type=AssetTypes.MLTABLE, path="./sample_data")},
environment="AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:1",
compute="cpu-cluster",
identity=UserIdentityConfiguration(),
)
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: Any, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python