AmlTokenConfiguration Class
AzureML Token identity configuration.
- Inheritance
-
azure.ai.ml.entities._credentials._BaseIdentityConfigurationAmlTokenConfiguration
Constructor
AmlTokenConfiguration()
Examples
Configuring an AmlTokenConfiguration for a command().
from azure.ai.ml import Input, command
from azure.ai.ml.constants import AssetTypes
from azure.ai.ml.entities._credentials import AmlTokenConfiguration
node = command(
description="description",
environment="AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:33",
code="./tests/test_configs/training/",
command="python read_data.py --input_data ${{inputs.input_data}}",
inputs={"input_data": Input(type=AssetTypes.MLTABLE, path="./sample_data")},
display_name="builder_command_job",
compute="testCompute",
experiment_name="mfe-test1-dataset",
identity=AmlTokenConfiguration(),
)
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Azure SDK for Python