Obtaining DLI Group Resources
Run the ma-cli dli-job get-resource command to obtain details about DLI resources, such as the resource name and resource type.
$ ma-cli dli-job get-resource -h Usage: ma-cli dli-job get-resource [OPTIONS] Get DLI resource info. Example: # Get DLI resource details by resource name ma-cli dli-job get-resource --resource-name ${resource_name} Options: -n, --resource-name TEXT Get DLI resource details by resource name. -k, --kind [jar|pyFile|file|modelFile] DLI resources type. -g, --group TEXT Get DLI resources by group. -tags, --tags TEXT Get DLI resources by tags. -C, --config-file TEXT Configure file path for authorization. -D, --debug Debug Mode. Shows full stack trace when error occurs. -P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT". -H, -h, --help Show this message and exit.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
-n / --resource-name |
String |
No |
Obtain details about DLI group resources by resource name. |
-k / --kind |
String |
No |
Obtain details about DLI group resources by resource type, which can be JAR, PyFile, file, or modelFile. |
-g / --group |
String |
No |
Obtain details about DLI group resources by group name. |
-tags / --tags |
String |
No |
Obtain details about DLI group resources by resource tag. |
Examples
Obtain all DLI group resources.
ma-cli dli-job get-resource
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot