Esempio n. 1
0
        public async Task ClearAndInitialize()
        {
            if (Mode == RecordedTestMode.Record || Mode == RecordedTestMode.Playback)
            {
                await InitializeClients();

                AsyncPageable <TenantResource> tenantResourcesResponse = ArmClient.GetTenants().GetAllAsync();
                List <TenantResource>          tenantResources         = await tenantResourcesResponse.ToEnumerableAsync();

                Tenant = tenantResources.ToArray()[0];
            }
        }