שתף באמצעות


az support no-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 no-subscription file command. Learn more about extensions.

File operations for no subscription.

Commands

Name Description Type Status
az support no-subscription file list

List all the Files information under a workspace.

Extension GA
az support no-subscription file show

Get details of a specific file in a work space.

Extension GA
az support no-subscription file upload

Uploads a file to a workspace.

Extension GA

az support no-subscription file list

List all the Files information under a workspace.

az support no-subscription file list --file-workspace-name
                                     [--max-items]
                                     [--next-token]

Examples

List all the files within a file-workspace

az support no-subscription file list --file-workspace "TestFileWorkspaceName"

Required Parameters

--file-workspace-name

File Workspace Name.

Optional Parameters

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az support no-subscription file show

Get details of a specific file in a work space.

az support no-subscription file show --file-name
                                     --file-workspace-name

Examples

Show a file within a file-workspace

az support no-subscription file show --file-workspace-name "TestWorkspaceName" --file-name "FileName"

Required Parameters

--file-name

File Name.

--file-workspace-name

File Workspace Name.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az support no-subscription file upload

Uploads a file to a workspace.

az support no-subscription file upload --file-path
                                       --file-workspace-name

Examples

Upload a file to a file workspace.

az support no-subscription file upload \
  --file-workspace-name "TestFileWorkspaceName" \
  --file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt"

Upload a file to an Azure support ticket..

az support no-subscription file upload \
  --file-workspace-name "2300000000000358" \
  --file-path "C:/Users/TestUsers/TestFolder/ExampleFile.txt"

Required Parameters

--file-path

File Path.

--file-workspace-name

File Workspace Name.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.