Scroll to navigation

azuremetadata.1() azuremetadata.1()

NAME

azuremetadata - Query Microsoft Azure metadata server

SYNOPSIS

azuremetadata [option]

DESCRIPTION

azuremetadata is used to query Microsoft Azure metadata server. The available data is documented at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service . The tool allows to filter specific metadata fields via command line options, which are generated dynamically based on the data available for each API version.

STATIC OPTIONS

Specify metadata API version to be queried. By default the oldest available version is used (2017-03-01).

Print all available command line options to standard out.

Output the result as XML.

Output the result as JSON.

Output file path. If not set, the output is printed to STDOUT.

Path to the device to read disk tag from. If not set, disk tag will be read from the root device.

DYNAMIC OPTIONS

Dynamic command line options are listed in --help output. An API version can be specified, the produced dynamic options list will be specific to that API version.

EXAMPLES

azuremetadata --api 2019-08-15

azuremetadata --compute --name

azuremetadata --network --interface=1 --ipv4 --ipAddress --publicIpAddress

AUTHOR

Ivan Kapelyukhin (ikapelyukhin@suse.com)