Can we create auto-scaling and Loadbalancing in Azure

I am trying to provision Azure resources. I am not sure whether we have auto-scaling, load-balancing features available for azure similar to AWS. Could you please provide a sample snippet of code to create auto-scaling if we have such kind of features.