You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`$schema`| string | The YAML schema. If you use the Azure Machine Learning VS Code extension to author the YAML file, including `$schema` at the top of your file enables you to invoke schema and resource completions. |||
31
31
|`type`| const | The type of component. |`command`|`command`|
32
-
|`name`| string |**Required.** Name of the component. |||
32
+
|`name`| string |**Required.** Name of the component. Must start with lowercase letter. Allowed characters are lowercase letters, numbers, and underscore(_). Maximum length is 255 characters.|||
33
33
|`version`| string | Version of the component. If omitted, Azure ML will autogenerate a version. |||
34
34
|`display_name`| string | Display name of the component in the studio UI. Can be non-unique within the workspace. |||
35
35
|`description`| string | Description of the component. |||
@@ -72,19 +72,19 @@ The source JSON schema can be found at https://azuremlschemas.azureedge.net/late
72
72
73
73
| Key | Type | Description | Allowed values | Default value |
|`type`| string |**Required.** The type of component input. <br><br> Use `type: uri_file/uri_folder` if you want the runtime job input value to be a data URI or registered Azure ML data asset when the component is run.|`number`, `integer`, `boolean`, `string`, `uri_file`, `uri_folder`||
75
+
|`type`| string |**Required.** The type of component input. [Learn more about data access](concept-data.md)|`number`, `integer`, `boolean`, `string`, `uri_file`, `uri_folder`, `mltable`, `mlflow_model`||
76
76
|`description`| string | Description of the input. |||
77
77
|`default`| number, integer, boolean, or string | The default value for the input. |||
78
78
|`optional`| boolean | Whether the input is required. ||`false`|
79
79
|`min`| integer or number | The minimum accepted value for the input. This field can only be specified if `type` field is `number` or `integer`. ||
80
80
|`max`| integer or number | The maximum accepted value for the input. This field can only be specified if `type` field is `number` or `integer`. ||
81
-
|`enum`| array | The list of allowed values for the input. Not applicable if `type` field is `boolean`. ||
81
+
|`enum`| array | The list of allowed values for the input. Only applicable if `type` field is `string`.||
82
82
83
83
### Component output
84
84
85
85
| Key | Type | Description | Allowed values | Default value |
|`type`| string |**Required.** The type of component output. |`uri_folder`||
87
+
|`type`| string |**Required.** The type of component output. |`uri_file`, `uri_folder`, `mltable`, `mlflow_model`||
88
88
|`description`| string | Description of the output. |||
89
89
90
90
## Remarks
@@ -97,10 +97,15 @@ Command component examples are available in the examples GitHub repository. Sele
97
97
98
98
Examples are available in the [examples GitHub repository](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components). Several are shown below.
0 commit comments