code: public DomainOwnershipIdentifierInner getOwnershipIdentifier(String resourceGroupName, String domainName, String name) {
          return getOwnershipIdentifierWithServiceResponseAsync(resourceGroupName, domainName, name).toBlocking().single().body();
      }
docs: Get ownership identifier for domain.
  Get ownership identifier for domain.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param domainName Name of domain.
  @param name Name of identifier.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws DefaultErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DomainOwnershipIdentifierInner object if successful.