public BasicStorageStack() { var rg = new ResourceGroupBuilder("rg1") .Name("rg1") .Location("westeurope") .Build(); var storage = new StorageAccountBuilder("account1") .Name("account1") .In(rg) .Location("westeurope") .StorageV2() .StandardLRS() .Build(); }
public RandomIdStorageStack() { var rid = new RandomId("random1", new RandomIdArgs { ByteLength = 4 }); var context = new ResourceContext(rid.Hex); var rg = new ResourceGroupBuilder("rg1", context) .Name("rg1") .Location("westeurope") .Build(); var storage = new StorageAccountBuilder("account1", context) .Name("account1") .In(rg) .Location("westeurope") .StorageV2() .StandardLRS() .Build(); }