public async Task GlobalSetup() { _resourceGroup = await GlobalClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccountIdentifier = (await CreateDatabaseAccount(SessionRecording.GenerateAssetName("dbaccount-"), DatabaseAccountKind.GlobalDocumentDB, new DatabaseAccountCapability("EnableTable"))).Id; await StopSessionRecordingAsync(); }
public async Task GlobalSetup() { _resourceGroup = await GlobalClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccountIdentifier = (await CreateDatabaseAccount(SessionRecording.GenerateAssetName("dbaccount-"), DatabaseAccountKind.MongoDB)).Id; await StopSessionRecordingAsync(); }
public async Task GlobalSetup() { _resourceGroup = await GlobalClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccount = await CreateDatabaseAccount(SessionRecording.GenerateAssetName("dbaccount-"), DatabaseAccountKind.MongoDB); _mongoDBDatabaseId = (await MongoDBDatabaseTests.CreateMongoDBDatabase(SessionRecording.GenerateAssetName("mongodb-"), null, _databaseAccount.GetMongoDBDatabases())).Id; await StopSessionRecordingAsync(); }
public async Task GlobalSetup() { _resourceGroup = await GlobalClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccount = await CreateDatabaseAccount(SessionRecording.GenerateAssetName("dbaccount-"), DatabaseAccountKind.GlobalDocumentDB, new DatabaseAccountCapability("EnableCassandra")); _cassandraKeyspaceId = (await CassandraKeyspaceTests.CreateCassandraKeyspace(SessionRecording.GenerateAssetName("cassandra-keyspace-"), null, _databaseAccount.GetCassandraKeyspaces())).Id; await StopSessionRecordingAsync(); }
public async Task GlobalSetup() { _resourceGroup = await GlobalClient.GetResourceGroup(_resourceGroupIdentifier).GetAsync(); _databaseAccount = await CreateDatabaseAccount(SessionRecording.GenerateAssetName("dbaccount-"), DatabaseAccountKind.GlobalDocumentDB); _sqlDatabase = await SqlDatabaseTests.CreateSqlDatabase(SessionRecording.GenerateAssetName("sql-db-"), null, _databaseAccount.GetSqlDatabases()); _sqlContainerId = (await SqlContainerTests.CreateSqlContainer(SessionRecording.GenerateAssetName("sql-container-"), null, _sqlDatabase.GetSqlContainers())).Id; await StopSessionRecordingAsync(); }