az support in-subscription file
Note
This reference is part of the support extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az support in-subscription file command. Learn more about extensions.
File operations for a specified subscription.
Commands
Name | Description | Type | Status |
---|---|---|---|
az support in-subscription file list |
List all the Files information under a workspace for an Azure subscription. |
Extension | GA |
az support in-subscription file show |
Get details of a specific file in a work space. |
Extension | GA |
az support in-subscription file upload |
Uploads a file to a workspace for the specified subscription. |
Extension | GA |
az support in-subscription file list
List all the Files information under a workspace for an Azure subscription.
az support in-subscription file list --file-workspace-name
[--max-items]
[--next-token]
Examples
List all the files within a file-workspace for a specified subscription (different from the account subscription)
az support in-subscription file list --file-workspace-name "TestFileWorkspaceName" --subscription "TestSubscription"
List all the files within a file-workspace for a specified subscription (same as the account subscription)
az support in-subscription file list --file-workspace-name "TestFileWorkspaceName"
Required Parameters
File Workspace Name.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az support in-subscription file show
Get details of a specific file in a work space.
az support in-subscription file show --file-name
--file-workspace-name
Examples
Show a file within a file-workspace for a specified subscription (different from the account subscription)
az support in-subscription file show --subscription "TestSubscription" --file-workspace-name "TestWorkspaceName" --file-name "FileName"
Show a file within a file-workspace for a specified subscription (same as the account subscription)
az support in-subscription file show --file-workspace-name "TestWorkspaceName" --file-name "FileName"
Required Parameters
File Name.
File Workspace Name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az support in-subscription file upload
Uploads a file to a workspace for the specified subscription.
az support in-subscription file upload --file-path
--file-workspace-name
Examples
Upload a file to a file workspace (different from the account subscription).
az support in-subscription file upload \
--file-workspace-name "TestFileWorkspaceName" \
--file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt" \
--subscription "TestSubscription"
Upload a file to a to an Azure support ticket (different from the account subscription).
az support in-subscription file upload \
--file-workspace-name "2300000000000358" \
--file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt" \
--subscription "TestSubscription"
Upload a file to a file workspace (same as the account subscription).
az support in-subscription file upload \
--file-workspace-name "TestFileWorkspaceName" \
--file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt"
Upload a file to an Azure support ticket (same as the account subscription).
az support in-subscription file upload \
--file-workspace-name "2300000000000358" \
--file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt"
Required Parameters
File Path.
File Workspace Name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.