ref https://github.com/Azure/autorest.java/issues/2715 the only remain gap (from original issue) is azure-core v1
ref Azure/autorest.java#2715
the only remain gap (from original issue) is azure-core v1