private static async Task <string> CreateCompartment(IdentityClient client, string compartmentId, string name)
        {
            CreateCompartmentDetails createCompartmentDetails = new CreateCompartmentDetails
            {
                CompartmentId = compartmentId,
                Name          = name + "_dotnetSDK",
                Description   = name + " compartment"
            };
            CreateCompartmentRequest createCompartmentRequest = new CreateCompartmentRequest
            {
                CreateCompartmentDetails = createCompartmentDetails
            };
            CreateCompartmentResponse createCompartmentResponse = await client.CreateCompartment(createCompartmentRequest);

            // wait for compartment to be accessible
            await Task.Delay(10000);

            logger.Info($"{name} compartment created, ID: {createCompartmentResponse.Compartment.Id} and state is {createCompartmentResponse.Compartment.LifecycleState}");

            return(createCompartmentResponse.Compartment.Id);
        }