Partager via


az arcdata resource-kind

Note

This reference is part of the arcdata extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az arcdata resource-kind command. Learn more about extensions.

Resource-kind commands to define and template custom resources on your cluster.

Commands

Name Description Type Status
az arcdata resource-kind get

Get the Arc resource-kind's template file.

Extension GA
az arcdata resource-kind list

List the available custom resource kinds for Arc that can be defined and created.

Extension GA

az arcdata resource-kind get

Get the Arc resource-kind's template file.

az arcdata resource-kind get --kind
                             [--dest]

Examples

Example command for getting an Arc resource-kind's CRD template file.

az arcdata resource-kind get --kind SqlManagedInstance

Required Parameters

--kind -k

The kind of arc resource you want the template file for.

Optional Parameters

--dest -d

The directory where you"d like to place the template files.

Default value: template
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 arcdata resource-kind list

List the available custom resource kinds for Arc that can be defined and created.

List the available custom resource kinds for Arc that can be defined and created. After listing, you can proceed to getting the template file needed to define or create that custom resource.

az arcdata resource-kind list

Examples

Example command for listing the available custom resource kinds for Arc.

az arcdata resource-kind list
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.