Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get nsg of vm az

vm_name="myvm"
vm_rg="myrg"
nic_id=`az vm nic list -g $vm_rg --vm-name $vm_name --query "[].{id:id}"`
# echo to make sure we're getting the right value. 
echo $nic_id
Comment

PREVIOUS NEXT
Code Example
Shell :: ssh no host key files found 
Shell :: Kubernetes: Remove taint from node 
Shell :: check number of bridges available jitsi 
Shell :: hide npm fund 
Shell :: Error: Error: rpmdb open failed 
Shell :: install codium Fedora 
Shell :: git cherry pick changes of only one file from commit 
Shell :: npm passport facebook 
Shell :: npm uppy 
Shell :: git change upstream url 
Shell :: save admin credentials for program 
Shell :: download ubports-installer 
Shell :: wsl networking 
Shell :: centos Display information about users who are currently logged in. 
Shell :: EFS mounting on EC2 Instances 
Shell :: ARCH_LINUX : /oldroot BUG 
Shell :: sns.lineplot 
Shell :: post clone remove line in file 
Shell :: how to close firebase emulator hosting 
Shell :: zsh: permiso denegado: /home/sebastian/.bash_aliases 
Shell :: git push exisiting rep 
Shell :: alpine docker add user and group 
Shell :: xfce4-notes install 
Shell :: GThumb is a really nice image viewer with basic editing tools for ubuntu 
Shell :: comand for insalling playonlinux 
Shell :: Because you can never quite anticipate in which environment your particular zsh will be launched in, it is good practice to reset the options at the beginning of your script with the emulate command: 
Shell :: how to wait until a triggered pipeline completed gitlabci 
Shell :: install kubernetes plg 
Shell :: freetype2 linux install 
Shell :: Fastp github 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =