public virtual void GlobalTeardown() { if (_databaseAccountIdentifier != null) { ArmClient.GetDatabaseAccount(_databaseAccountIdentifier).Delete(WaitUntil.Completed); } }
public async Task SetUp() { // need to overwrite with the resource group fetched by ArmClient, otherwise it won't be recorded _resourceGroup = await ArmClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccount = await ArmClient.GetDatabaseAccount(_databaseAccountIdentifier).GetAsync(); }
public async Task SetUp() { _databaseAccount = await ArmClient.GetDatabaseAccount(_databaseAccountIdentifier).GetAsync(); }