swagger has identity, example also has it.
https://github.com/joannajiang112628/azure-rest-api-specs/blob/c9b373e139e99eb283da5a46196257a57b31e9fe/specification/communication/resource-manager/Microsoft.Communication/preview/2023-04-01-preview/CommunicationServices.json#L824-L851
Also, generated interface does have WithIdentity and WithLinkedDomain.
But sample generated in SDK seems without the identity and linkedDomains. Only tag exists.
public static void updateResourceToAddAUserAssignedManagedIdentity(
com.azure.resourcemanager.communication.CommunicationManager manager) {
CommunicationServiceResource resource =
manager
.communicationServices()
.getByResourceGroupWithResponse(
"MyResourceGroup", "MyCommunicationResource", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withTags(mapOf("newTag", "newVal")).apply();
}
swagger has
identity, example also has it.https://github.com/joannajiang112628/azure-rest-api-specs/blob/c9b373e139e99eb283da5a46196257a57b31e9fe/specification/communication/resource-manager/Microsoft.Communication/preview/2023-04-01-preview/CommunicationServices.json#L824-L851
Also, generated interface does have
WithIdentityandWithLinkedDomain.But sample generated in SDK seems without the
identityandlinkedDomains. Onlytagexists.