This commit is contained in:
Hong Ooi 2019-08-05 14:16:46 +10:00
Родитель 04fc85e65b
Коммит 2bbaf578c8
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -42,7 +42,7 @@ If AzureVMmetadata is loaded in an R session that is \emph{not} running in an Az
## these will only be meaningful when run in an Azure VM ## these will only be meaningful when run in an Azure VM
# all compute metadata # all compute metadata
as.list(AzureVMmetadata::instance$compute) AzureVMmetadata::instance$compute
# VM name and ID # VM name and ID
AzureVMmetadata::instance$compute$name AzureVMmetadata::instance$compute$name
@ -54,14 +54,14 @@ AzureVMmetadata::instance$compute$resourceGroupName
AzureVMmetadata::instance$compute$resourceId AzureVMmetadata::instance$compute$resourceId
# all network metadata # all network metadata
as.list(AzureVMmetadata::instance$network) AzureVMmetadata::instance$network
# IP address details (IPv4) # IPv4 address details (1st network interface)
AzureVMmetadata::instance$network$interface$ipv4 AzureVMmetadata::instance$network$interface[[1]]$ipv4
} }
\seealso{ \seealso{
\link{is_azure_vm} \link{in_azure_vm}
\href{https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service}{Instance metadata service documentation} \href{https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service}{Instance metadata service documentation}