Description
Query/Question
I'm not able to set the recordsets in PrivateDnsZoneGroup when I call create with
networkManager.serviceClient().getPrivateDnsZoneGroups().createOrUpdate()
the struct only has withPrivateDnsZoneId and no withRecordsets()
when i use config.recordSets().addAll(recordSets) i get the error:
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.addAll(java.util.Collection)" because the return value of "com.azure.resourcemanager.network.models.PrivateDnsZoneConfig.recordSets()" is null
it seems like it's only a getter and not a setting in the description and its not initialized when i create with new com.azure.resourcemanager.network.models.PrivateDnsZoneConfig()
they're read-only for the zone group API?
Why is this not a Bug or a feature Request?
not sure if im missing the setter or its intended to be read only