Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace CosmosCreateSproc
{
class Program
{
static async Task Main(string[] args)
{
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
#####################
## EXERCISE 2
#####################
# Authenticate to Azure
Connect-AzAccount
# List the subscriptions your account has access to
Get-AzSubscription