az sphere image-package
Note
This reference is part of the azure-sphere extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az sphere image-package command. Learn more about extensions.
Manage image packages.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az sphere image-package pack-application |
Create an application image package. |
Extension | GA |
| az sphere image-package show |
Show details of a given image package. |
Extension | GA |
az sphere image-package pack-application
Create an application image package.
az sphere image-package pack-application --output-file
--package-directory
[--application-manifest]
[--executables]
[--hardware-definitions]
Examples
Create an application image package.
az sphere image-package pack-application --output-file NewImage.imagepackage --package-directory MyDirectory
Required Parameters
Path to the output filename for the resulting image package. You can provide a relative or absolute path.
The input directory to package. Must contain a file named 'app_manifest.json' which is writeable.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Path to the application manifest. This can be a JSON file or a directory which contains app_manifest.json. You can provide a relative or absolute path.
An optional space-separated list of paths underneath the image file system root that will be marked as executable. The EntryPoint from 'app_manifest.json' will always be marked executable.
An optional space-separated list of paths to the directories containing hardware definition (JSON) files. The values from the files are used to map peripheral names in app_manifest.json to underlying values. You can provide a relative or absolute path.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az sphere image-package show
Show details of a given image package.
az sphere image-package show --image-package
Examples
Show details of an image package.
az sphere image-package show --image-package MyImage.imagepackage
Required Parameters
Path to the image package file to show details for. You can provide a relative or absolute path.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |