ResourceConfiguration Class
Resource configuration for a job.
This class should not be instantiated directly. Instead, use its subclasses.
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinResourceConfigurationazure.ai.ml.entities._mixins.DictMixinResourceConfiguration
Constructor
ResourceConfiguration(*, instance_count: int | None = None, instance_type: str | None = None, properties: Dict[str, Any] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
instance_count
|
The number of instances to use for the job. |
instance_type
|
The type of instance to use for the job. |
properties
|
The resource's property dictionary. |
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python