You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dariuszSki Only Public IP addresses with basic SKU are available when using instance metadata service IMDS. Standard SKU is not supported. Please check this document for this information.
I can not retrieve the public IP through local metadata api endpoint.According to th eazure docs, I should.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service#metadata-apis
here is what I get in my VM when I run "curl -H Metadata:true "http://169.254.169.254/metadata/instance/network?api-version=2019-06-04" | jq"
[nfadmin@azuredemoapp ~]$ curl -H Metadata:true "http://169.254.169.254/metadata/instance/network?api-version=2019-06-04" | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 193 100 193 0 0 43263 0 --:--:-- --:--:-- --:--:-- 48250 { "interface": [ { "ipv4": { "ipAddress": [ { "privateIpAddress": "10.0.8.5", "publicIpAddress": "" } ], "subnet": [ { "address": "10.0.8.0", "prefix": "24" } ] }, "ipv6": { "ipAddress": [] }, "macAddress": "000D3A328570" } ] } [nfadmin@azuredemoapp ~]$
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: